-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
31 lines (28 loc) · 1.07 KB
/
404.php
File metadata and controls
31 lines (28 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
require_once __DIR__ . '/vite.php';
?>
<!doctype html>
<html lang="en" class="h-full">
<head>
<meta charset="utf-8">
<title>Page Not Found</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php foreach (vite_css('src/main.js') as $css): ?>
<link rel="stylesheet" href="<?= $css ?>">
<?php endforeach; ?>
</head>
<body class="bg-black text-white h-full">
<main class="grid min-h-full place-items-center px-6 py-24 sm:py-32 lg:px-8">
<div class="text-center">
<p class="text-base font-semibold">404</p>
<h1 class="mt-4 text-3xl font-bold tracking-tight sm:text-5xl">Page not found</h1>
<p class="mt-4 text-base leading-7 text-white/75">Sorry, we couldn’t find the page you’re looking for.</p>
</div>
</main>
<?php if ($client = vite_client()): ?>
<script type="module" src="<?= $client ?>"></script>
<?php endif; ?>
<script type="module" src="<?= vite_asset('src/main.js') ?>"></script>
</body>
</html>
<!-- IE needs 512+ bytes: https://docs.microsoft.com/archive/blogs/ieinternals/friendly-http-error-pages -->