74 - Minor fixes

- Add logout button to onboarding menu
- remove Forgot Password
This commit is contained in:
myrmidex 2026-01-23 00:58:10 +01:00
parent 03fa4b803f
commit 16ce3b6324
2 changed files with 24 additions and 9 deletions

View file

@ -19,14 +19,7 @@
<!-- Password -->
<div class="mt-4">
<div class="flex items-center justify-between">
<x-input-label for="password" :value="__('Password')" />
@if (Route::has('password.request'))
<a class="text-sm text-blue-600 hover:text-blue-800" href="{{ route('password.request') }}">
{{ __('Forgot password?') }}
</a>
@endif
</div>
<x-text-input id="password" class="block mt-1 w-full"
type="password"

View file

@ -16,7 +16,29 @@
@livewireStyles
</head>
<body class="font-sans text-gray-900 antialiased">
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-12 bg-gradient-to-br from-blue-600 via-blue-700 to-indigo-800">
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-12 bg-gradient-to-br from-blue-600 via-blue-700 to-indigo-800 relative">
<!-- User Menu -->
@auth
<div class="absolute top-4 right-4">
<div x-data="{ open: false }" class="relative">
<button @click="open = !open" class="flex items-center space-x-2 text-white/80 hover:text-white transition">
<span class="text-sm">{{ Auth::user()->name }}</span>
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
</svg>
</button>
<div x-show="open" @click.away="open = false" x-transition class="absolute right-0 mt-2 w-48 bg-white rounded-lg shadow-lg py-1 z-50">
<form method="POST" action="{{ route('logout') }}">
@csrf
<button type="submit" class="block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
Log out
</button>
</form>
</div>
</div>
</div>
@endauth
<!-- Logo/Brand -->
<div class="mb-6">
<a href="/" class="flex flex-col items-center">