29 lines
985 B
PHP
29 lines
985 B
PHP
{{--
|
|
401 — Unauthorized
|
|
Use for: routes that require authentication when user is not logged in.
|
|
--}}
|
|
@extends('errors._layout', [
|
|
'error_code' => 401,
|
|
'error_title' => 'Sign In Required',
|
|
'error_message' => 'Please sign in to access this page.',
|
|
])
|
|
|
|
@section('badge', 'Unauthorized')
|
|
|
|
@section('primary-cta')
|
|
<a href="/login"
|
|
class="inline-flex items-center gap-2 rounded-xl bg-sky-500 hover:bg-sky-400 text-white font-semibold px-6 py-3 text-sm shadow-lg shadow-sky-900/30 transition-colors">
|
|
<i class="fas fa-sign-in-alt" aria-hidden="true"></i>
|
|
Sign In
|
|
</a>
|
|
@endsection
|
|
|
|
@section('secondary-ctas')
|
|
<a href="/register" class="rounded-xl border border-white/10 hover:border-white/25 text-white/70 hover:text-white px-4 py-2 text-sm transition-colors">
|
|
Create Account
|
|
</a>
|
|
<a href="/" class="rounded-xl border border-white/10 hover:border-white/25 text-white/70 hover:text-white px-4 py-2 text-sm transition-colors">
|
|
Home
|
|
</a>
|
|
@endsection
|