custom 404 page (#60)

This commit is contained in:
Matthew Ryan Dillon 2020-11-21 19:07:57 -07:00 committed by GitHub
parent 4601a6dc2d
commit 969416d592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>planner</title>
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<%= csrf_meta_tag() %>
<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
</head>
<body>
<nav class="navbar is-dark mb-5" role="navigation">
<div class="navbar-brand">
<%= link "planner", to: Routes.tasks_path(@conn, :index), class: "navbar-item has-text-weight-bold hast-text-info-light" %>
<a role="button" class="navbar-burger burger" data-target="nvbr">
<span></span>
<span></span>
<span></span>
</a>
</div>
<div id="nvbr" class="navbar-menu">
<div class="navbar-start"></div>
<div class="navbar-end">
<%= link "log out", to: Routes.user_session_path(@conn, :delete), method: :delete, class: "navbar-item" %>
</div>
</div>
</nav>
<main role="main" class="container">
<div>
404
</div>
</main>
</body>
</html>