Added social links (#535)

This commit is contained in:
Jori Lallo
2018-01-29 23:41:43 -08:00
committed by GitHub
parent 7be5b5fa0d
commit dd9d3351b8
4 changed files with 24 additions and 2 deletions

View File

@ -2,6 +2,7 @@
import React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import { color } from '../../../shared/styles/constants';
import { twitterUrl, spectrumUrl } from '../../../shared/utils/routeHelpers';
export default () => {
const style = {
@ -13,7 +14,15 @@ export default () => {
const linkStyle = {
color: color.slate,
fontWeight: 500,
textDecoration: 'none',
marginRight: '10px',
};
const externalLinkStyle = {
color: color.slate,
textDecoration: 'none',
margin: '0 10px',
};
return (
@ -24,6 +33,12 @@ export default () => {
<a href={process.env.URL} style={linkStyle}>
Outline
</a>
<a href={twitterUrl()} style={externalLinkStyle}>
Twitter
</a>
<a href={spectrumUrl()} style={externalLinkStyle}>
Spectrum
</a>
</TD>
</TR>
</TBody>