diff --git a/src/assets/css/splash_screen.css b/src/assets/css/splash_screen.css new file mode 100644 index 0000000..5bc3d68 --- /dev/null +++ b/src/assets/css/splash_screen.css @@ -0,0 +1,71 @@ +#splash-screen { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #fff; + display: block; + justify-content: center; + align-items: center; + z-index: 1; + opacity: 1; + overflow: hidden; +} + +.splash-screen { + transition: opacity 1s ease-out; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #fff; + display: flex; + justify-content: center; + align-items: center; + z-index: 1000 !important; + opacity: 1; +} + +#splash-screen__banner { + top: 0; + left: 0; + width: 100vw; + height: 100vh; + object-fit: cover; + opacity: 0.45; +} + +.splash-screen__content { + position: absolute; + transform: translate(-50%, -50%); + text-align: left; + /* center the text */ + top: 50%; + left: 50%; +} + +.move-round-point { + position: absolute; + width: 20px; + height: 20px; + background-color: var(--link-over-color); + border-radius: 50%; + top: 80%; + left: 30%; + animation: move-round-point 1s infinite; + z-index: 1; +} + +@keyframes move-round-point { + 0% { + left: 30%; + } + 50% { + left: 70%; + } + 100% { + left: 30%; + } +} \ No newline at end of file diff --git a/src/assets/images/splash-screen.jpg b/src/assets/images/splash-screen.jpg new file mode 100644 index 0000000..c72fd49 Binary files /dev/null and b/src/assets/images/splash-screen.jpg differ diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 6035e42..bd780d3 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,4 +1,20 @@