cannery/lib/cannery_web/controllers/error_html/error.html.heex

34 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2022-02-08 22:56:57 -05:00
<!DOCTYPE html>
<html lang="en" class="m-0 p-0 w-full h-full">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
2023-02-04 10:28:13 -05:00
<%= dgettext("errors", "Error") %> | <%= gettext("Cannery") %>
2022-02-08 22:56:57 -05:00
</title>
<link rel="stylesheet" href="/css/app.css" />
2022-04-19 20:08:12 -04:00
<script defer type="text/javascript" src="/js/app.js">
</script>
2022-02-08 22:56:57 -05:00
</head>
<body class="pb-8 m-0 p-0 w-full h-full">
<header>
2023-02-26 00:40:55 -05:00
<.topbar current_user={assigns[:current_user]} />
2022-02-08 22:56:57 -05:00
</header>
<div class="pb-8 w-full flex flex-col justify-center items-center text-center">
2022-04-19 20:08:12 -04:00
<div class="p-8 sm:p-16 w-full flex flex-col justify-center items-center space-y-4 max-w-3xl">
2022-02-17 22:29:01 -05:00
<h1 class="title text-primary-600 text-3xl">
2022-02-08 22:56:57 -05:00
<%= @error_string %>
</h1>
2022-02-17 21:24:59 -05:00
<hr class="w-full hr" />
2022-02-08 22:56:57 -05:00
2023-04-14 23:34:11 -04:00
<.link href={~p"/"} class="link title text-primary-600 text-lg">
2022-02-08 22:56:57 -05:00
<%= dgettext("errors", "Go back home") %>
2023-03-18 01:03:55 -04:00
</.link>
2022-02-08 22:56:57 -05:00
</div>
</div>
</body>
</html>