-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFooter.js
42 lines (39 loc) · 1.02 KB
/
Footer.js
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
import RouterLink from 'next/link'
import Spacer from '../components/Spacer'
function FooterLink({ href, children }) {
return (
<RouterLink href={href}>
<a
style={{
padding: '0 4px',
color: 'red',
}}>
{children}
</a>
</RouterLink>
)
}
export default function Footer() {
return (
<div
style={{
padding: '30px 10px 50px',
fontSize: 14,
backgroundColor: 'rgb(235, 235, 235)',
}}>
<p style={{ textAlign: 'center' }}>Brought to you with ♥︎ by OneGraph.</p>
<div
style={{
justifyContent: 'center',
flexDirection: 'row',
paddingTop: 5,
}}>
<FooterLink href="https://github.com/OneGraph/onegraph-examples/tree/master/examples/youtube-captions">
GitHub
</FooterLink>
<FooterLink href="https://www.onegraph.com">OneGraph</FooterLink>
<FooterLink href="https://twitter.com/onegraphio">Twitter</FooterLink>
</div>
</div>
)
}