Add initial Next.js dashboard files

This commit is contained in:
2025-06-14 10:19:24 +03:00
parent e2b4b5cc85
commit 59c1550015
51 changed files with 4288 additions and 0 deletions

View File

@ -0,0 +1,3 @@
export default function CustomerPage() {
return <p>Customer Dashboard Page</p>;
}

View File

@ -0,0 +1,3 @@
export default function InvoicePage() {
return <p>Invoices Dashboard Page</p>;
}

12
app/dashboard/layout.tsx Normal file
View File

@ -0,0 +1,12 @@
import SideNav from '@/app/ui/dashboard/sidenav';
export default function layout({ children }: { children: React.ReactNode }) {
return (
<div className="flex h-screen flex-col md:flex-row md:overflow-hidden">
<div className="w-full flex-none md:w-64">
<SideNav />
</div>
<div className="flex-grow p-6 md:overflow-y-auto md:p-12">{children}</div>
</div>
);
}

3
app/dashboard/page.tsx Normal file
View File

@ -0,0 +1,3 @@
export default function Page() {
return <p> Dashboard Page</p>;
}