towerops/lib/towerops_web/controllers/error_html/404.html.heex
Graham McIntire 5a7cdc7138 refactor: apply custom color palette across entire codebase
- Replace gray->cool-steel, blue/indigo->cerulean, red->sweet-salmon, yellow/amber->wheat
- Dark sidebar: sidebar/footer use cool-steel-800 bg, text lightened for contrast
- ~11,600 color replacements across ~99 files
- Update tests for new color class names
2026-06-23 10:58:48 -05:00

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-cool-steel-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-cerulean-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-cerulean-600 text-white hover:bg-cerulean-500 active:bg-cerulean-800 transition-colors"
>
{t("Go back home")}
</a>
</div>
</div>
</body>
</html>