14 lines
460 B
TypeScript
14 lines
460 B
TypeScript
import { FlexBox } from '@lumina/island/atoms/flex-box';
|
|
import { BottomNav } from '@lumina/market/app/navigation';
|
|
import type { ReactNode } from 'react';
|
|
|
|
/** The main pages on mobile: each page brings its top bar; the bottom nav is shared. */
|
|
export default function MainLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<FlexBox direction="flex-col" className="min-h-dvh bg-bg-page">
|
|
{children}
|
|
<BottomNav />
|
|
</FlexBox>
|
|
);
|
|
}
|