Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 404 error page #89

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions app/views/404.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<!-- views/404.php -->
<?php require APPROOT . '/views/inc/header.php'; ?>

<div class="container">
<h1>404 - Page Not Found</h1>
<p>The page you are looking for does not exist.</p>
<div class="container" style="text-align: center">
<img class="error-img" style="width: 550px; margin-top: 30px;" src="<?php echo URLROOT ?>/images/404-img.jpg" alt="">
<br><br>
<a href="<?php echo URLROOT ?>/<?php echo $_SESSION['user_type'] ?>/index" class="error-btn">Go to home</a>
</div>

<?php require APPROOT . '/views/inc/footer.php'; ?>
18 changes: 18 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@
font-size: 50px;
}

.container .error-img{
width: 50px
}

.container .error-btn{
text-decoration: none;
border: 2px solid rgb(255,167,41);
border-radius: 20px;
padding: 10px;
color: black;
transition: 0.5s;
}

.container .error-btn:hover{
box-shadow: 0 0 10px 0.1px rgba(0, 0, 0, 0.20);
scale: 1.1;
}

/* ----------------- Merchandiser Dashboard Styles ---------------- */
.page-container .section .container .emptyParking{
margin-top: 100px;
Expand Down
Binary file added public/images/404-img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading