added website navigation structur

This commit is contained in:
2025-10-08 15:03:17 +02:00
parent a20998ae25
commit 54eaa86924
10 changed files with 886 additions and 191 deletions

View File

@@ -0,0 +1,34 @@
// frontend/src/components/Layout/Layout.tsx
import React from 'react';
import Navigation from './Navigation';
import Footer from './Footer';
interface LayoutProps {
children: React.ReactNode;
}
const Layout: React.FC<LayoutProps> = ({ children }) => {
return (
<div style={{
minHeight: '100vh',
display: 'flex',
flexDirection: 'column'
}}>
<Navigation />
<main style={{
flex: 1,
padding: '20px',
maxWidth: '1200px',
margin: '0 auto',
width: '100%'
}}>
{children}
</main>
<Footer />
</div>
);
};
export default Layout;