File tree 5 files changed +28
-34
lines changed
5 files changed +28
-34
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ import {
11
11
import React , { Fragment , ReactElement , useEffect } from "react" ;
12
12
import {
13
13
BodyPrimary ,
14
+ FooterLink ,
14
15
Headline ,
15
16
HeadlinePrimary ,
16
17
LinkifyText ,
17
18
} from "@/components/core/Text" ;
18
- import { FooterLink } from "@/components/StyledCore" ;
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" ,
Original file line number Diff line number Diff line change @@ -119,9 +119,6 @@ export default function Hero(): React.ReactElement {
119
119
Interested in sponsoring?
120
120
</ LinkPrimary >
121
121
</ Flex >
122
- < BodyPrimary marginTop = "28px" >
123
- Don't miss out! < b > VIP ticket sales end Dec 10.</ b >
124
- </ BodyPrimary >
125
122
< Flex
126
123
justifyContent = "center"
127
124
alignItems = "center"
You can’t perform that action at this time.
0 commit comments