feat: add secondary navigation to the footer
All checks were successful
Deploy Theme / deploy (push) Successful in 14s

This commit is contained in:
2026-02-20 10:40:04 +01:00
parent 7467ae2d37
commit 9f4a46bc88
2 changed files with 9 additions and 1 deletions

View File

@@ -99,6 +99,11 @@
@apply flex flex-col items-center space-y-10 text-4xl; @apply flex flex-col items-center space-y-10 text-4xl;
} }
/* Footer navigation styling */
footer nav ul.nav {
@apply flex items-center space-x-6 text-sm uppercase tracking-wider;
}
/* Navigation Links */ /* Navigation Links */
.nav-link { .nav-link {
@apply relative py-2 px-1 transition-all duration-300 opacity-80 hover:opacity-100 hover:text-[var(--brand-primary)]; @apply relative py-2 px-1 transition-all duration-300 opacity-80 hover:opacity-100 hover:text-[var(--brand-primary)];

View File

@@ -10,7 +10,10 @@
<p class="text-sm text-[var(--text-secondary)] sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-[var(--bg-secondary)] sm:py-2 sm:mt-0 mt-4"> <p class="text-sm text-[var(--text-secondary)] sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-[var(--bg-secondary)] sm:py-2 sm:mt-0 mt-4">
© {{date format="YYYY"}} {{@site.title}} — Created by <a href="https://pivoine.art" class="fancy-link">Valknar</a> © {{date format="YYYY"}} {{@site.title}} — Created by <a href="https://pivoine.art" class="fancy-link">Valknar</a>
</p> </p>
<span class="inline-flex sm:ml-auto sm:mt-0 mt-4 justify-center sm:justify-start"> <nav class="sm:ml-auto sm:mt-0 mt-4">
{{navigation type="secondary"}}
</nav>
<span class="inline-flex sm:ml-6 sm:mt-0 mt-4 justify-center sm:justify-start">
{{#if @site.facebook}} {{#if @site.facebook}}
<a href="{{@site.facebook_url}}" class="text-[var(--text-secondary)] hover:text-[var(--text-primary)] transition duration-200"> <a href="{{@site.facebook_url}}" class="text-[var(--text-secondary)] hover:text-[var(--text-primary)] transition duration-200">
<svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24"> <svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24">