towerops/lib/towerops_web/controllers/error_html/404.html.heex

45 lines
1.5 KiB
Text

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{t("404 - Page Not Found")}</title>
<link phx-track-static rel="stylesheet" href="/assets/css/app.css" />
</head>
<body class="bg-white dark:bg-gray-900">
<div class="min-h-screen flex flex-col items-center justify-center px-4 sm:px-6 lg:px-8">
<div class="max-w-2xl w-full text-center">
<!-- Logo -->
<img src="/images/towerops_logo.png" alt="Towerops" class="h-16 w-auto mx-auto mb-8" />
<!-- Error Code -->
<h1 class="text-9xl font-bold text-blue-600 mb-4">404</h1>
<!-- Squirrel Image -->
<div class="mb-8">
<img
src="/images/squirrel.jpg"
alt={t("Squirrel eating wires")}
class="rounded-2xl shadow-xl mx-auto max-w-md w-full"
/>
</div>
<!-- Error Message -->
<h2 class="text-3xl font-bold text-slate-900 mb-4">
{t("Oops, a squirrel must have eaten that wire!")}
</h2>
<p class="text-lg text-slate-600 mb-8">
{t("The page you're looking for could not be found.")}
</p>
<!-- Back Home Button -->
<a
href="/"
class="inline-flex items-center justify-center rounded-full py-3 px-6 text-sm font-semibold bg-blue-600 text-white hover:bg-blue-500 active:bg-blue-800 transition-colors"
>
{t("Go back home")}
</a>
</div>
</div>
</body>
</html>