Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Refactor CustomHeader component for improved layout and styling

Bill Yangf99a43e02695
diff --git a/docs/src/components/CustomHeader.tsx b/docs/src/components/CustomHeader.tsx
index 69d8e1a4a..f6e678fff 100644
--- a/docs/src/components/CustomHeader.tsx
+++ b/docs/src/components/CustomHeader.tsx
@@ -13,10 +13,10 @@ export function CustomHeader() {
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
return (
- <header className="sticky top-0 z-50 w-full border-b border-neutral-300 dark:border-neutral-800 bg-background/80 backdrop-blur-md">
+ <header className="sticky top-0 z-50 w-full">
{/* <BlackFridayBanner /> */}
<WelcomeBanner />
- <nav className="mx-auto flex max-w-7xl items-center justify-between px-4 py-3" aria-label="Global">
+ <nav className="mx-auto flex max-w-[1167px] items-center justify-between px-4 py-3 sm:border border-neutral-200 sm:rounded-xl dark:border-neutral-800 bg-neutral-50/50 dark:bg-neutral-900/80 backdrop-blur-md sm:mt-1 shadow-md" aria-label="Global">
{/* Logo */}
<div className="flex items-center">
<Link href="/" className="flex items-center">