mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-13 17:55:47 +00:00

- replace rollup config with vitejs - use vite dev server during development to take advantage of hot module replacement (HMR) - add vite service using Vite library to load css and js assets - update package.json scripts and remove unnecessary dependencies - update scripts/bundle-prepare.sh closes #107
30 lines
904 B
PHP
30 lines
904 B
PHP
<?= helper(['components', 'svg']) ?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>404 Page Not Found</title>
|
|
<?= service('vite')->asset('styles/index.css', 'css') ?>
|
|
</head>
|
|
|
|
<body class="flex flex-col items-center justify-center min-h-screen px-2 text-center bg-gray-100">
|
|
<?= svg('castopod-mascot_confused', 'h-64') ?>
|
|
<h1 class="text-3xl font-bold font-display md:text-4xl lg:text-5xl">404 - File Not Found</h1>
|
|
|
|
<p class="mb-6 text-lg text-gray-600 md:text-xl lg:text-2xl">
|
|
<?php if (isset($message) && $message !== '(null)'): ?>
|
|
<?= esc($message) ?>
|
|
<?php else: ?>
|
|
Sorry! Cannot seem to find the page you were looking for.
|
|
<?php endif; ?>
|
|
</p>
|
|
|
|
<?= button(lang('Common.go_back'), previous_url(), [
|
|
'variant' => 'primary',
|
|
'iconLeft' => 'arrow-left',
|
|
]) ?>
|
|
</body>
|
|
|
|
</html>
|