Use a loading spinner instead of "Loading..."

This commit is contained in:
Robbie Antenesse 2019-10-28 00:02:19 -06:00
parent 4670e046bb
commit f76c715aba
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@
</head>
<!-- Choo replaces the body tag with the app. -->
<body>Loading...</body>
<body><i class="icon-loading animate-spin"></i></body>
</html>

View File

@ -5,7 +5,7 @@ import headerImage from '../../dev/images/header.png';
export const globalView = (state, emit, view) => {
const { i18n } = state;
if (i18n.needsFetch) {
return html`<body>Loading...</body>`;
return html`<body><i class="icon-loading animate-spin"></i></body>`;
}
// Create a wrapper for view content that includes global header/footer
return html`<body>