|
1 | 1 | import React from 'react' |
2 | 2 | import {config} from '../_config.js' |
3 | 3 |
|
4 | | -export const FootSite = () => ( |
5 | | - <footer className="foot-site"> |
6 | | - <div className="content"> |
7 | | - <div |
8 | | - style={{display: 'flex', justifyContent: 'space-between'}} |
9 | | - className="block" |
10 | | - > |
11 | | - <div> |
12 | | - <small> |
13 | | - MDX is made with ❤️ in Boise, Amsterdam, and around the 🌏 |
14 | | - </small> |
15 | | - <br /> |
16 | | - <small>This site does not track you.</small> |
17 | | - <br /> |
18 | | - <small>MIT © 2017-{new Date().getFullYear()}</small> |
19 | | - </div> |
20 | | - <div style={{marginLeft: 'auto', textAlign: 'right'}}> |
21 | | - <small> |
22 | | - Project on <a href={config.gh.href}>GitHub</a> |
23 | | - </small> |
24 | | - <br /> |
25 | | - <small> |
26 | | - Site on <a href={new URL('docs/', config.ghTree).href}>GitHub</a> |
27 | | - </small> |
28 | | - <br /> |
29 | | - <small> |
30 | | - Updates on <a href={config.twitter.href}>Twitter</a> |
31 | | - </small> |
32 | | - <br /> |
33 | | - <small> |
34 | | - Updates as <a href="/rss.xml">RSS feed</a> |
35 | | - </small> |
36 | | - <br /> |
37 | | - <small> |
38 | | - Sponsor on <a href={config.oc.href}>OpenCollective</a> |
39 | | - </small> |
| 4 | +export function FootSite() { |
| 5 | + return ( |
| 6 | + <footer className="foot-site"> |
| 7 | + <div className="content"> |
| 8 | + <div |
| 9 | + style={{display: 'flex', justifyContent: 'space-between'}} |
| 10 | + className="block" |
| 11 | + > |
| 12 | + <div> |
| 13 | + <small> |
| 14 | + MDX is made with ❤️ in Boise, Amsterdam, and around the 🌏 |
| 15 | + </small> |
| 16 | + <br /> |
| 17 | + <small>This site does not track you.</small> |
| 18 | + <br /> |
| 19 | + <small>MIT © 2017-{new Date().getFullYear()}</small> |
| 20 | + </div> |
| 21 | + <div style={{marginLeft: 'auto', textAlign: 'right'}}> |
| 22 | + <small> |
| 23 | + Project on <a href={config.gh.href}>GitHub</a> |
| 24 | + </small> |
| 25 | + <br /> |
| 26 | + <small> |
| 27 | + Site on <a href={new URL('docs/', config.ghTree).href}>GitHub</a> |
| 28 | + </small> |
| 29 | + <br /> |
| 30 | + <small> |
| 31 | + Updates on <a href={config.twitter.href}>Twitter</a> |
| 32 | + </small> |
| 33 | + <br /> |
| 34 | + <small> |
| 35 | + Updates as <a href="/rss.xml">RSS feed</a> |
| 36 | + </small> |
| 37 | + <br /> |
| 38 | + <small> |
| 39 | + Sponsor on <a href={config.oc.href}>OpenCollective</a> |
| 40 | + </small> |
| 41 | + </div> |
40 | 42 | </div> |
41 | 43 | </div> |
42 | | - </div> |
43 | | - </footer> |
44 | | -) |
| 44 | + </footer> |
| 45 | + ) |
| 46 | +} |
0 commit comments