Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
},
"dependencies": {
"@libsql/client": "^0.15.15",
"@radix-ui/react-navigation-menu": "^1.2.14",
"@radix-ui/react-progress": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"better-auth": "^1.3.26",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"drizzle-orm": "^0.44.6",
"lucide-react": "^0.546.0",
"lucide-react": "^0.548.0",
"next": "15.5.4",
"next-safe-action": "8.0.11",
"react": "19.1.0",
Expand Down
252 changes: 243 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions src/app/admin/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import React from "react";
import AdminNavbar from "@/components/AdminNavbar";

export default function AdminLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<section className="min-h-screen flex flex-col bg-neutral-50 text-neutral-900 dark:bg-neutral-950 dark:text-neutral-100">
{/* Top nav bar */}
<AdminNavbar />

{/* Page content */}
<main className="flex-1 p-6">
{children}
</main>

{/* Footer */}
</section>
);
}
Loading