mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
removed phone and departement as user attribute
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// frontend/src/components/Layout/Layout.tsx
|
||||
// frontend/src/components/Layout/Layout.tsx - KORRIGIERT
|
||||
import React from 'react';
|
||||
import Navigation from './Navigation';
|
||||
import Footer from './Footer';
|
||||
@@ -8,22 +8,32 @@ interface LayoutProps {
|
||||
}
|
||||
|
||||
const Layout: React.FC<LayoutProps> = ({ children }) => {
|
||||
const styles = {
|
||||
layout: {
|
||||
minHeight: '100vh',
|
||||
display: 'flex',
|
||||
flexDirection: 'column' as const,
|
||||
},
|
||||
mainContent: {
|
||||
flex: 1,
|
||||
backgroundColor: '#f8f9fa',
|
||||
minHeight: 'calc(100vh - 140px)',
|
||||
},
|
||||
contentContainer: {
|
||||
maxWidth: '1200px',
|
||||
margin: '0 auto',
|
||||
padding: '2rem 20px',
|
||||
},
|
||||
};
|
||||
|
||||
return (
|
||||
<div style={{
|
||||
minHeight: '100vh',
|
||||
display: 'flex',
|
||||
flexDirection: 'column'
|
||||
}}>
|
||||
<div style={styles.layout}>
|
||||
<Navigation />
|
||||
|
||||
<main style={{
|
||||
flex: 1,
|
||||
padding: '20px',
|
||||
maxWidth: '1200px',
|
||||
margin: '0 auto',
|
||||
width: '100%'
|
||||
}}>
|
||||
{children}
|
||||
<main style={styles.mainContent}>
|
||||
<div style={styles.contentContainer}>
|
||||
{children}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<Footer />
|
||||
|
||||
Reference in New Issue
Block a user