Skip to content

Commit

Permalink
adds contact us link
Browse files Browse the repository at this point in the history
  • Loading branch information
actlikewill committed Apr 29, 2024
1 parent 2902bcc commit 01a4778
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 43 deletions.
2 changes: 1 addition & 1 deletion ghalii/templates/peachjam/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h2 class="mb-4">Laws.Africa</h2>
officers and civil servants to deliver services efficiently and effectively.
{% endblocktrans %}
</p>
<h2>{% trans 'Contact Us' %}</h2>
<h2 id="contact">{% trans 'Contact Us' %}</h2>
<div>Bank Lane Trade Fair Site, Accra, Ghana</div>
<div>P.O. Box CT 6931</div>
<div>Cantonments</div>
Expand Down
10 changes: 9 additions & 1 deletion liiweb/templates/peachjam/_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@ <h5>Pocket Law</h5>
</div>
{% endif %}
<div>
<a href="{% url 'terms_of_use' %}">{% trans 'Terms of Use' %}</a>
<p class="my-1">
<a href="{% url 'terms_of_use' %}">{% trans 'Terms of Use' %}</a>
</p>
<p class="my-1">
<a href="{% url 'about' %}">{% trans 'About us' %}</a>
</p>
<p class="my-1">
<a href="{% url 'about' %}#contact">{% trans 'Contact us' %}</a>
</p>
</div>
{% endblock %}
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion namiblii/templates/peachjam/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 class="mb-4">Laws.Africa</h2>
officers and civil servants to deliver services efficiently and effectively.
{% endblocktrans %}
</p>
<h2>{% trans 'Contact Us' %}</h2>
<h2 id="contact">{% trans 'Contact Us' %}</h2>
<div>8th floor, Sanlam Building</div>
<div>Independence Avenue</div>
<div>Windhoek, Namibia</div>
Expand Down
2 changes: 1 addition & 1 deletion nigerialii/templates/peachjam/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2 class="mb-4">Laws.Africa</h2>
officers and civil servants to deliver services efficiently and effectively.
{% endblocktrans %}
</p>
<h2>{% trans 'Contact Us' %}</h2>
<h2 id="contact">{% trans 'Contact Us' %}</h2>
<div>
<a href="mailto:[email protected]"><span style="margin-right: .2rem"><i class="bi bi-envelope mr-2"></i></span>[email protected]</a>
</div>
Expand Down
83 changes: 45 additions & 38 deletions peachjam/templates/peachjam/_social_media.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,46 @@
{% load i18n static %}
<ul class="list-inline">
{% if PEACHJAM_SETTINGS.facebook_link %}
<li class="list-inline-item">
<a href="{{ PEACHJAM_SETTINGS.facebook_link }}"
target="_blank"
rel="noreferrer">
<img src="{% static 'images/facebook.svg' %}"
alt="Facebook"
width="40"
height="40"/>
</a>
</li>
{% endif %}
{% if PEACHJAM_SETTINGS.twitter_link %}
<li class="list-inline-item">
<a href="{{ PEACHJAM_SETTINGS.twitter_link }}"
target="_blank"
rel="noreferrer">
<img src="{% static 'images/twitter.svg' %}"
alt="Twitter"
width="40"
height="40"/>
</a>
</li>
{% endif %}
{% if PEACHJAM_SETTINGS.linkedin_link %}
<li class="list-inline-item">
<a href="{{ PEACHJAM_SETTINGS.linkedin_link }}"
target="_blank"
rel="noreferrer">
<img src="{% static 'images/linkedin.svg' %}"
alt="LinkedIn"
width="40"
height="40"/>
</a>
</li>
{% endif %}
</ul>
<div class="row align-items-center justify-content-between">
<div class="col-md-auto">
<a class="btn btn-primary" href="{% url 'about' %}#contact">Contact us</a>
</div>
<div class="col-md-auto">
<ul class="list-inline">
{% if PEACHJAM_SETTINGS.facebook_link %}
<li class="list-inline-item">
<a href="{{ PEACHJAM_SETTINGS.facebook_link }}"
target="_blank"
rel="noreferrer">
<img src="{% static 'images/facebook.svg' %}"
alt="Facebook"
width="40"
height="40"/>
</a>
</li>
{% endif %}
{% if PEACHJAM_SETTINGS.twitter_link %}
<li class="list-inline-item">
<a href="{{ PEACHJAM_SETTINGS.twitter_link }}"
target="_blank"
rel="noreferrer">
<img src="{% static 'images/twitter.svg' %}"
alt="Twitter"
width="40"
height="40"/>
</a>
</li>
{% endif %}
{% if PEACHJAM_SETTINGS.linkedin_link %}
<li class="list-inline-item">
<a href="{{ PEACHJAM_SETTINGS.linkedin_link }}"
target="_blank"
rel="noreferrer">
<img src="{% static 'images/linkedin.svg' %}"
alt="LinkedIn"
width="40"
height="40"/>
</a>
</li>
{% endif %}
</ul>
</div>
</div>
2 changes: 1 addition & 1 deletion zimlii/templates/peachjam/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h2 class="mb-4">Laws.Africa</h2>
officers and civil servants to deliver services efficiently and effectively.
{% endblocktrans %}
</p>
<h2>
<h2 id="contact">
{% trans 'Contact Us' %}
</h2>
<div>
Expand Down

0 comments on commit 01a4778

Please sign in to comment.