Skip to content

Commit 2187b97

Browse files
committed
Fix brands icons.
1 parent 9518e51 commit 2187b97

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/SponsorCard.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const socialLinks = [
164164
class={`social-icon ${iconColor}`}
165165
>
166166
<span class="social-icon-inner">
167-
<Icon name={link.icon} size="fa-lg" />
167+
<Icon name={link.icon} style="brands" size="fa-lg" />
168168
</span>
169169
</a>
170170
);

src/components/ui/Icon.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
const {
33
name,
44
svg = false,
5+
style="solid",
56
class: className = "",
67
size = "", // Default size (Tailwind)
78
label = "",
@@ -20,7 +21,7 @@ const {
2021
</svg>
2122
) : (
2223
<i
23-
class={`fa-solid fa-${name} ${size} ${className}`}
24+
class={`fa-${style} fa-${name} ${size} ${className}`}
2425
aria-label={label || undefined}
2526
role={label ? role : "presentation"}
2627
aria-hidden={!label}

src/layouts/Layout.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const externalDomain = new URL(Astro.site || "").hostname;
3131
</Fragment>
3232

3333
<body>
34-
3534
<header>
3635
<Header />
3736
</header>

0 commit comments

Comments
 (0)