website refactor
This commit is contained in:
22
apps/website/components/admin/AdminDashboardLayout.tsx
Normal file
22
apps/website/components/admin/AdminDashboardLayout.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
'use client';
|
||||
|
||||
import { ReactNode } from 'react';
|
||||
import { Container } from '@/ui/Container';
|
||||
import { Stack } from '@/ui/Stack';
|
||||
import { Box } from '@/ui/Box';
|
||||
|
||||
interface AdminDashboardLayoutProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
export function AdminDashboardLayout({ children }: AdminDashboardLayoutProps) {
|
||||
return (
|
||||
<Container size="lg">
|
||||
<Box paddingY={8}>
|
||||
<Stack gap={8}>
|
||||
{children}
|
||||
</Stack>
|
||||
</Box>
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user