feat: sticky Header with persistent contact CTA

This commit is contained in:
erikgh committed 2026-07-21 15:42:13 -06:00
1 parent 50f62bdf28
commit d8921bc0bc
4 files changed
+40

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { Wordmark } from '@/components/primitives/Wordmark';
import { CTA } from '@/components/primitives/CTA';
import { Container } from '@/components/primitives/Container';
import { header } from '@/lib/content';
export function Header() {
return (
<header className="sticky top-0 z-50 border-b border-ink/10 bg-base/80 backdrop-blur">
<Container className="flex items-center justify-between py-3">
<a href="#top" aria-label="creeer — inicio">
<Wordmark size="md" />
</a>
<nav aria-label="Principal">
<CTA href="#contacto" label={header.cta} variant="light" />
</nav>
</Container>
</header>
);
}