Files
Ehsan/artifacts/ehsan-poc/src/components/layout/AppLayout.tsx
T

19 lines
558 B
TypeScript
Raw Normal View History

import { ReactNode } from "react";
import { Header } from "./Header";
export function AppLayout({ children }: { children: ReactNode }) {
return (
<div className="min-h-[100dvh] flex flex-col bg-background font-sans">
<Header />
<main className="flex-1">
{children}
</main>
<footer className="border-t bg-white mt-auto py-8">
<div className="container mx-auto px-4 text-center text-sm text-muted-foreground">
EHSAN POC &copy; {new Date().getFullYear()}
</div>
</footer>
</div>
);
}