This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eslint package updated and Maintenance banner page added
1)Eslint and few packages updated 2)Maintenance banner page added 3)Route resolver added for index route
- Loading branch information
Showing
8 changed files
with
222 additions
and
211 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import './styles.scss'; | ||
|
||
/** | ||
* A component that will show the maintenance banner. | ||
*/ | ||
export default function() { | ||
return { | ||
view: () => { | ||
return m('.maintenance', m('article', [ | ||
m('h1', 'We\'ll be back soon!'), | ||
m('div',[ | ||
m('p', m.trust('Sorry for the inconvenience but we\'re performing some maintenance at the moment. If you need to you can always <a href="mailto:#">contact us</a>, otherwise we\'ll be back online shortly!')), | ||
m('p', '- The Team'), | ||
]), | ||
])); | ||
}, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.maintenance { | ||
text-align: center; | ||
padding: 150px; | ||
font: 20px Helvetica, sans-serif; | ||
color: #333; | ||
h1 { | ||
font-size: 50px; | ||
} | ||
article { | ||
display: block; | ||
text-align: left; | ||
width: 650px; | ||
margin: 0 auto; | ||
} | ||
a { | ||
color: #dc8100; | ||
text-decoration: none; | ||
} | ||
a:hover { | ||
color: #333; | ||
text-decoration: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters