20 lines
526 B
TypeScript
20 lines
526 B
TypeScript
import { SessionTimeoutProvider } from "@/components/admin/SessionTimeoutProvider";
|
|
|
|
export default function AdminLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<SessionTimeoutProvider>
|
|
<style>{`
|
|
:root {
|
|
--bg: #111925;
|
|
--surface: #18212f;
|
|
--border-color: rgba(148, 163, 184, 0.15);
|
|
--text-primary: #f1f5f9;
|
|
--text-muted: #64748b;
|
|
--accent: #f97316;
|
|
}
|
|
`}</style>
|
|
{children}
|
|
</SessionTimeoutProvider>
|
|
);
|
|
}
|