@@ -38,33 +38,61 @@ export const Footer = ({
38
38
} : Omit < HTMLAttributes < HTMLElement > , "children" > ) => (
39
39
< footer
40
40
className = { clsx (
41
- "text-xs font-light sm :sticky sm :bottom-0 lg:px-4" ,
41
+ "text-xs font-light lg :sticky lg :bottom-0 lg:px-4" ,
42
42
className ,
43
43
) }
44
44
{ ...props }
45
45
>
46
46
< div className = "border-t border-neutral-600/50 bg-pythpurple-800 lg:border-x" >
47
- < MaxWidth className = "flex h-48 flex-col items-center justify-between overflow-hidden py-8 sm:h-16 sm:flex-row sm:gap-10 lg:-mx-4" >
48
- < div className = "flex flex-col items-center gap-2 sm:flex-row sm:gap-4 md:gap-8" >
49
- < Link href = "https://www.pyth.network" target = "_blank" >
50
- < Logo className = "h-10 sm:h-8" />
47
+ < MaxWidth className = "flex h-48 flex-col items-center justify-between overflow-hidden pb-4 pt-8 text-center lg:-mx-4 lg:h-16 lg:flex-row lg:gap-10 lg:py-0" >
48
+ < div className = "flex flex-col items-center gap-2 lg:flex-row lg:gap-8" >
49
+ < Link
50
+ href = "https://www.pyth.network"
51
+ target = "_blank"
52
+ className = "focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400"
53
+ >
54
+ < Logo className = "h-10 lg:h-8" />
51
55
< span className = "sr-only" > Pyth homepage</ span >
52
56
</ Link >
53
57
< div > © 2024 Pyth Data Association</ div >
54
58
</ div >
55
- < div className = "relative flex h-full items-center sm:-right-3" >
56
- { SOCIAL_LINKS . map ( ( { name, icon : Icon , href } ) => (
59
+ < div className = "flex flex-col items-center gap-6 lg:flex-row-reverse lg:gap-8 xl:gap-16" >
60
+ < div className = "relative flex h-full items-center lg:-right-3" >
61
+ { SOCIAL_LINKS . map ( ( { name, icon : Icon , href } ) => (
62
+ < Link
63
+ target = "_blank"
64
+ href = { href }
65
+ key = { name }
66
+ className = "grid h-full place-content-center px-3 transition hover:text-pythpurple-400 focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400"
67
+ rel = "noreferrer"
68
+ >
69
+ < Icon className = "size-4" />
70
+ < span className = "sr-only" > { name } </ span >
71
+ </ Link >
72
+ ) ) }
73
+ </ div >
74
+ < div className = "flex flex-row gap-1 xl:gap-4" >
57
75
< Link
76
+ className = "-my-1 px-2 py-1 focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400"
58
77
target = "_blank"
59
- href = { href }
60
- key = { name }
61
- className = "grid h-full place-content-center px-3 hover:text-pythpurple-400"
62
- rel = "noreferrer"
78
+ href = "https://pythdataassociation.com/privacy-policy"
63
79
>
64
- < Icon className = "size-4" />
65
- < span className = "sr-only" > { name } </ span >
80
+ Privacy Policy
66
81
</ Link >
67
- ) ) }
82
+ < Link
83
+ className = "-my-1 px-2 py-1 focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400"
84
+ target = "_blank"
85
+ href = "https://pythdataassociation.com/terms-of-use"
86
+ >
87
+ Terms of Use
88
+ </ Link >
89
+ < Link
90
+ className = "-my-1 px-2 py-1 focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400"
91
+ href = "/terms-of-service"
92
+ >
93
+ Terms of Service
94
+ </ Link >
95
+ </ div >
68
96
</ div >
69
97
</ MaxWidth >
70
98
</ div >
0 commit comments