mirror of
https://github.com/jimeh/commonflow.org.git
synced 2026-02-19 05:46:40 +00:00
wip: even more tailwind alignment
This commit is contained in:
@@ -12,8 +12,9 @@ const { version } = Astro.props;
|
||||
|
||||
<header
|
||||
id="site-header"
|
||||
class="fixed top-0 inset-x-0 z-50 glass border-b border-transparent
|
||||
translate-y-[-100%] transition-transform duration-300"
|
||||
class="fixed top-0 inset-x-0 z-50 border-b border-transparent
|
||||
translate-y-[-100%] transition-transform duration-300
|
||||
backdrop-blur-xl bg-gray-50/85 dark:bg-gray-950/85"
|
||||
>
|
||||
<div
|
||||
class="max-w-6xl mx-auto px-4 sm:px-6 h-16 flex items-center justify-between"
|
||||
@@ -38,9 +39,36 @@ const { version } = Astro.props;
|
||||
|
||||
<!-- Desktop Navigation -->
|
||||
<nav class="hidden md:flex items-center gap-1">
|
||||
<a href="#about" class="btn btn-ghost text-sm">About</a>
|
||||
<a href="#spec" class="btn btn-ghost text-sm">Spec</a>
|
||||
<a href="#faq" class="btn btn-ghost text-sm">FAQ</a>
|
||||
<a
|
||||
href="#about"
|
||||
class="inline-flex items-center px-4 py-2 text-sm font-medium rounded-lg
|
||||
transition-colors cursor-pointer
|
||||
text-gray-600 dark:text-gray-400
|
||||
hover:bg-gray-100 hover:text-gray-950
|
||||
dark:hover:bg-gray-900 dark:hover:text-gray-50"
|
||||
>
|
||||
About
|
||||
</a>
|
||||
<a
|
||||
href="#spec"
|
||||
class="inline-flex items-center px-4 py-2 text-sm font-medium rounded-lg
|
||||
transition-colors cursor-pointer
|
||||
text-gray-600 dark:text-gray-400
|
||||
hover:bg-gray-100 hover:text-gray-950
|
||||
dark:hover:bg-gray-900 dark:hover:text-gray-50"
|
||||
>
|
||||
Spec
|
||||
</a>
|
||||
<a
|
||||
href="#faq"
|
||||
class="inline-flex items-center px-4 py-2 text-sm font-medium rounded-lg
|
||||
transition-colors cursor-pointer
|
||||
text-gray-600 dark:text-gray-400
|
||||
hover:bg-gray-100 hover:text-gray-950
|
||||
dark:hover:bg-gray-900 dark:hover:text-gray-50"
|
||||
>
|
||||
FAQ
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<!-- Right side: Theme, GitHub -->
|
||||
|
||||
Reference in New Issue
Block a user