Footer.js
2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
import React from "react";
import styled from "styled-components";
import { Link } from "react-router-dom";
const Footer = styled.footer`
width: 100%;
border-top: 1px solid #ebeaeb;
`;
const MenuContainer = styled.div`
padding: 5rem 0;
`;
const MenuNav = styled.nav`
display: grid;
grid-gap: 2rem;
max-width: 80%;
margin: 0 auto;
grid-template-columns: repeat(3, 1fr);
`;
const MenuBlock = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
`;
const MenuTitle = styled.p`
padding: 10px;
font-weight: 600;
font-size: 1.3rem;
`;
const MenuList = styled.ul`
line-height: 2;
`;
const MenuItem = styled.li`
text-align: center;
`;
const CopyRightBox = styled.div`
width: 100%;
`;
const CopyRightBlock = styled.div`
max-width: 80%;
margin: 0 auto;
height: 2.5rem;
display: flex;
align-items: center;
`;
const CopyRightSpan = styled.span`
font-size: 1rem;
`;
export default () => {
return (
<Footer>
<MenuContainer>
<MenuNav>
<MenuBlock>
<MenuTitle>CONCEPT</MenuTitle>
<MenuList>
<MenuItem>
<Link to="/features">Features</Link>
</MenuItem>
<MenuItem>
<Link to="/goals">Goals</Link>
</MenuItem>
</MenuList>
</MenuBlock>
<MenuBlock>
<MenuTitle>CONTACT</MenuTitle>
<MenuList>
<MenuItem>
<Link to="/email">Email</Link>
</MenuItem>
<MenuItem>
<Link to="/blog">Blog</Link>
</MenuItem>
<MenuItem>
<Link to="/github">Github</Link>
</MenuItem>
</MenuList>
</MenuBlock>
<MenuBlock>
<MenuTitle>COMPANY</MenuTitle>
<MenuList>
<MenuItem>
<Link to="/about">About US</Link>
</MenuItem>
<MenuItem>
<Link to="/news">News</Link>
</MenuItem>
</MenuList>
</MenuBlock>
</MenuNav>
</MenuContainer>
<CopyRightBox>
<CopyRightBlock>
<CopyRightSpan>
@ Copyright 2020 Linker. All rights reserved. Various trademarks
held by their respective owners.
</CopyRightSpan>
</CopyRightBlock>
</CopyRightBox>
</Footer>
);
};