wealth/apps/bull/src/app/(main)/layout.tsx

18 lines
686 B
TypeScript

import { FlexBox } from '@lumina/island/atoms/flex-box';
import { BottomNav } from '@lumina/market/app/navigation';
import type { ReactNode } from 'react';
// Every request renders fresh: nothing in this group is prerendered or cached on the server.
// Only the landing is (0026), so this lives in each route group's layout, not the root's.
export const dynamic = 'force-dynamic';
/** 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>
);
}