Enhance 404 error page with custom layout and image, add admin login routes

This commit is contained in:
2025-08-24 12:47:48 +05:45
parent 6d71fe4b4a
commit 6ef55240a0
5 changed files with 64 additions and 37 deletions

View File

@@ -1,12 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h1>404</h1>
</body>
</html>
@extends('client.raffles.layouts.app')
@section('content')
<div
class="min-h-screen flex flex-col items-center justify-center bg-gradient-to-b from-yellow-100 via-white to-yellow-50 px-6">
<!-- Monkey Illustration -->
<div class="relative">
<img src="{{ asset('raffles/assets/images/404/404.png') }}" alt="Monkey" class="animate-bounce" height="500px"
width="700px">
</div>
<!-- Button -->
<a href="{{ url('/') }}"
class="mt-6 inline-block bg-yellow-400 text-gray-900 font-semibold px-6 py-3 rounded-2xl shadow-md hover:bg-yellow-500 transition duration-300">
🏠 Back to Home
</a>
</div>
@endsection

View File

@@ -20,7 +20,7 @@
<div class="row ">
@foreach ($firstCourse->custom as $index => $data)
<div class=" col col-md-3">
<a href="course-finder.php" class=" course-box rounded-10 ">
<a href="{{ route('program.coursefinder') }}" class=" course-box rounded-10 ">
<div class="">
<img class="w-ful " src="{{ asset($firstCourse->images[$index]) }}" alt="">
</div>