Browse Source

Redesign 404 page

pull/4/head
Sebastian Gutierrez 5 years ago
parent
commit
092319c933
2 changed files with 19 additions and 53 deletions
  1. +19
    -27
      public/404.html
  2. +0
    -26
      public/style.css

+ 19
- 27
public/404.html View File

@ -7,41 +7,33 @@
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div id="header-bar" class="d-flex flex-column flex-md-row shadow-sm align-items-center">
<div id="header-title">
<a href="./index.html">
<img id="logo" src="./logo.svg" />
</a>
</div>
<div id="navigation">
<ul class="nav">
<li class="nav-item">
<a href="./FriendsGraph.html">
Generate graphs
</a>
<nav class="navbar navbar-dark bg-dark navbar-expand-md">
<a class="navbar-brand" href="/"><img src="img/githubgraph-logo.svg" alt=""></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main-menu" aria-controls="main-menu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="main-menu" class="collapse navbar-collapse">
<ul class="navbar-nav flex-fill justify-content-end">
<li class="nav-item active">
<a class="nav-link" href="./GraphGenerator.html">Generate graphs</a>
</li>
<div class="nav-sep"></div>
<li class="nav-item">
<a href="https://github.com/jrtechs/github-graphs">
View on GitHub
</a>
<a class="nav-link" href="https://github.com/jrtechs/github-graphs/">View on GitHub</a>
</li>
<div class="nav-sep"></div>
<li class="nav-item">
<a href="./about.html">
About
</a>
<a class="nav-link" href="./about.html">About</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="main">
<div id="content" class="error container text-center">
<h1 id="error-code">404</h1>
<img id="dcimg" src="./img/DolphinCroissant.png" />
<p style="padding-top: 25px;">Yeah, that page doesn't exist.</p>
<p>Maybe if you weren't so adventurous you'd avoid screens like this :)</p>
<div id="content" class="container text-center">
<h1 class="display-1 text-white font-weight-bold py-5">404</h1>
<img class="mb-4" style="width: 250px;" src="./img/DolphinCroissant.png" />
<p class="lead">Yeah, that page doesn't exist.</p>
<p class="text-muted">Maybe if you weren't so adventurous you'd avoid screens like this 😉</p>
</div>
</div>
</body>
</html>
</html>

+ 0
- 26
public/style.css View File

@ -114,29 +114,3 @@ body {
fill: var(--primary);
opacity: 1;
}
#error-code {
font-family: Comfortaa;
font-size: 200px;
color: rgb(208, 208, 208);
}
#dcimg {
width: 300px;
}
.error {
color: rgb(208, 208, 208);
}
.plink {
color: rgb(250, 152, 33);
}
.containerCustom {
width: 100%;
padding-right: 0px;
padding-left: 0px;
margin-right: 0px;
margin-left: 0px;
}

Loading…
Cancel
Save