Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loading screen in index.html #6836

Merged
merged 5 commits into from
Dec 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,34 @@

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<div id="root">
<style>
.App-logo {
height: 10vmin;
pointer-events: none;
filter: brightness(80%);
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-blink 1s linear infinite;
}
}
@keyframes App-logo-blink {
0% { opacity: 0;}
25% { opacity: 0.5;}
50% {opacity: 1;}
75% {opacity: 0.5;}
100% {opacity: 0;}
}
</style>
<div style="display: grid;place-items: center;height: 100vh; text-align: center;">
<img
class="App-logo"
src="https://cdn.coronasafe.network/light-logo.svg"
alt="Care is loading"
/>
</div>
</div>
<script type="module" src="/src/index.tsx"></script>
<script
src="https://kit.fontawesome.com/d69454c2e7.js"
Expand Down
Loading