Skip to content

Commit d59c1c6

Browse files
committed
docs(footer): set a tags as link buttonVariants
1 parent 1b9e26b commit d59c1c6

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

apps/website/src/components/footer/footer.tsx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,35 @@
11
import { component$ } from '@builder.io/qwik';
22
import { GitHubIcon } from '../icons/GitHubIcon';
33
import { DiscordIcon } from '../icons/discord';
4+
import { cn } from '@qwik-ui/utils';
5+
import { buttonVariants } from '@qwik-ui/styled';
46

57
export const Footer = component$(() => {
68
return (
79
<footer class="border-t">
810
<div class="mx-auto max-w-7xl overflow-hidden px-4 py-12 sm:px-6 lg:px-8">
911
<nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer">
1012
<div class="px-5 py-2">
11-
<a href="/docs/headless/introduction" class="hover:text-muted-foreground">
13+
<a
14+
href="/docs/headless/introduction"
15+
class={cn(buttonVariants({ look: 'link' }))}
16+
>
1217
Headless Kit
1318
</a>
1419
</div>
1520
<div class="px-5 py-2">
16-
<a href="/docs/styled/introduction" class="hover:text-muted-foreground">
21+
<a
22+
href="/docs/styled/introduction"
23+
class={cn(buttonVariants({ look: 'link' }))}
24+
>
1725
Styled Kit
1826
</a>
1927
</div>
2028
<div class="px-5 py-2">
2129
<a
2230
href="https://discord.gg/PVWUUejrez"
2331
target="_blank"
24-
class="hover:text-muted-foreground"
32+
class={cn(buttonVariants({ look: 'link' }))}
2533
>
2634
Community
2735
</a>
@@ -31,7 +39,7 @@ export const Footer = component$(() => {
3139
<a
3240
href="https://www.w3.org/standards/webdesign/accessibility"
3341
target="_blank"
34-
class="hover:text-muted-foreground"
42+
class={cn(buttonVariants({ look: 'link' }))}
3543
>
3644
Accessibility
3745
</a>
@@ -40,7 +48,7 @@ export const Footer = component$(() => {
4048
<a
4149
href="https://qwik.builder.io/docs"
4250
target="_blank"
43-
class="hover:text-muted-foreground"
51+
class={cn(buttonVariants({ look: 'link' }))}
4452
>
4553
Qwik Documentation
4654
</a>

0 commit comments

Comments
 (0)