Add header component with responsive navigation
This commit is contained in:
14
app/(backend)/layout.tsx
Normal file
14
app/(backend)/layout.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import Header from "@/components/Header";
|
||||
|
||||
const Layout = ({ children }: { children: React.ReactNode }) => {
|
||||
return (
|
||||
<main className="min-h-screen text-gray-400">
|
||||
<Header />
|
||||
<div className="container py-10">
|
||||
{children}
|
||||
</div>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
export default Layout;
|
||||
Reference in New Issue
Block a user