interactives/src/components/Layout.tsx
gpt-engineer-app[bot] 76e47c5b00 Add common header and footer
Implement a common header and footer for all pages except interactive pages. The footer will initially contain placeholder text.
2025-07-19 13:39:51 +00:00

33 lines
No EOL
964 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Navigation from '@/components/Navigation';
import { ReactNode } from 'react';
interface LayoutProps {
children: ReactNode;
}
const Layout = ({ children }: LayoutProps) => {
return (
<div className="min-h-screen bg-background flex flex-col">
<Navigation />
<main className="flex-1">
{children}
</main>
<footer className="bg-surface border-t border-outline py-8 px-4 mt-auto">
<div className="max-w-6xl mx-auto text-center">
<p className="text-muted-foreground">
© 2024 Interactives. Educational tools for enhanced learning experiences.
</p>
<div className="mt-4 flex justify-center gap-6 text-sm text-muted-foreground">
<span>Made with for education</span>
<span></span>
<span>Explore Learn Discover</span>
</div>
</div>
</footer>
</div>
);
};
export default Layout;