mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-17 16:35:52 +00:00
✨ v3 theme: glass UI, landing layout, a11y, perf, print styles
Floating glass header with ⌘K search, landing homepage layout with hero image and GitHub-stars CTA, background canvas with dissolving heroes, burufugu colour scheme, movie-quote 404, taxonomy pills, keyboard/ARIA accessibility across menus, search and tabs, idle- loaded third-party scripts, and dedicated print styles. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5b0cd34d5b
commit
09f0573749
47 files changed
+1098
-375
No files matched your search
@@ -1,9 +1 @@
|
||||
{{ $url := .Get "url" | default "#" }}
|
||||
{{ $label := .Get "label" | default "Learn more" }}
|
||||
{{ $style := .Get "style" | default "primary" }}
|
||||
<a
|
||||
class="not-prose inline-flex items-center gap-2 rounded-xl px-5 py-3 font-semibold transition focus-visible:outline-2 focus-visible:outline-offset-2 {{ if eq $style "outline" }}border border-neutral-300 bg-white text-neutral-800 hover:border-primary-400 hover:text-primary-600 dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100 dark:hover:text-primary-400{{ else }}bg-primary-600 text-white shadow-lg shadow-primary-500/20 hover:-translate-y-0.5 hover:bg-primary-500 focus-visible:outline-primary-600{{ end }}"
|
||||
href="{{ $url | safeURL }}">
|
||||
{{ $label | markdownify }}
|
||||
{{ partial "icon.html" "link" }}
|
||||
</a>
|
||||
{{ partial "cta-button.html" (dict "url" (.Get "url") "label" (.Get "label") "style" (.Get "style")) }}
|
||||
Reference in new issue
Block a user