refactored css, including some markup changes
This commit is contained in:
parent
3163edcbe4
commit
8d41111cd6
62 changed files with 5731 additions and 4078 deletions
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>`;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue