Skip to content
Extraits de code Groupes Projets
Valider fc018313 rédigé par Barbarroux Pierrick's avatar Barbarroux Pierrick
Parcourir les fichiers

Ajouts de liens + profil que quand co

parent 3109c8ba
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -20,7 +20,8 @@ Accueil ...@@ -20,7 +20,8 @@ Accueil
document.getElementById('logout-form').submit();"> document.getElementById('logout-form').submit();">
{{ __('Logout') }} {{ __('Logout') }}
</a><br> </a><br>
<a href="{{ route('profil') }}">Profil</a> <a href="{{ route('profil') }}">Profil</a><br>
<a href="{{ route('welcome') }}">Home</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
@csrf @csrf
...@@ -28,6 +29,7 @@ Accueil ...@@ -28,6 +29,7 @@ Accueil
@else @else
<a href="{{ route('login') }}">Login</a> <br> <a href="{{ route('login') }}">Login</a> <br>
<a href="{{ route('register') }}">Register</a> <a href="{{ route('register') }}">Register</a>
<a href="{{ route('welcome') }}">Home</a>
@endauth @endauth
</div> </div>
@endif @endif
......
...@@ -33,9 +33,9 @@ Profil ...@@ -33,9 +33,9 @@ Profil
<div class="top"> <div class="top">
<ul> <ul>
<li><a href="#coordonnees">Coordonnées</a></li> <li><a href="{{ route('welcome') }}">Home</a></li>
<li><a href="#liste_outils">Liste d'outils</a></li> <li><a href="{{ url('formulaire2') }}">Main</a></li>
<li><a href="#edit">Édition</a></li>
</ul> </ul>
</div> </div>
<div class="side"> <div class="side">
......
...@@ -70,8 +70,8 @@ ...@@ -70,8 +70,8 @@
<div class="top-right links"> <div class="top-right links">
@auth @auth
<a href="{{ url('/home') }}">Home</a> <a href="{{ url('/home') }}">Home</a>
@else
<a href="{{ url('profil') }}">Profil</a> <a href="{{ url('profil') }}">Profil</a>
@else
<a href="{{ route('login') }}">Login</a> <a href="{{ route('login') }}">Login</a>
<a href="{{ route('register') }}">Register</a> <a href="{{ route('register') }}">Register</a>
@endauth @endauth
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
Route::get('/', function () { Route::get('/', function () {
return view('welcome'); return view('welcome');
}); })->name('welcome');
Auth::routes(); Auth::routes();
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter