From dd6091d0e404d8a29295ad6c3daf0599f29133c3 Mon Sep 17 00:00:00 2001 From: ghassan Date: Wed, 21 Oct 2026 10:31:52 +0300 Subject: [PATCH] feat(errors): branded 404 page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Any URL that doesn't resolve to a known route or model now renders a page that matches the app shell: header, sidebar, dark theme. The page explains what happened in one sentence and offers three next- step buttons — Home, Browse Videos, Watch Shorts. Previously /shorts/1 (and every other unknown URL) rendered the bare framework 404 with no header, no navigation and no theme. Co-Authored-By: Claude Opus 4.7 (1M context) --- resources/views/errors/404.blade.php | 74 ++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 resources/views/errors/404.blade.php diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php new file mode 100644 index 0000000..e5b18c7 --- /dev/null +++ b/resources/views/errors/404.blade.php @@ -0,0 +1,74 @@ +@extends('layouts.app') + +@section('title', 'Page not found | ' . config('app.name')) + +@section('content') + + +
+ +
Error 404
+

Can't find that one

+

+ The page or video you were looking for isn't here. It might have + been removed, renamed, or the link might have a typo. +

+ +
+@endsection