Skip to content

Commit

Permalink
404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
tsm15002 committed Sep 12, 2016
1 parent a7483f5 commit ad5ffab
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 2 deletions.
17 changes: 17 additions & 0 deletions dist/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,23 @@ html {
.mainFooter__subNavLink:hover::after {
width: 100%; }

.not-found {
display: block;
width: 100vw;
height: 80vh;
position: relative; }
.not-found h1 {
color: black;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); }
.not-found h1 a {
color: #9A2D98;
text-decoration: none; }
.not-found h1 a:hover {
text-decoration: underline; }

.videoWrapper {
background-color: white;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/app.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/scss/base/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
@import 'elements/subpageLayout';
@import 'elements/footer';

@import 'pages/404';
@import 'pages/landing';
@import 'pages/degrees';
@import 'pages/concentrations';
Expand Down
22 changes: 22 additions & 0 deletions src/scss/base/pages/404.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.not-found {
display:block;
width:100vw;
height:80vh;
position:relative;

h1 {
color:black;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);

a {
color:$about-us-color;
text-decoration:none;
&:hover {
text-decoration:underline;
}
}
}
}
4 changes: 3 additions & 1 deletion templates/404.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "base.twig" %}

{% block content %}
Sorry, we couldn't find what you're looking for.
<main class="not-found">

This comment has been minimized.

Copy link
@jrs06005

jrs06005 Sep 12, 2016

Can we add a u-container on this puppy too?

<h1>We're sorry, we couldn't find what you were looking for. Feel free to check out the <a href="/">Home Page</a></h1>
</main>
{% endblock %}

0 comments on commit ad5ffab

Please sign in to comment.