feat: add admin panel, Openinary media integration and standardized footer backlink

This commit is contained in:
mstfyldz
2026-08-23 01:40:48 +03:00
parent 17915cd3d5
commit b312bc5593
29 changed files with 1405 additions and 41 deletions
+20
View File
@@ -0,0 +1,20 @@
import { getSession } from '@/lib/auth';
import { Sidebar } from './components/Sidebar';
import '../globals.css';
export default async function AdminLayout({ children }: { children: React.ReactNode }) {
const session = await getSession();
return (
<html lang="tr">
<body className="min-h-screen bg-slate-50 dark:bg-slate-950 text-slate-900 dark:text-slate-50 flex">
{session && <Sidebar />}
<main className="flex-1 overflow-x-hidden p-6 md:p-8">
<div className="max-w-6xl mx-auto">
{children}
</div>
</main>
</body>
</html>
);
}