diff --git a/src/components/Footer.astro b/src/components/Footer.astro index cb152f8..9df383b 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -92,7 +92,7 @@ const socialLinks = [ href={social.href} target="_blank" rel="noopener noreferrer" - class="group relative flex h-10 w-10 transform items-center justify-center rounded-full bg-zinc-100 text-zinc-500 transition-all duration-300 hover:-translate-y-1 hover:text-zinc-900 hover:ring-2 hover:ring-zinc-300 dark:bg-zinc-800 dark:text-zinc-400 dark:hover:text-zinc-100 dark:hover:ring-zinc-700" + class="hover group relative flex h-10 w-10 transform items-center justify-center rounded-full bg-zinc-100 text-zinc-500 transition-all duration-300 hover:-translate-y-1 hover:text-zinc-900 hover:ring-2 hover:ring-zinc-300 dark:bg-zinc-800 dark:text-zinc-400 dark:hover:text-zinc-100 dark:hover:ring-zinc-700" aria-label={social.name} > diff --git a/src/components/ShareButtons.astro b/src/components/ShareButtons.astro index bcd9d2e..db9c0f1 100644 --- a/src/components/ShareButtons.astro +++ b/src/components/ShareButtons.astro @@ -17,7 +17,7 @@ const encodedUrl = encodeURIComponent(url); href={`https://twitter.com/intent/tweet?text=${encodedTitle}&url=${encodedUrl}`} target="_blank" rel="noopener noreferrer" - class="rounded-full p-2 text-zinc-500 transition-all duration-300 hover:bg-zinc-100 hover:text-zinc-700 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-300" + class="hover rounded-full p-2 text-zinc-500 transition-all duration-300 hover:bg-zinc-100 hover:text-zinc-700 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-300" aria-label="Share on Twitter" > post.tags || []))]; years.map((year, index) => ( {year} diff --git a/src/styles/global.css b/src/styles/global.css index fbe5611..5c18544 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -125,13 +125,13 @@ /* Smooth hover transitions */ a, button { - transition: all 0.2s ease; + transition: all 0.5s ease; } -/* a:hover, +a.hover:hover, button:hover { - transform: translateY(-1px); -} */ + transform: translateY(-2px); +} /* Smooth page transitions */ .page-transition {