diff --git a/astro/config.ts b/astro/config.ts index 77b76e9..7c29f56 100644 --- a/astro/config.ts +++ b/astro/config.ts @@ -8,8 +8,8 @@ export const APP = [{ // Splash export const SPLASH = [ { - loading: "Spinner", // "Spinner" "Pulse" "ProgressBar" "LogoOnly" "None" - background: "#121212" + loading: "Spinner", // "Spinner" "ProgressBar" "JumpingBalls" "GlowingBars" + background: "#232323" } ] diff --git a/astro/styles/splash.scss b/astro/styles/splash.scss index aa48ba1..68cf083 100644 --- a/astro/styles/splash.scss +++ b/astro/styles/splash.scss @@ -1,3 +1,18 @@ +@keyframes splash { + 0% { + opacity: 1; + pointer-events: all; + } + 90% { + opacity: 1; + pointer-events: all; + } + 100% { + opacity: 0; + pointer-events: none; + } +} + .splash { position: fixed; z-index: 100; @@ -6,6 +21,9 @@ left: 0px; width: 100%; height: 100%; + opacity: 0; + pointer-events: none; + animation: 2.4s splash ease-in-out; .splash-content { position: fixed; top: 50%;