-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
foot-site.server.js
44 lines (43 loc) · 1.23 KB
/
foot-site.server.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
43
44
import React from 'react'
import {config} from '../_config.js'
export const FootSite = () => (
<footer className="foot-site">
<div className="content">
<div
style={{display: 'flex', justifyContent: 'space-between'}}
className="block"
>
<div>
<small>
MDX is made with ❤️ in Boise, Amsterdam, and around the 🌏
</small>
<br />
<small>This site does not track you.</small>
<br />
<small>MIT © 2017-{new Date().getFullYear()}</small>
</div>
<div style={{marginLeft: 'auto', textAlign: 'right'}}>
<small>
Project on <a href={config.gh.href}>GitHub</a>
</small>
<br />
<small>
Site on <a href={new URL('docs/', config.ghTree).href}>GitHub</a>
</small>
<br />
<small>
Updates on <a href={config.twitter.href}>Twitter</a>
</small>
<br />
<small>
Updates as <a href="/rss.xml">RSS feed</a>
</small>
<br />
<small>
Sponsor on <a href={config.oc.href}>OpenCollective</a>
</small>
</div>
</div>
</div>
</footer>
)