File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 9
9
List ,
10
10
ListItem ,
11
11
SimpleGrid ,
12
+ Text ,
12
13
} from "@chakra-ui/react"
13
14
14
15
import type { FooterLink , FooterLinkSection , Lang } from "@/lib/types"
@@ -23,19 +24,16 @@ const socialLinks = [
23
24
icon : FaGithub ,
24
25
to : "https://github.com/ethereum/ethereum-org-website" ,
25
26
ariaLabel : "GitHub" ,
26
- color : "#333" ,
27
27
} ,
28
28
{
29
29
icon : FaTwitter ,
30
30
to : "https://twitter.com/ethdotorg" ,
31
31
ariaLabel : "Twitter" ,
32
- color : "#1DA1F2" ,
33
32
} ,
34
33
{
35
34
icon : FaDiscord ,
36
35
to : "https://discord.gg/ethereum-org" ,
37
36
ariaLabel : "Discord" ,
38
- color : "#7289da" ,
39
37
} ,
40
38
]
41
39
@@ -325,7 +323,7 @@ const Footer = ({ lastDeployDate }: FooterProps) => {
325
323
_hover : hoverStyles ,
326
324
sx : {
327
325
"& svg" : {
328
- fill : "text200 " ,
326
+ fill : "body.medium " ,
329
327
} ,
330
328
} ,
331
329
}
@@ -339,25 +337,25 @@ const Footer = ({ lastDeployDate }: FooterProps) => {
339
337
flexWrap = "wrap"
340
338
>
341
339
{ lastDeployDate && (
342
- < Box color = "text200" >
340
+ < Text >
343
341
< Translation id = "website-last-updated" /> :{ " " }
344
342
{ getLocaleTimestamp ( locale as Lang , lastDeployDate ) }
345
- </ Box >
343
+ </ Text >
346
344
) }
347
345
< Box my = { 4 } >
348
- { socialLinks . map ( ( { to, ariaLabel, icon, color } ) => (
346
+ { socialLinks . map ( ( { to, ariaLabel, icon } ) => (
349
347
< BaseLink
350
348
key = { to }
351
349
href = { to }
352
350
hideArrow
353
- color = "secondary "
351
+ color = "body.base "
354
352
aria-label = { ariaLabel }
355
353
ms = "4"
354
+ _focus = { { color : "primary.base" } }
356
355
>
357
356
< Icon
358
357
as = { icon }
359
358
_hover = { {
360
- color,
361
359
transition :
362
360
"color 0.2s ease-in-out, transform 0.2s ease-in-out" ,
363
361
} }
You can’t perform that action at this time.
0 commit comments