authentification fini

This commit is contained in:
2025-11-27 08:41:26 +01:00
parent 57202d5112
commit c7c41d36dd
66 changed files with 5407 additions and 34 deletions

View File

@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Gestion Clients</title>
<link href="{{ asset('css/style.css') }}" rel="stylesheet">
</head>
<body>
@@ -10,6 +11,16 @@
<a href="{{ url('/') }}">Accueil</a>
<a href="{{ url('/clients') }}">Liste des clients</a>
<a href="{{ url('/ajoutClient') }}">Crée un client</a>
@guest
<a href="{{ route('login') }}">Se connecter</a>
<a href="{{ route('register') }}">Créer un compte</a>
@else
Bonjour, {{ auth()->user()->name }}
<form method="POST" action="{{ route('logout') }}" style="display:inline;">
@csrf
<button type="submit">Déconnexion</button>
</form>
@endguest
</nav>