Use a loading spinner instead of "Loading..."
This commit is contained in:
parent
4670e046bb
commit
f76c715aba
|
@ -21,6 +21,6 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<!-- Choo replaces the body tag with the app. -->
|
<!-- Choo replaces the body tag with the app. -->
|
||||||
<body>Loading...</body>
|
<body><i class="icon-loading animate-spin"></i></body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -5,7 +5,7 @@ import headerImage from '../../dev/images/header.png';
|
||||||
export const globalView = (state, emit, view) => {
|
export const globalView = (state, emit, view) => {
|
||||||
const { i18n } = state;
|
const { i18n } = state;
|
||||||
if (i18n.needsFetch) {
|
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
|
// Create a wrapper for view content that includes global header/footer
|
||||||
return html`<body>
|
return html`<body>
|
||||||
|
|
Loading…
Reference in New Issue