diff --git a/apps/website/src/pages/index.astro b/apps/website/src/pages/index.astro index fcd10c1..99b4071 100644 --- a/apps/website/src/pages/index.astro +++ b/apps/website/src/pages/index.astro @@ -9,8 +9,16 @@ import Layout from "src/layouts/Layout.astro";

- QWIK - ASTRO + { + "QWIK ASTRO".split("").map((letter, i) => ( + + {letter} + + )) + }

h1 { margin-block: var(--space-m); + display: flex !important; } .grid-line { @@ -59,13 +68,15 @@ import Layout from "src/layouts/Layout.astro"; .intro h1 { display: flex; - gap: 20px; } .intro > span { font-size: var(--step-1); margin-block: var(--space-m); display: block; + animation: fade-in 0.5s forwards; + animation-delay: 2s; + opacity: 0; } .navigation { @@ -73,4 +84,24 @@ import Layout from "src/layouts/Layout.astro"; flex-wrap: wrap; gap: var(--space-xs); } + + .letter { + display: inline-block; + opacity: 0; + animation: fade-in 0.5s forwards; + animation-timing-function: cubic-bezier(0.8, -0.4, 0.5, 1); + } + + @keyframes fade-in { + from { + opacity: 0; + transform: translateY(var(--space-xs)); + filter: blur(8px); + } + to { + opacity: 1; + transform: translateY(0); + filter: blur(0); + } + }