mirror of
https://github.com/dzeiocom/markblog.git
synced 2025-04-23 11:22:13 +00:00
93 lines
2.0 KiB
TypeScript
93 lines
2.0 KiB
TypeScript
import React from 'react'
|
|
import { GitHub, Linkedin, Mail, PhoneCall, Twitter } from 'react-feather'
|
|
|
|
import config from '../config'
|
|
|
|
export default class Footer extends React.Component<{}, {}> {
|
|
public render() {
|
|
return (
|
|
<footer>
|
|
<div className="pre"></div>
|
|
<div className="footer">
|
|
<span>
|
|
<a
|
|
aria-label="Email Address"
|
|
rel="noopener noreferrer"
|
|
href="mailto:contact@avior.me"
|
|
target="_blank"
|
|
>
|
|
<Mail color={config.colors[500]} />
|
|
</a>
|
|
<a aria-label="Phone Number" rel="noopener noreferrer" href="tel:+33672292683" target="_blank">
|
|
<PhoneCall color={config.colors[500]} />
|
|
</a>
|
|
<a
|
|
aria-label="Git"
|
|
rel="noopener noreferrer"
|
|
href="https://git.delta-wings.net"
|
|
target="_blank"
|
|
>
|
|
<GitHub color={config.colors[500]} />
|
|
</a>
|
|
<a
|
|
aria-label="Twitter"
|
|
rel="nofollow noopener noreferrer"
|
|
href="https://twitter.com/aviortheking"
|
|
target="_blank"
|
|
>
|
|
<Twitter color={config.colors[500]} />
|
|
</a>
|
|
<a
|
|
aria-label="linkdedin"
|
|
rel="nofollow noopener noreferrer"
|
|
href="https://www.linkedin.com/in/florian-bouillon/"
|
|
target="_blank"
|
|
>
|
|
<Linkedin color={config.colors[500]} />
|
|
</a>
|
|
</span>
|
|
</div>
|
|
<style jsx>{`
|
|
footer {
|
|
padding-top: 50px;
|
|
}
|
|
.pre {
|
|
height: 20px;
|
|
background: #EEE;
|
|
}
|
|
.footer {
|
|
display: flex;
|
|
padding: 13px 10%;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.footer span {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
width: 100%;
|
|
}
|
|
|
|
a {
|
|
padding: 10px
|
|
}
|
|
|
|
@media (min-width: 850px) {
|
|
.footer {
|
|
padding: 20px 0
|
|
}
|
|
.footer span {
|
|
width: 300px;
|
|
}
|
|
}
|
|
`}</style>
|
|
</footer>
|
|
)
|
|
}
|
|
}
|
|
/*
|
|
rel="nofollow noopener noreferrer"
|
|
nofollow links not endorsed by the website
|
|
noopener target can't use `window.opener` but still send the HTTP Header Referer
|
|
noreferrer dont send the HTTP Header Referer
|
|
*/
|