Commit workspace changes
This commit is contained in:
@@ -7,6 +7,12 @@
|
||||
<h2 class="text-2xl font-semibold mb-2 text-white">Reset Password</h2>
|
||||
<p class="text-sm text-white/60 mb-6">Enter your email and we'll send a link to reset your password.</p>
|
||||
|
||||
@include('auth.partials.help-links', [
|
||||
'title' => 'Need help recovering access?',
|
||||
'description' => 'Use the auth guide for recovery basics or the troubleshooting page if the issue still feels broader than a reset link.',
|
||||
'showLogin' => true,
|
||||
])
|
||||
|
||||
<x-auth-session-status class="mt-4 mb-2 text-green-300" :status="session('status')" />
|
||||
|
||||
<form method="POST" action="{{ route('password.email') }}" class="mt-4">
|
||||
|
||||
@@ -8,6 +8,12 @@
|
||||
|
||||
<p class="text-sm text-white/60 mb-6">Access your Skinbase account.</p>
|
||||
|
||||
@include('auth.partials.help-links', [
|
||||
'title' => 'Need help signing in?',
|
||||
'description' => 'Use the signup and login guide or the troubleshooting page before spending time guessing at the wrong fix.',
|
||||
'showReset' => true,
|
||||
])
|
||||
|
||||
<x-auth-session-status class="mt-4 mb-2 text-green-300" :status="session('status')" />
|
||||
|
||||
@if($errors->has('oauth'))
|
||||
|
||||
24
resources/views/auth/partials/help-links.blade.php
Normal file
24
resources/views/auth/partials/help-links.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@php
|
||||
$title = $title ?? 'Need help?';
|
||||
$description = $description ?? 'Use the help guides when the fastest next step is still unclear.';
|
||||
$showReset = $showReset ?? false;
|
||||
$showLogin = $showLogin ?? false;
|
||||
@endphp
|
||||
|
||||
<div class="mt-6 rounded-2xl border border-sky-400/15 bg-sky-400/10 p-4">
|
||||
<p class="text-[11px] font-semibold uppercase tracking-[0.18em] text-sky-200/80">{{ $title }}</p>
|
||||
<p class="mt-2 text-sm leading-6 text-slate-200/85">{{ $description }}</p>
|
||||
|
||||
<div class="mt-4 flex flex-wrap gap-3 text-sm">
|
||||
<a href="{{ route('help.auth') }}" class="rounded-full border border-white/10 bg-white/[0.05] px-4 py-2 font-semibold text-white transition hover:border-white/20 hover:bg-white/[0.08]">Read signup and login help</a>
|
||||
<a href="{{ route('help.troubleshooting') }}" class="rounded-full border border-white/10 bg-black/20 px-4 py-2 font-semibold text-slate-200 transition hover:border-white/20 hover:bg-white/[0.05]">Open troubleshooting</a>
|
||||
|
||||
@if($showReset)
|
||||
<a href="{{ route('password.request') }}" class="rounded-full border border-white/10 bg-black/20 px-4 py-2 font-semibold text-slate-200 transition hover:border-white/20 hover:bg-white/[0.05]">Reset password</a>
|
||||
@endif
|
||||
|
||||
@if($showLogin)
|
||||
<a href="{{ route('login') }}" class="rounded-full border border-white/10 bg-black/20 px-4 py-2 font-semibold text-slate-200 transition hover:border-white/20 hover:bg-white/[0.05]">Open login</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@@ -7,6 +7,12 @@
|
||||
<h2 class="text-2xl font-semibold mb-2 text-white">Create Account</h2>
|
||||
|
||||
<p class="text-sm text-white/60 mb-6">Start with your email. You’ll choose a password and username after verification.</p>
|
||||
|
||||
@include('auth.partials.help-links', [
|
||||
'title' => 'Need help before you start?',
|
||||
'description' => 'Use the signup and login guide if you want a clearer view of verification, recovery, or what happens after the first account step.',
|
||||
])
|
||||
|
||||
@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') }}
|
||||
|
||||
Reference in New Issue
Block a user