- Created a new layout for projects with sections for hero, projects, roadmap, selection criteria, and a call to action. - Added a single page layout for individual project details, including a hero section and content area. - Introduced a brand highlight partial to emphasize "TheAfriForge" in text. - Implemented an icon partial for reusable SVG icons across the site. - Developed a site header and footer with navigation and legal links, adapting for language variations. - Enhanced the index layout with sections for hero, stats, pillars, projects, and members. - Added a development script to load environment variables and run Hugo with optional arguments.
16 lines
1,017 B
HTML
16 lines
1,017 B
HTML
<footer class="border-t border-green-900 bg-green-950">
|
|
{{ $legalPath := cond (eq .Site.Language.Lang "fr") "mentions-legales" "legal-notice" }}
|
|
{{ $privacyPath := cond (eq .Site.Language.Lang "fr") "politique-confidentialite" "privacy-policy" }}
|
|
{{ $governancePath := cond (eq .Site.Language.Lang "fr") "gouvernance" "governance" }}
|
|
<div class="mx-auto grid max-w-7xl gap-8 px-6 py-10 text-sm text-green-200 md:grid-cols-2 lg:px-8">
|
|
<div>
|
|
<p class="text-base font-bold text-white">TheAfriForge</p>
|
|
<p class="mt-2 max-w-xl">{{ i18n "footerTagline" }}</p>
|
|
</div>
|
|
<div class="grid gap-2 md:justify-items-end">
|
|
<a href="{{ $legalPath | relLangURL }}" class="transition hover:text-white">{{ i18n "footerLegal" }}</a>
|
|
<a href="{{ $privacyPath | relLangURL }}" class="transition hover:text-white">{{ i18n "footerPrivacy" }}</a>
|
|
<a href="{{ $governancePath | relLangURL }}" class="transition hover:text-white">{{ i18n "footerGovernance" }}</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|