🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
import { AppSidebar } from "./AppSidebar";
import { cn } from "../lib/utils";
export function StandardPage({
children,
showSidebar = true,
fullWidth = false,
}: {
children: React.ReactNode;
showSidebar?: boolean;
fullWidth?: boolean;
}) {
return (
<div className="h-full flex w-full">
{showSidebar && <AppSidebar />}
<main className="flex flex-col items-center p-4 w-full h-dvh overflow-y-auto">
<div className={cn("w-full", fullWidth ? "max-w-full" : "max-w-6xl")}>{children}</div>
</main>
</div>
);
}