Skip to content

Commit e0f8b3c

Browse files
committed
Remove backdrop blur utility and simplify footer and social link styles
1 parent bc73fbb commit e0f8b3c

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/components/Footer.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Icon } from "astro-icon/components";
1313
<div
1414
class="bg-gradient-to-br from-teal-500 to-blue-600 dark:from-teal-600 dark:to-blue-700 text-white rounded-xl shadow-lg overflow-hidden transform transition-transform hover:scale-[1.02] duration-300"
1515
>
16-
<div class="p-6 backdrop-blur-sm bg-black/5 dark:bg-black/20">
16+
<div class="p-6 bg-black/5 dark:bg-black/20">
1717
<h2 class="text-xl font-bold mb-4 text-center">Let's connect</h2>
1818
<div class="flex flex-wrap justify-center gap-3">
1919
<Social

src/components/Social.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const socialPlatforms = {
5050

5151
<a
5252
href={socialPlatforms[platform].url}
53-
class={`inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium backdrop-blur-sm border border-white/10 ${socialPlatforms[platform].color} transition-all duration-300 hover:scale-105 hover:-translate-y-0.5 focus:outline-none focus-visible:ring-2 focus-visible:ring-teal-500 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent shadow-sm hover:shadow-md active:scale-95`}
53+
class={`inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium border border-white/10 ${socialPlatforms[platform].color} transition-all duration-300 hover:scale-105 hover:-translate-y-0.5 focus:outline-none focus-visible:ring-2 focus-visible:ring-teal-500 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent shadow-sm hover:shadow-md active:scale-95`}
5454
target="_blank"
5555
rel="noopener noreferrer"
5656
aria-label={`Follow me on ${socialPlatforms[platform].title}`}

src/styles/global.css

-6
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,3 @@ a:hover {
292292
display: none;
293293
}
294294
}
295-
296-
/* Utility Classes */
297-
.blur-backdrop {
298-
backdrop-filter: blur(8px);
299-
-webkit-backdrop-filter: blur(8px);
300-
}

0 commit comments

Comments
 (0)