From 1a0b4145cbf8d88543fec4a9283e249a4a4ec913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Lozano?= Date: Thu, 23 Jan 2025 16:07:18 -0500 Subject: [PATCH 1/2] feat: improve HTML semantics and buttons animation --- src/components/Button.astro | 17 +++- src/components/Footer.astro | 172 ++++++++++++++++++++---------------- src/components/Hero.astro | 4 +- src/components/NavBar.astro | 49 +++++----- src/pages/about.astro | 4 +- src/pages/donate.astro | 4 +- src/pages/download.astro | 78 ++++++++-------- 7 files changed, 182 insertions(+), 146 deletions(-) diff --git a/src/components/Button.astro b/src/components/Button.astro index 8fc241d0..c9f974f5 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -1,4 +1,7 @@ --- +import { motion } from 'motion/react' +import { getTitleAnimation } from '../animations' + const { class: className, isPrimary, @@ -12,7 +15,10 @@ const { { href ? ( - - + ) : ( - + ) }