diff --git a/frontend/assets/style/components/_loading.scss b/frontend/assets/style/components/_loading.scss index 7a9940f777..5f59222895 100644 --- a/frontend/assets/style/components/_loading.scss +++ b/frontend/assets/style/components/_loading.scss @@ -22,3 +22,39 @@ 50% { background-position: 100% 0; } 100% { background-position: 100% 0; } } + +.main-loading-screen { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + overflow: hidden; + z-index: 1000; + display: flex; + align-items: center; + justify-content: center; + font-size: 30px; + background-color: #ededed; + + @media (prefers-color-scheme: dark) { + background-color: #2e3032; + } + + img { + display: inline-block; + width: 2.4rem; + height: auto; + transform-origin: center center; + animation: logo-rotation 5s linear infinite; + + @include from ($tablet) { + width: 3rem; + } + } + + @keyframes logo-rotation { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } + } +} diff --git a/frontend/index.html b/frontend/index.html index b852cdc0c6..5039c4b5d7 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -11,6 +11,10 @@ +
+ logo +
+