initial conversion

This commit is contained in:
Kyle Gill
2019-05-13 19:01:11 -06:00
parent 02b42f623d
commit d4b9465c49
18 changed files with 3452 additions and 177 deletions

View File

@@ -1,3 +1,4 @@
import React from "react"
import { withTheme } from "emotion-theming"
import { Link } from "react-router-dom"
import styled from "@emotion/styled"
@@ -57,7 +58,9 @@ export const P = styled.p`
color: ${props => props.theme.colors.secondary};
`
export const StyledLink = withTheme(styled(Link)`
export const AppLink = props => <Link {...props} to={"/app" + props.to} />
export const StyledLink = withTheme(styled(AppLink)`
text-decoration: none;
border-radius: 12px;
outline: none;