login and register links added

This commit is contained in:
Benjamin Takats
2022-11-30 17:19:02 +01:00
parent d315ba31cd
commit 8953598a60
6 changed files with 18 additions and 18 deletions

View File

@@ -1,10 +1,10 @@
<x-guest-layout> <x-guest-layout>
<x-jet-authentication-card> <x-jet-authentication-card>
<x-slot name="logo"> <x-slot name="logo">
<x-jet-authentication-card-logo /> <x-jet-authentication-card-logo/>
</x-slot> </x-slot>
<x-jet-validation-errors class="mb-4" /> <x-jet-validation-errors class="mb-4"/>
@if (session('status')) @if (session('status'))
<div class="mb-4 font-medium text-sm text-green-600"> <div class="mb-4 font-medium text-sm text-green-600">
@@ -16,25 +16,28 @@
@csrf @csrf
<div> <div>
<x-jet-label for="email" value="{{ __('Email') }}" /> <x-jet-label for="email" value="{{ __('Email') }}"/>
<x-jet-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus /> <x-jet-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')"
required autofocus/>
</div> </div>
<div class="mt-4"> <div class="mt-4">
<x-jet-label for="password" value="{{ __('Password') }}" /> <x-jet-label for="password" value="{{ __('Password') }}"/>
<x-jet-input id="password" class="block mt-1 w-full" type="password" name="password" required autocomplete="current-password" /> <x-jet-input id="password" class="block mt-1 w-full" type="password" name="password" required
autocomplete="current-password"/>
</div> </div>
<div class="block mt-4"> <div class="block mt-4">
<label for="remember_me" class="flex items-center"> <label for="remember_me" class="flex items-center">
<x-jet-checkbox id="remember_me" name="remember" /> <x-jet-checkbox id="remember_me" name="remember"/>
<span class="ml-2 text-sm text-gray-600">{{ __('Remember me') }}</span> <span class="ml-2 text-sm text-gray-600">{{ __('Remember me') }}</span>
</label> </label>
</div> </div>
<div class="flex items-center justify-end mt-4"> <div class="flex items-center justify-end mt-4">
@if (Route::has('password.request')) @if (Route::has('password.request'))
<a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('password.request') }}"> <a class="underline text-sm text-gray-600 hover:text-gray-900"
href="{{ route('password.request') }}">
{{ __('Forgot your password?') }} {{ __('Forgot your password?') }}
</a> </a>
@endif @endif

View File

@@ -20,11 +20,11 @@
<div></div> <div></div>
@else @else
<div class="inline-flex items-center ml-5 text-lg space-x-6 lg:justify-end"> <div class="inline-flex items-center ml-5 text-lg space-x-6 lg:justify-end">
<a href="{{ route('nova.login') }}" <a href="{{ route('login') }}"
class="text-base font-medium leading-6 text-gray-400 hover:text-gray-300 whitespace-no-wrap transition duration-150 ease-in-out"> class="text-base font-medium leading-6 text-gray-400 hover:text-gray-300 whitespace-no-wrap transition duration-150 ease-in-out">
Login Login
</a> </a>
<a href="#" <a href="{{ route('register') }}"
class="inline-flex items-center justify-center px-4 py-2 font-medium leading-6 text-gray-200 hover:text-white whitespace-no-wrap bg-gray-800 border border-transparent rounded shadow-sm hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-800"> class="inline-flex items-center justify-center px-4 py-2 font-medium leading-6 text-gray-200 hover:text-white whitespace-no-wrap bg-gray-800 border border-transparent rounded shadow-sm hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-800">
Registrieren Registrieren
</a> </a>

View File

@@ -1,5 +1,5 @@
<x-guest-layout> <x-guest-layout>
<div class="pt-4 bg-gray-100"> <div class="pt-4 bg-21gray">
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0"> <div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
<div> <div>
<x-jet-authentication-card-logo /> <x-jet-authentication-card-logo />

View File

@@ -1,8 +1,8 @@
<x-guest-layout> <x-guest-layout>
<div class="pt-4 bg-gray-100"> <div class="pt-4 bg-21gray">
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0"> <div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
<div> <div>
<x-jet-authentication-card-logo /> <x-jet-authentication-card-logo/>
</div> </div>
<div class="w-full sm:max-w-2xl mt-6 p-6 bg-white shadow-md overflow-hidden sm:rounded-lg prose"> <div class="w-full sm:max-w-2xl mt-6 p-6 bg-white shadow-md overflow-hidden sm:rounded-lg prose">

View File

@@ -1,6 +1,3 @@
<a href="/"> <a href="/">
<svg class="w-16 h-16" viewbox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <img src="{{ asset('img/einundzwanzig-horizontal-inverted.svg') }}" alt="">
<path d="M11.395 44.428C4.557 40.198 0 32.632 0 24 0 10.745 10.745 0 24 0a23.891 23.891 0 0113.997 4.502c-.2 17.907-11.097 33.245-26.602 39.926z" fill="#6875F5"/>
<path d="M14.134 45.885A23.914 23.914 0 0024 48c13.255 0 24-10.745 24-24 0-3.516-.756-6.856-2.115-9.866-4.659 15.143-16.608 27.092-31.75 31.751z" fill="#6875F5"/>
</svg>
</a> </a>

View File

@@ -1,4 +1,4 @@
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100"> <div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-21gray">
<div> <div>
{{ $logo }} {{ $logo }}
</div> </div>