feat(auth): registration and login
This commit is contained in:
@@ -42,10 +42,30 @@
|
||||
/* Card enter animation */
|
||||
.nova-card-enter { opacity: 0; transform: translateY(10px) scale(0.995); }
|
||||
.nova-card-enter.nova-card-enter-active { transition: transform 380ms cubic-bezier(.2,.9,.2,1), opacity 380ms ease-out; opacity: 1; transform: none; }
|
||||
|
||||
/* Auth card consistency */
|
||||
.auth-card { max-width: 720px; margin-left: auto; margin-right: auto; }
|
||||
.auth-card h1 { font-size: 1.25rem; line-height: 1.2; }
|
||||
.auth-card p { color: rgba(203,213,225,0.9); }
|
||||
</style>
|
||||
@stack('head')
|
||||
</head>
|
||||
<body class="bg-nova-900 text-white min-h-screen flex flex-col">
|
||||
@php
|
||||
$authBgRoutes = [
|
||||
'login', 'register', 'register.notice', 'password.request', 'password.reset',
|
||||
'verification.notice', 'registration.verify', 'setup.password.create', 'setup.username.create', 'password.confirm'
|
||||
];
|
||||
$useAuthBackground = request()->route() && in_array(request()->route()->getName(), $authBgRoutes);
|
||||
$authBackgrounds = [
|
||||
'/gfx/skinbase_back_001.webp',
|
||||
'/gfx/skinbase_back_002.webp',
|
||||
'/gfx/skinbase_back_003.webp',
|
||||
'/gfx/skinbase_back_004.webp',
|
||||
];
|
||||
$selectedAuthBg = $useAuthBackground ? $authBackgrounds[array_rand($authBackgrounds)] : null;
|
||||
@endphp
|
||||
|
||||
<body class="bg-nova-900 text-white min-h-screen flex flex-col" @if($selectedAuthBg) style="background: url('{{ $selectedAuthBg }}') center/cover no-repeat; background-attachment: fixed;" @endif>
|
||||
|
||||
<!-- React Topbar mount point -->
|
||||
<div id="topbar-root"></div>
|
||||
|
||||
Reference in New Issue
Block a user