add dashboard, home, login, layout, api

This commit is contained in:
maximus
2026-06-04 13:58:32 +02:00
parent fb2a7485bb
commit bf36210670
12 changed files with 497 additions and 231 deletions
+19
View File
@@ -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>
);
}