Skip to content

Commit

Permalink
Add loading screen in index.html (#6836)
Browse files Browse the repository at this point in the history
  • Loading branch information
jainvedant392 committed Dec 13, 2023
1 parent 0adb29d commit cdbe306
Showing 1 changed file with 28 additions and 1 deletion.
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

0 comments on commit cdbe306

Please sign in to comment.