Files
stats/apps/dashboard/src/components/full-width-navbar.tsx
Carl-Gerhard Lindesvärd 1665924073 give dark mode some love 🖤
2024-05-31 22:25:07 +02:00

24 lines
510 B
TypeScript

'use client';
import { cn } from '@/utils/cn';
import { Logo } from './logo';
type Props = {
children: React.ReactNode;
className?: string;
};
const FullWidthNavbar = ({ children, className }: Props) => {
return (
<div className={cn('border-b border-border bg-card', className)}>
<div className="mx-auto flex h-14 w-full items-center justify-between px-4 md:max-w-[95vw] lg:max-w-[80vw]">
<Logo />
{children}
</div>
</div>
);
};
export default FullWidthNavbar;