First commit - backup RDOC
This commit is contained in:
16
src/layouts/MainLayout.tsx
Normal file
16
src/layouts/MainLayout.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import BottomNav from '@/components/BottomNav';
|
||||
|
||||
interface MainLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default function MainLayout({ children }: MainLayoutProps) {
|
||||
return (
|
||||
<div className="min-h-screen bg-gradient-to-br from-blue-50 via-white to-purple-50 dark:from-gray-900 dark:via-gray-800 dark:to-gray-900 w-full overflow-x-hidden">
|
||||
<main className="pb-24">
|
||||
{children}
|
||||
</main>
|
||||
<BottomNav />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user