diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-15 15:28:47 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-15 15:28:47 +0200 |
| commit | 5e5a10682f7ab42d3c5691953a7054790c33bc60 (patch) | |
| tree | df3df8c9bcb8693c422939d3df6d4b45cf4bdb70 | |
| parent | 87c1f089ea3b7e0ca49b2d36b73a83319e2b164a (diff) | |
| download | danixxyz-5e5a10682f7ab42d3c5691953a7054790c33bc60.tar.gz danixxyz-5e5a10682f7ab42d3c5691953a7054790c33bc60.zip | |
feat: create footer with links and copyright
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/partials/footer.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/footer.html b/themes/danix-xyz-hacker/layouts/partials/footer.html new file mode 100644 index 0000000..4557ec1 --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/partials/footer.html @@ -0,0 +1,38 @@ +<footer class="mt-16 border-t border-border/30 py-12 bg-surface/20"> + <div class="container mx-auto px-4"> + <div class="grid md:grid-cols-3 gap-8 mb-8"> + <!-- About --> + <div> + <h3 class="font-bold text-accent mb-3 font-oxanium">{{ .Site.Title }}</h3> + <p class="text-sm text-text-dim">{{ .Site.Params.siteDescription }}</p> + </div> + + <!-- Quick links --> + <div> + <h4 class="font-semibold text-accent mb-3">{{ i18n "links" }}</h4> + <ul class="space-y-2"> + {{ range .Site.Menus.main }} + <li> + <a href="{{ .URL }}" class="text-sm text-text-dim hover:text-accent transition-colors"> + {{ i18n .Name }} + </a> + </li> + {{ end }} + </ul> + </div> + + <!-- Social (if configured) --> + <div> + <h4 class="font-semibold text-accent mb-3">{{ i18n "contact" }}</h4> + <a href="mailto:{{ .Site.Params.email }}" class="text-sm text-text-dim hover:text-accent transition-colors"> + {{ i18n "email" }}: {{ .Site.Params.email }} + </a> + </div> + </div> + + <!-- Copyright --> + <div class="pt-8 border-t border-border/30 text-center text-xs text-text-dim"> + <p>© {{ now.Year }} {{ .Site.Params.author }}. {{ i18n "allRightsReserved" }}</p> + </div> + </div> +</footer> |
