import { forwardRef } from "react"; import { cn } from "~/utils/cn"; /** This container is used to surround the entire app, it correctly places the nav bar */ export function AppContainer({ children, className, }: { children: React.ReactNode; className?: string; }) { return (
{children}
); } export function MainBody({ children }: { children: React.ReactNode }) { return
{children}
; } /** This container should be placed around the content on a page */ export function PageContainer({ children, className, }: { children: React.ReactNode; className?: string; }) { return (
{children}
); } export const PageBody = forwardRef< HTMLDivElement, { children: React.ReactNode; scrollable?: boolean; className?: string; } >(function PageBody({ children, scrollable = true, className }, ref) { return (
{children}
); }); export function MainCenteredContainer({ children, className, variant = "default", }: { children: React.ReactNode; className?: string; variant?: "default" | "onboarding"; }) { return (
{children}
); } export function MainHorizontallyCenteredContainer({ children, className, }: { children: React.ReactNode; className?: string; }) { return (
{children}
); }