Files
SkinbaseNova/resources/views/auth/login.blade.php
2026-03-05 11:24:37 +01:00

55 lines
2.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@extends('layouts.nova')
@section('content')
<div class="flex-1 flex items-center justify-center px-6 py-16 min-h-[calc(100vh-4rem)] box-border">
<div class="max-w-5xl w-full">
<div class="rounded-2xl border border-white/10 bg-slate-900/70 backdrop-blur shadow-xl p-8 auth-card">
<h2 class="text-2xl font-semibold mb-2 text-white">Login</h2>
<p class="text-sm text-white/60 mb-6">Access your Skinbase account.</p>
<x-auth-session-status class="mt-4 mb-2 text-green-300" :status="session('status')" />
@if($errors->has('oauth'))
<div class="rounded-lg bg-red-900/40 border border-red-500/40 px-4 py-3 text-sm text-red-300 mb-4">
{{ $errors->first('oauth') }}
</div>
@endif
@include('auth.partials.social-login')
<form method="POST" action="{{ route('login') }}" class="space-y-5">
@csrf
<div>
<label class="block text-sm mb-1 text-white/80" for="email">Email</label>
<input id="email" name="email" type="email" required placeholder="you@example.com" value="{{ old('email') }}" class="w-full rounded-lg bg-slate-950/70 border border-white/10 px-4 py-3 text-sm focus:outline-none focus:ring-2 focus:ring-purple-500 text-white" />
<x-input-error :messages="$errors->get('email')" class="mt-2" />
</div>
<div>
<label class="block text-sm mb-1 text-white/80" for="password">Password</label>
<input id="password" name="password" type="password" required placeholder="••••••••••" class="w-full rounded-lg bg-slate-950/70 border border-white/10 px-4 py-3 text-sm focus:outline-none focus:ring-2 focus:ring-purple-500 text-white" />
<x-input-error :messages="$errors->get('password')" class="mt-2" />
</div>
<div class="flex items-center justify-between text-sm text-white/60">
<label class="flex items-center gap-2">
<input type="checkbox" name="remember" class="rounded bg-slate-800 border-white/20" />
Remember me
</label>
@if (Route::has('password.request'))
<a href="{{ route('password.request') }}" class="text-purple-400 hover:underline">Forgot password?</a>
@endif
</div>
<button type="submit" class="w-full rounded-lg py-3 font-medium bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-400 hover:to-pink-400 text-white transition">Sign In</button>
<p class="text-sm text-center text-white/60">Dont have an account? <a href="{{ route('register') }}" class="text-purple-400 hover:underline">Create one</a></p>
</form>
</div>
</div>
</div>
@endsection