Skip to content

Commit

Permalink
Rework front page
Browse files Browse the repository at this point in the history
Only two blocks. Apart from a simpler structure, the idea is also
to not start the page with links that lead the user off the site.
  • Loading branch information
friedelwolff committed Sep 13, 2024
1 parent b8b8b8c commit 7846947
Showing 1 changed file with 41 additions and 47 deletions.
88 changes: 41 additions & 47 deletions app/templates/app/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,55 +6,21 @@
{% spaceless %}
<h1 id="main-heading" class="visually-hidden">{% trans "LwimiLinks" %}</h1>
<section class="m-3 card">
<div class="card-body limit-text-width">
<h2 class="fs-3 card-title">{% trans "Welcome" %}</h2>
<p>
{% blocktrans trimmed %}
The South African Centre for Digital Language Resources (SADiLaR) is a national research
infrastructure that aims to ensure a digital future for our official languages.
It supports researchers in the fields of digital humanities and social sciences and also
assists institutions in their language implementation plans.
{% endblocktrans %}
<a href="https://sadilar.org">{% blocktrans %}Read more about SADiLaR.{% endblocktrans %}</a>
</p>
<p>
{% blocktrans trimmed %}
SADiLaR conducted an audit at South African public higher education institutions that highlighted
areas that require attention.
{% endblocktrans %}
<a href="https://sadilar.org/usaf_report_2023">{% blocktrans %}Read the report.{% endblocktrans %}</a>
</p>
<p>
{% blocktrans trimmed %}
This platform highlights previous and current work at institutions to encourage collaboration and
disseminate resources.
{% endblocktrans %}
</p>
</div>
</section>

<section class="m-3 card">
<div class="card-body d-flex justify-content-between align-items-end">
<div class="card-items">
<h2 class="fs-3 card-title">{% trans "Search" %}</h2>
<p>
{% blocktrans trimmed %}
This platforms hosts terminology and other useful language resources.
{% endblocktrans %}
</p>
<form method="get" action="{% url 'search' %}">
<input type="search" name="search" placeholder="{% trans 'Search term...' %}"
class="form-control search-input">
<input type="submit" value="{% trans 'Search' %}" class="btn btn-primary mt-2">
</form>
</div>
</div>
</section>

<section class="m-3 card">
<div class="card-body">
<div class="card-body limit-text-width">
<h2 class="fs-3 card-title">{% trans "Explore" %}</h2>
<p>
{% blocktrans trimmed %}
LwimiLinks is a place for multilingual terminology and other useful language
resources. We encourage institutions to upload their resources, and to register
information on related projects.
{% endblocktrans %}
</p>
<form method="get" action="{% url 'search' %}">
<input type="search" name="search" placeholder="{% trans 'Search term...' %}"
class="form-control search-input">
<input type="submit" value="{% trans 'Search' %}" class="btn btn-primary mt-2">
</form>
<p class="pt-3">
{% trans "Browse through the available information by one of the following categories:" %}
</p>
<ul class="list-unstyled d-md-flex flex-md-row">
Expand Down Expand Up @@ -87,5 +53,33 @@ <h2 class="fs-3 card-title">{% trans "Explore" %}</h2>
</div>
</section>

<section class="m-3 card">
<div class="card-body limit-text-width">
<h2 class="fs-3 card-title">{% trans "Background information" %}</h2>
<p>
{% blocktrans trimmed %}
The South African Centre for Digital Language Resources (SADiLaR) is a national research
infrastructure that aims to ensure a digital future for our official languages.
It supports researchers in the fields of digital humanities and social sciences and also
assists institutions in their language implementation plans.
{% endblocktrans %}
<a href="https://sadilar.org">{% blocktrans %}Read more about SADiLaR.{% endblocktrans %}</a>
</p>
<p>
{% blocktrans trimmed %}
SADiLaR conducted an audit at South African public higher education institutions that highlighted
areas that require attention.
{% endblocktrans %}
<a href="https://sadilar.org/usaf_report_2023">{% blocktrans %}Read the report.{% endblocktrans %}</a>
</p>
<p>
{% blocktrans trimmed %}
This platform highlights previous and current work at institutions to encourage collaboration and
disseminate resources.
{% endblocktrans %}
</p>
</div>
</section>

{% endspaceless %}
{% endblock content %}

0 comments on commit 7846947

Please sign in to comment.