Files
shop-server/Untitled/src/app/layouts/PublicLayout.tsx
T
@kirill.komarov ebe1ede25c base commit
2026-05-04 12:34:01 +05:00

19 lines
586 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { Outlet } from 'react-router';
import { Header } from '../components/layout/Header';
export function PublicLayout() {
return (
<div className="min-h-screen flex flex-col">
<Header cartCount={2} />
<main className="flex-1">
<Outlet />
</main>
<footer className="bg-card border-t border-border py-8">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<p className="text-sm text-muted-foreground">© 2026 Craftshop. Все права защищены.</p>
</div>
</footer>
</div>
);
}