backend-api/frontend/components/common/PageLayout.tsx

30 lines
930 B
TypeScript

/*
========================================
File: frontend/components/common/PageLayout.tsx (NEW - Example)
========================================
*/
import React, { ReactNode } from "react";
import { cn } from "@/lib/utils";
// Example: Assuming you might have a common Header/Footer/Sidebar structure
// import { AppHeader } from './AppHeader';
// import { AppFooter } from './AppFooter';
interface PageLayoutProps {
children: ReactNode;
className?: string;
}
/**
* DUMMY: A basic layout component for pages.
* Might include common headers, footers, or side navigation structures.
*/
export function PageLayout({ children, className }: PageLayoutProps) {
return (
<div className={cn("flex flex-col min-h-screen", className)}>
{/* <AppHeader /> */} {/* Example: Shared Header */}
<main className="flex-1">{children}</main>
{/* <AppFooter /> */} {/* Example: Shared Footer */}
</div>
);
}