Lots of fancy animations

- Tilt
- Parallax
- Animated Text
This commit is contained in:
Martin Prokoph
2025-01-04 19:14:05 +01:00
parent bee4d10f44
commit 7a0f88ee98
8 changed files with 104 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ const { text, url_gh, url_mr, url_cf, url_wiki = "", mod = "default" } = Astro.p
import { Icon } from 'astro-icon/components'
---
<div class="container">
<div class="container rellax" data-rellax-speed="-1.5">
<div class={"call-to-action mt-24 mb-32 flex flex-col items-center gap-12 rounded-xl p-12 md:p-24 " + mod}>
<h2 class="text-center text-3xl md:text-5xl">{text}</h2>
<div class="flex flex-col gap-3 min-[800px]:flex-row">