Skip to content

Commit 251ddc8

Browse files
committed
fix: avoid sponsor link being blocked
1 parent 7fe1d80 commit 251ddc8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/Sponsors.astro

+5-5
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ const { smallPadding } = Astro.props;
5252
))
5353
}
5454
</section>
55-
<section class="not-content sponsor-link-container">
56-
<a class="sponsor-link" href="https://github.com/sponsors/johnsoncodehk">💙 Sponsor Volar 💙</a>
55+
<section class="not-content cta-github-container">
56+
<a class="cta-github" href="https://github.com/sponsors/johnsoncodehk">💙 Sponsor Volar 💙</a>
5757
</section>
5858

5959
<style>
@@ -109,16 +109,16 @@ const { smallPadding } = Astro.props;
109109
clip-path: inset(50%);
110110
overflow: hidden;
111111
}
112-
.sponsor-link-container {
112+
.cta-github-container {
113113
text-align: center;
114114
}
115-
.sponsor-link {
115+
.cta-github {
116116
font-size: 1.25rem;
117117
text-decoration: none;
118118
color: var(--sl-color-text-accent);
119119
display: inline !important;
120120
}
121-
.sponsor-link:hover {
121+
.cta-github:hover {
122122
color: var(--sl-color-accent);
123123
}
124124
</style>

0 commit comments

Comments
 (0)