Skip to content

Commit 208f4b1

Browse files
authored
Merge pull request #87 from cusec/feat/vip-deadline
feat: remove past vip deadline
2 parents bf7f773 + 5b5efa9 commit 208f4b1

File tree

5 files changed

+28
-34
lines changed

5 files changed

+28
-34
lines changed

components/FooterModal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import {
1111
import React, { Fragment, ReactElement, useEffect } from "react";
1212
import {
1313
BodyPrimary,
14+
FooterLink,
1415
Headline,
1516
HeadlinePrimary,
1617
LinkifyText,
1718
} from "@/components/core/Text";
18-
import { FooterLink } from "@/components/StyledCore";
1919
import { useRouter } from "next/router";
2020

2121
interface FooterModalProps {

components/StyledCore.tsx

-28
This file was deleted.

components/core/Text.tsx

+25
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,31 @@ export const LinkPrimaryVariant = styled(Link)`
5151
color: white;
5252
`;
5353

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+
5479
export function LinkifyText({ children }: LinkifyProps): ReactElement {
5580
return (
5681
<Linkify

components/sections/Footer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Logo from "../svgs/logo.svg";
33
import React, { ReactElement } from "react";
44
import { Flex, Text } from "@chakra-ui/core";
55
import { GreyBackground } from "@/components/core/Layout";
6-
import { FooterLink } from "@/components/StyledCore";
6+
import { FooterLink } from "@/components/core/Text";
77
import FooterModal from "@/components/FooterModal";
88
import {
99
attributionsText,
@@ -33,7 +33,7 @@ export default function Footer(): ReactElement {
3333
<BaseContainer>
3434
<Flex
3535
width="100%"
36-
flexDirection={["column", "column", "row", "row"]}
36+
flexDirection={["column", "column", "column", "row"]}
3737
justifyContent={[
3838
"flex-start",
3939
"flex-start",

components/sections/Hero.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,6 @@ export default function Hero(): React.ReactElement {
119119
Interested in sponsoring?
120120
</LinkPrimary>
121121
</Flex>
122-
<BodyPrimary marginTop="28px">
123-
Don&apos;t miss out! <b>VIP ticket sales end Dec 10.</b>
124-
</BodyPrimary>
125122
<Flex
126123
justifyContent="center"
127124
alignItems="center"

0 commit comments

Comments
 (0)