File tree 4 files changed +28
-31
lines changed
4 files changed +28
-31
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import {
15
15
HeadlinePrimary ,
16
16
LinkifyText ,
17
17
} from "@/components/core/Text" ;
18
- import { FooterLink } from "@/components/StyledCore " ;
18
+ import { FooterLink } from "@/components/core/Text " ;
19
19
import { useRouter } from "next/router" ;
20
20
21
21
interface FooterModalProps {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -51,6 +51,31 @@ export const LinkPrimaryVariant = styled(Link)`
51
51
color: white;
52
52
` ;
53
53
54
+ export const FooterLink = styled ( Link ) `
55
+ color: #616161;
56
+ margin: 5px 8px;
57
+ padding-bottom: 1px;
58
+ position: relative;
59
+
60
+ &:after {
61
+ background: ${ theme . colors . brand . teal } ;
62
+ bottom: 0;
63
+ content: "";
64
+ height: 4px;
65
+ left: 0;
66
+ opacity: 0;
67
+ position: absolute;
68
+ transform: translateY(3px);
69
+ transition: opacity 0.2s ease, transform 0.2s ease;
70
+ width: 100%;
71
+ }
72
+
73
+ &:hover::after {
74
+ opacity: 1;
75
+ transform: translateY(0);
76
+ }
77
+ ` ;
78
+
54
79
export function LinkifyText ( { children } : LinkifyProps ) : ReactElement {
55
80
return (
56
81
< Linkify
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Logo from "../svgs/logo.svg";
3
3
import React , { ReactElement } from "react" ;
4
4
import { Flex , Text } from "@chakra-ui/core" ;
5
5
import { GreyBackground } from "@/components/core/Layout" ;
6
- import { FooterLink } from "@/components/StyledCore " ;
6
+ import { FooterLink } from "@/components/core/Text " ;
7
7
import FooterModal from "@/components/FooterModal" ;
8
8
import {
9
9
attributionsText ,
@@ -33,7 +33,7 @@ export default function Footer(): ReactElement {
33
33
< BaseContainer >
34
34
< Flex
35
35
width = "100%"
36
- flexDirection = { [ "column" , "column" , "row " , "row" ] }
36
+ flexDirection = { [ "column" , "column" , "column " , "row" ] }
37
37
justifyContent = { [
38
38
"flex-start" ,
39
39
"flex-start" ,
You can’t perform that action at this time.
0 commit comments