Skip to content

Commit

Permalink
error page
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes committed Oct 18, 2024
1 parent a05dedd commit 8fd610a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/ErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function ErrorPage() {
if (error.status === 404) {
return (
<div id="error-page" className="flex flex-col items-center justify-center h-screen bg-gray-100">
<h1 className="text-4xl font-bold text-red-600">404 - Page Not Found</h1>
<h1 className="text-4xl font-bold text-blue-600">404 - Page Not Found</h1>
<p className="mt-4 text-lg text-gray-700">Sorry, the page you are looking for does not exist.</p>
<p className="mt-2 text-gray-600">
To add new routes, create a new file in <code className="bg-gray-200 p-1 rounded">app/routes</code> and register it in <code className="bg-gray-200 p-1 rounded">app.tsx</code>.
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" class="w-full h-full">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand All @@ -19,8 +19,8 @@
<script type="module" src="index.js"></script>
</head>

<body>
<div id="root" class="w-full h-screen flex items-center justify-center">
<body class="w-full h-full">
<div id="root" class="w-full w-full flex items-center justify-center">
loading...
</div>
</body>
Expand Down

0 comments on commit 8fd610a

Please sign in to comment.