2025-05-20 10:08:24 +00:00
|
|
|
import { cn } from "@repo/shadcn-ui/lib/utils";
|
2025-05-19 16:15:01 +00:00
|
|
|
import { PropsWithChildren } from "react";
|
|
|
|
|
|
2025-09-29 18:22:59 +00:00
|
|
|
export const AppContent = ({
|
|
|
|
|
className,
|
|
|
|
|
children,
|
|
|
|
|
...props
|
|
|
|
|
}: PropsWithChildren<{ className?: string }>) => {
|
2025-06-24 18:38:57 +00:00
|
|
|
return (
|
2025-09-29 18:22:59 +00:00
|
|
|
<div
|
|
|
|
|
className={cn(
|
|
|
|
|
"app-content flex flex-1 flex-col gap-4 p-6 pt-8 bg-sidebar/25 min-h-screen",
|
|
|
|
|
className
|
|
|
|
|
)}
|
|
|
|
|
{...props}
|
|
|
|
|
>
|
2025-06-24 18:38:57 +00:00
|
|
|
{children}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
2025-05-19 16:15:01 +00:00
|
|
|
};
|