Revert "polish: smooth hover transitions on nav and footer links"

This reverts commit d967dd261a.
This commit is contained in:
2026-04-10 18:44:15 +02:00
parent d967dd261a
commit 00ee9e15ed
2 changed files with 8 additions and 11 deletions
+3 -6
View File
@@ -23,17 +23,14 @@
<ul class="flex flex-wrap gap-x-8 gap-y-4">
{{- range .Site.Menus.footer -}}
<li>
<a href="{{ .URL }}" class="group label relative text-fog hover:text-heat transition-colors duration-200">
{{ .Name }}
<span class="absolute -bottom-0.5 left-0 h-px w-full bg-heat origin-left scale-x-0 group-hover:scale-x-100 transition-transform duration-300 ease-out"></span>
</a>
<a href="{{ .URL }}" class="label text-fog hover:text-heat transition-colors">{{ .Name }}</a>
</li>
{{- end -}}
{{- with .Site.Params.social -}}
{{- range $platform, $url := . -}}
<li>
<a href="{{ $url }}" target="_blank" rel="noopener noreferrer" class="group label text-fog hover:text-frost transition-colors duration-200">
{{- $platform | upper -}}<span class="inline-block transition-transform duration-200 group-hover:translate-x-0.5 group-hover:-translate-y-0.5">{{ partial "icon.html" "arrow-external" }}</span>
<a href="{{ $url }}" target="_blank" rel="noopener noreferrer" class="label text-fog hover:text-frost transition-colors">
{{- $platform | upper -}} {{ partial "icon.html" "arrow-external" }}
</a>
</li>
{{- end -}}