Skip to content
Permalink
Browse files

Add layouts for the error pages

  • Loading branch information...
nlaz committed Feb 26, 2019
1 parent e3180e2 commit 77ec1f23d5e00c869b51387a17343b41c5774f13
@@ -0,0 +1,5 @@
<div class="container py-5 my-5 text-muted text-center">
<h1 class="h5">This isn't the page you are looking for.</h1>
<p>We couldn't find this page. Please check your URL or go back home.<p>
<a href="/" class="btn btn-primary">Go back home</a>
</div>
@@ -0,0 +1,5 @@
<div class="container py-5 my-5 text-muted text-center">
<h1 class="h5">This isn't the page you are looking for.</h1>
<p>We couldn't find this page. Please check your URL or go back home.<p>
<a href="/" class="btn btn-primary">Go back home</a>
</div>
@@ -0,0 +1,5 @@
<div class="container py-5 my-5 text-muted text-center">
<h1 class="h5">Oops, Something went wrong.</h1>
<p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<a href="/" class="btn btn-primary">Go back home</a>
</div>
@@ -10,7 +10,9 @@
<link rel="stylesheet" href="/css/style.css" />
</head>
<body>
{{> header }} {{{ body }}} {{> footer }}
{{> header }}
{{{ body }}}
{{> footer }}

<!-- Scripts for Bootstrap -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
@@ -1 +1 @@
{{! Add a footer here if you like }}
{{! Add a global footer here if you like }}
@@ -1,37 +1,27 @@
<nav class="navbar navbar-expand-lg navbar-dark bg-gray-dark text-white">
<div class="container">
<a class="text-white link-reset text-inherit pr-3" href="/"> My Hackathon Project </a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown">
<a
class="nav-link dropdown-toggle"
href="#"
id="navbarDropdown"
role="button"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Tutorials
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/tutorial/requesting">Requesting Data</a>
<a class="dropdown-item" href="/tutorial/requesting">
Requesting Data
</a>
</div>
</li>
<li class="nav-item"><a class="nav-link text-inherit" href="/auth/login/github"> Login with GitHub </a></li>
<li class="nav-item">
<a class="nav-link text-inherit" href="/auth/login/github">
Login with GitHub
</a>
</li>
</ul>
</div>
</div>

0 comments on commit 77ec1f2

Please sign in to comment.
You can’t perform that action at this time.