Skip to content

Commit

Permalink
adds surver links to tanzlii
Browse files Browse the repository at this point in the history
  • Loading branch information
actlikewill committed Aug 28, 2024
1 parent a4fb920 commit 1f3177e
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
26 changes: 26 additions & 0 deletions tanzlii/templates/liiweb/home.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "liiweb/home.html" %}
{% load static i18n %}
{% block before-content %}{% endblock %}
{% block hero-logos %}
<img src="{% static 'images/judiciary_of_tanzania.png' %}"
alt="judiciary-of-tanzania-logo"/>
Expand All @@ -23,3 +24,28 @@
We aim to support the rule of law by publishing the law of Tanzania for free online access.
{% endblocktrans %}
{% endblock %}
{% block after-search %}
<div class="bg-primary py-5">
<div class="container">
<div class="row align-items-center g-0">
<div class="col-xl-6 col-lg-6 col-md-12">
<div>
<h1 class="text-white fw-bold pe-lg-8">{% trans 'Take the TanzLII Survey' %}</h1>
{% blocktrans %}
<p class="text-white mb-4 h5 fw-bold">
Help us make Tanzanian legal information more freely accessible to everyone.
Take this short 5 minute survey on your usage of the platform and your general experience using the site.
All information shared is confidential.
</p>
{% endblocktrans %}
</div>
</div>
<div class=" col-xl-6 col-lg-6 col-md-12 text-center pt-6">
<a target="_blank"
href="https://forms.gle/KdvJxkaM1otDBAsz8"
class="text-white btn btn-lg btn-danger"><span class="fw-bold">Take the survey</span></a>
</div>
</div>
</div>
</div>
{% endblock %}
24 changes: 23 additions & 1 deletion tanzlii/templates/peachjam/layouts/main.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
{% extends "peachjam/layouts/main.html" %}
{% load sass_tags %}
{% load i18n sass_tags %}
{% block head-css %}
<link rel="stylesheet"
href="{% sass_src 'stylesheets/tanzlii.scss' %}"
type="text/css"/>
{% endblock %}
{% block before-content %}
<div class="bg-primary py-3">
<div class="container">
<div class="row align-items-center g-0">
<div class="col-xl-6 col-lg-6 col-md-12">
<div>
{% blocktrans %}
<p class="text-white m-0 fw-bold">
Help us improve TanzLII. Take this short 5 minute survey on your usage of the platform and your general experience using the site.
</p>
{% endblocktrans %}
</div>
</div>
<div class=" col-xl-6 col-lg-6 col-md-12 text-center pt-6">
<a target="_blank"
href="https://forms.gle/KdvJxkaM1otDBAsz8"
class="text-white btn btn-danger"><span class="fw-bold">Take the survey</span></a>
</div>
</div>
</div>
</div>
{% endblock %}

0 comments on commit 1f3177e

Please sign in to comment.