added blank loading page

This commit is contained in:
Kenneth Jao 2017-05-02 21:02:03 -04:00
parent 134fc05b7e
commit 73606f87f5
5 changed files with 66 additions and 2 deletions

View File

@ -0,0 +1,44 @@
#fourohfour {
color: #FFF;
width: 100%;
height: 100%;
background-color: #222328;
cursor: default;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#first {
font-size: 20vh;
margin: auto;
text-align: center;
-webkit-filter: drop-shadow(7px 7px 5px #111);
filter: drop-shadow(7px 7px 5px #111);
}
#second {
font-size: 5vh;
font-weight: 200;
margin: auto;
margin-top: 5%;
text-align: center;
-webkit-filter: drop-shadow(7px 7px 5px #111);
filter: drop-shadow(7px 7px 5px #111);
}
#foot {
color: #888;
font-size: 2vh;
font-weight: 200;
width: 100%;
text-align: center;
position: absolute;
bottom: 0;
}

View File

@ -0,0 +1,7 @@
<template name="NotFound">
<div id="fourohfour">
<h4 id="first">404</h4>
<h4 id="second">Nothin' to see here!</h4>
<h4 id="foot">Hackers: If you thought by typing in a sub-directory that you'd be able to hack us, you're sorely mistaken! Just stop.</h4>
</div>
</template>

View File

@ -0,0 +1,8 @@
#loadCont {
color: #FFF;
width: 100%;
height: 100%;
background-color: #222328;
cursor: default;
}

View File

@ -0,0 +1,4 @@
<template name="loading">
<div id="loadCont">
</div>
</template>

View File

@ -33,7 +33,7 @@ Router.route('/', {
if(Meteor.Device.isPhone()) {
this.render("mobile");
} else {
this.render("main");
this.render("loading");
}
}
}
@ -82,5 +82,6 @@ Router.route('/profile', {
});
Router.configure({
notFoundTemplate: "NotFound"
notFoundTemplate: "NotFound",
loadingTemplate: "loading"
});