- 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
696 B
HTML
16 lines
696 B
HTML
{{ if eq .Level 2 }}
|
|
<div class="mt-16 mb-6">
|
|
<div class="flex items-start gap-4">
|
|
<div class="mt-1.5 h-6 w-1.5 flex-shrink-0 rounded-full bg-green-500"></div>
|
|
<h2 id="{{ .Anchor }}" class="text-2xl font-black text-slate-900 leading-snug">{{ .Text | safeHTML }}</h2>
|
|
</div>
|
|
<div class="mt-4 ml-5 h-px bg-slate-100"></div>
|
|
</div>
|
|
{{ else if eq .Level 3 }}
|
|
<h3 id="{{ .Anchor }}" class="mt-8 mb-3 flex items-center gap-2 text-base font-bold uppercase tracking-widest text-green-700">
|
|
<span class="inline-block h-1.5 w-1.5 rounded-full bg-green-500"></span>
|
|
{{ .Text | safeHTML }}
|
|
</h3>
|
|
{{ else }}
|
|
<h{{ .Level }} id="{{ .Anchor }}">{{ .Text | safeHTML }}</h{{ .Level }}>
|
|
{{ end }}
|