Basic routes and BeerListController methods

This commit is contained in:
2021-09-04 23:54:41 +02:00
parent 1b8e76b183
commit 26dbfeb94a
20 changed files with 146 additions and 64 deletions

View File

@@ -25,7 +25,7 @@
@if (Route::has('login'))
<div class="hidden fixed top-0 right-0 px-6 py-4 sm:block">
@auth
<a href="{{ url('/home') }}" class="text-sm text-gray-700 underline">Home</a>
<a href="{{ url('/profile') }}" class="text-sm text-gray-700 underline">Profile</a>
@else
<a href="{{ route('login') }}" class="text-sm text-gray-700 underline">Log in</a>