From f7234238fd2fa3b279a580cf41476eb97c013c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lobo?= <30907944+joaodiaslobo@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:51:45 +0000 Subject: [PATCH] feat: squiggly animation (#21) --- astro.config.mjs | 4 +- src/components/splash.astro | 4 +- src/components/squigglyAnimation.astro | 61 ++++++++++++++++++++++++++ src/data/faqs.json | 21 +++------ tailwind.config.cjs | 12 +++++ 5 files changed, 85 insertions(+), 17 deletions(-) create mode 100644 src/components/squigglyAnimation.astro diff --git a/astro.config.mjs b/astro.config.mjs index 382ef00a..c93de96a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,5 +7,5 @@ import react from "@astrojs/react"; // https://astro.build/config export default defineConfig({ site: "https://astro-moon-landing.netlify.app/", - integrations: [tailwind(), icon(), react()] -}); \ No newline at end of file + integrations: [tailwind(), icon(), react()], +}); diff --git a/src/components/splash.astro b/src/components/splash.astro index 589caf6f..fbe3d5e6 100644 --- a/src/components/splash.astro +++ b/src/components/splash.astro @@ -3,6 +3,7 @@ import { Image } from "astro:assets"; import { Icon } from "astro-icon/components"; import gubImage from "~/assets/Bicho.svg"; import background from "/public/background.jpg"; +import SquigglyAnimation from "~/components/squigglyAnimation.astro"; ---
@@ -32,7 +33,7 @@ import background from "/public/background.jpg"; >

HACKATHON

-

BUGSBYTE

+

BUGSBYTE

5 - 7 APRIL

@@ -41,6 +42,7 @@ import background from "/public/background.jpg";
+