mirror of
https://github.com/timvisee/send.git
synced 2026-04-17 21:44:13 -04:00
refactored css, including some markup changes
This commit is contained in:
11
app/pages/error/error.css
Normal file
11
app/pages/error/error.css
Normal file
@@ -0,0 +1,11 @@
|
||||
.errorPage {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.errorPage__img {
|
||||
margin: 51px 0 71px;
|
||||
}
|
||||
10
app/pages/error/index.js
Normal file
10
app/pages/error/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const html = require('choo/html');
|
||||
const assets = require('../../../common/assets');
|
||||
|
||||
module.exports = function(state) {
|
||||
return html`
|
||||
<div class="errorPage">
|
||||
<div class="title">${state.translate('errorPageHeader')}</div>
|
||||
<img class="errorPage__img" src="${assets.get('illustration_error.svg')}"/>
|
||||
</div>`;
|
||||
};
|
||||
Reference in New Issue
Block a user