Skip to content

Commit

Permalink
Update homepage layout
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 16, 2023
1 parent b7609e8 commit d4a9772
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@ startButton:
<div class="govuk-grid-row">
{% for item in collections.homepage %}
<section class="govuk-grid-column-one-third-from-desktop govuk-!-margin-bottom-8">
<h2 class="govuk-heading-m govuk-!-font-size-27">{{ item.data.title | smart }}</h2>
<h2 class="govuk-heading-m govuk-!-margin-bottom-2">
<a class="govuk-link--no-visited-state" href="{{ item.url | url }}">{{ item.data.title | smart }}</a>
</h2>
<p class="govuk-body">{{ item.data.description | markdown("inline") }}</p>
<p class="govuk-body"><a class="govuk-link govuk-!-font-weight-bold" href="{{ item.url | url }}">{{ item.data.title | smart}} component</a></p>
</section>
{% if loop.index == 3 %}
{% if loop.index == 3 or loop.index == 6 %}
</div>
<div class="govuk-grid-row">
{% endif %}
{% endfor %}
<section class="govuk-grid-column-full">
<hr class="govuk-section-break govuk-section-break--visible govuk-section-break--xl govuk-!-margin-top-0">
<h2 class="govuk-heading-m govuk-!-font-size-27">Contribute</h2>
<h2 class="govuk-heading-m">Contribute</h2>
<p class="govuk-body">The project repository is public and we welcome contributions from anyone.</p>
<p class="govuk-body"><a class="govuk-link govuk-!-font-weight-bold" href="{{ pkg.repository.url | replace(".git", "") }}">View this project on GitHub</a></p>
</section>
Expand Down

0 comments on commit d4a9772

Please sign in to comment.