|
1
|
import React from 'react'; |
|
2
|
import { Link } from 'react-router-dom'; |
|
3
|
import { FormattedMessage } from 'react-intl'; |
|
4
|
|
|
5
|
const linkStyle = { |
|
6
|
display: 'inline-block', |
|
7
|
margin: 4, |
|
8
|
fontSize: '10pt', |
|
9
|
textDecoration: 'none', |
|
10
|
outline: 'none', |
|
11
|
color: '#ddd', |
|
12
|
background: '#222', |
|
13
|
borderTop: '1px solid #333', |
|
14
|
padding: '5px 8px', |
|
15
|
MozBorderRadius: '3px', |
|
16
|
WebkitBorderRadius: '3px', |
|
17
|
borderRadius: '3px', |
|
18
|
MozBoxShadow: '0px 1px 1px #000', |
|
19
|
WebkitBoxShadow: '0px 1px 1px #000', |
|
20
|
boxShadow: '0px 1px 1px #000' |
|
21
|
}; |
|
22
|
|
|
23
|
const FooterLinks = () => ( |
|
24
|
<footer className="text-muted py-5"> |
|
25
|
<div className="container"> |
|
26
|
<p className="float-end mb-1"> |
|
27
|
<a href="#" style={linkStyle}>Back to top</a> |
|
28
|
</p> |
|
29
|
<p className="mb-0"> |
|
30
|
<Link to='/about' style={linkStyle}> |
|
31
|
<FormattedMessage id="header.about" |
|
32
|
defaultMessage="About" |
|
33
|
description="About link" /> |
|
34
|
</Link> |
|
35
|
<Link to='/cv' style={linkStyle}> |
|
36
|
<FormattedMessage id="header.cv" |
|
37
|
defaultMessage="CV" |
|
38
|
description="CV link" /> |
|
39
|
</Link> |
|
40
|
</p> |
|
41
|
</div> |
|
42
|
</footer> |
|
43
|
); |
|
44
|
|
|
45
|
export default FooterLinks; |