Merge pull request #980 from kkrisstoff/task/add-error-page

error layout added
This commit is contained in:
Дамян Минков 2016-10-24 16:31:16 -05:00 committed by GitHub
commit f271eb4610
3 changed files with 26 additions and 0 deletions

11
404.html Normal file
View File

@ -0,0 +1,11 @@
<html>
<head>
<link rel="stylesheet" href="css/all.css"/>
</head>
<body>
<div class="error_page">
<h2>404 Not Found</h2>
<p class="error_page__message">You can create new conversation <a href="/">here</a></p>
</div>
</body>
</html>

14
css/404.scss Normal file
View File

@ -0,0 +1,14 @@
.error_page {
width: 60%;
margin: 20% auto;
text-align: center;
h2 {
font-size: 36px;
}
&__message {
font-size: 24px;
margin-top: 20px;
}
}

View File

@ -64,5 +64,6 @@
@import "modals/invite/invite"; @import "modals/invite/invite";
@import "connection-info"; @import "connection-info";
@import 'aui-components/dropdown'; @import 'aui-components/dropdown';
@import '404';
/* Modules END */ /* Modules END */