mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
Replace fumadocs HomeLayout default nav with a fixed floating pill nav: - Frosted glass pill (rounded-full) centered at top of viewport - Logo (ZenEnso 24px) + Zen LM wordmark on left - Desktop: Models / API / Pricing / Training nav links - Far right: Login (hanzo.id) + 'Try Zen' CTA (white pill → hanzo.chat) - Mobile: hamburger → dropdown with same links + CTAs - Expands to rounded-2xl on mobile open, rounded-full when closed
12 lines
339 B
TypeScript
12 lines
339 B
TypeScript
import { HomeLayout } from '@hanzo/docs-base-ui/layouts/home';
|
|
import type { ReactNode } from 'react';
|
|
import { FloatingNav } from '@/components/FloatingNav';
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<HomeLayout nav={{ component: <FloatingNav /> }}>
|
|
{children}
|
|
</HomeLayout>
|
|
);
|
|
}
|