2d217fab47
- Add comprehensive CSV import system with drag-and-drop upload and validation - Create UniversalTable component with advanced filtering, searching, and batch actions - Implement invoice management (view, edit, delete) with professional PDF export - Add client management with full CRUD operations - Set up authentication with NextAuth.js and email/password login - Configure database schema with users, clients, invoices, and invoice_items tables - Build responsive UI with shadcn/ui components and emerald branding - Add type-safe API layer with tRPC and Zod validation - Include proper error handling and user feedback with toast notifications - Set up development environment with Bun, TypeScript, and Tailwind CSS
18 lines
501 B
TypeScript
18 lines
501 B
TypeScript
import { Navbar } from "~/components/Navbar";
|
|
import { Sidebar } from "~/components/Sidebar";
|
|
import { DashboardBreadcrumbs } from "~/components/dashboard-breadcrumbs";
|
|
|
|
export default function DashboardLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<>
|
|
<Navbar />
|
|
<Sidebar />
|
|
<main className="min-h-screen pt-24 ml-70">
|
|
<div className="px-8 pt-6 pb-6">
|
|
<DashboardBreadcrumbs />
|
|
{children}
|
|
</div>
|
|
</main>
|
|
</>
|
|
);
|
|
}
|