add dashboard, home, login, layout, api
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// src/layouts/PublicLayout.jsx
|
||||
import { Outlet, Link } from 'react-router-dom';
|
||||
|
||||
export default function PublicLayout() {
|
||||
return (
|
||||
<div style={{ backgroundColor: '#121212', color: '#E0E0E0', minHeight: '100vh', fontFamily: 'monospace' }}>
|
||||
<nav style={{ padding: '20px', borderBottom: '1px solid #242424', display: 'flex', gap: '15px' }}>
|
||||
<Link to="/" style={{ color: '#00E5FF', textDecoration: 'none' }}>[ GISE_BUNKER ]</Link>
|
||||
<Link to="/offres" style={{ color: '#E0E0E0', textDecoration: 'none' }}>Catalogue</Link>
|
||||
<Link to="/login" style={{ color: '#E0E0E0', textDecoration: 'none', marginLeft: 'auto' }}>Connexion</Link>
|
||||
</nav>
|
||||
|
||||
{/* C'est ici que les pages (Accueil, Login, etc.) vont s'afficher */}
|
||||
<main style={{ padding: '20px' }}>
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user