website refactor
This commit is contained in:
17
apps/website/ui/TopNav.tsx
Normal file
17
apps/website/ui/TopNav.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
|
||||
interface TopNavProps {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* TopNav is a horizontal navigation container used within the AppHeader.
|
||||
*/
|
||||
export function TopNav({ children, className = '' }: TopNavProps) {
|
||||
return (
|
||||
<nav className={`flex items-center justify-between w-full ${className}`}>
|
||||
{children}
|
||||
</nav>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user