1
1
import { component$ } from '@builder.io/qwik' ;
2
2
import { GitHubIcon } from '../icons/GitHubIcon' ;
3
3
import { DiscordIcon } from '../icons/discord' ;
4
+ import { cn } from '@qwik-ui/utils' ;
5
+ import { buttonVariants } from '@qwik-ui/styled' ;
4
6
5
7
export const Footer = component$ ( ( ) => {
6
8
return (
7
9
< footer class = "border-t" >
8
10
< div class = "mx-auto max-w-7xl overflow-hidden px-4 py-12 sm:px-6 lg:px-8" >
9
11
< nav class = "-mx-5 -my-2 flex flex-wrap justify-center" aria-label = "Footer" >
10
12
< 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
+ >
12
17
Headless Kit
13
18
</ a >
14
19
</ div >
15
20
< 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
+ >
17
25
Styled Kit
18
26
</ a >
19
27
</ div >
20
28
< div class = "px-5 py-2" >
21
29
< a
22
30
href = "https://discord.gg/PVWUUejrez"
23
31
target = "_blank"
24
- class = "hover:text-muted-foreground"
32
+ class = { cn ( buttonVariants ( { look : 'link' } ) ) }
25
33
>
26
34
Community
27
35
</ a >
@@ -31,7 +39,7 @@ export const Footer = component$(() => {
31
39
< a
32
40
href = "https://www.w3.org/standards/webdesign/accessibility"
33
41
target = "_blank"
34
- class = "hover:text-muted-foreground"
42
+ class = { cn ( buttonVariants ( { look : 'link' } ) ) }
35
43
>
36
44
Accessibility
37
45
</ a >
@@ -40,7 +48,7 @@ export const Footer = component$(() => {
40
48
< a
41
49
href = "https://qwik.builder.io/docs"
42
50
target = "_blank"
43
- class = "hover:text-muted-foreground"
51
+ class = { cn ( buttonVariants ( { look : 'link' } ) ) }
44
52
>
45
53
Qwik Documentation
46
54
</ a >
0 commit comments