Files
SkinbaseNova/resources/views/errors/http.blade.php

29 lines
1.1 KiB
PHP

{{--
Generic HTTP error fallback.
Used when Laravel throws an HttpException with a status code that does not
have its own dedicated errors/<status>.blade.php template yet.
--}}
@extends('errors._layout', [
'error_code' => $error_code ?? 500,
'error_title' => $error_title ?? 'Unexpected Error',
'error_message' => $error_message ?? 'Something went wrong while loading this page.',
])
@section('badge', 'Request Error')
@section('primary-cta')
<button onclick="window.location.reload()"
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 cursor-pointer">
<i class="fas fa-redo" aria-hidden="true"></i>
Try Again
</button>
@endsection
@section('secondary-ctas')
<a href="/discover/trending" 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">
Browse Discover
</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