Files
stats/apps/dashboard/src/components/full-width-navbar.tsx

24 lines
547 B
TypeScript

'use client';
import { cn } from '@/utils/cn';
import { Logo, LogoSquare } 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]">
<LogoSquare className="size-8" />
{children}
</div>
</div>
);
};
export default FullWidthNavbar;