feat(resources): tweak external resources & visuals

This commit is contained in:
Jean-Philippe Sirois
2020-05-13 06:31:58 -04:00
parent 34047cc05c
commit 2a1d8626bd
15 changed files with 123 additions and 120 deletions
+26
View File
@@ -0,0 +1,26 @@
import { AnchorLink } from "gatsby-plugin-anchor-links"
import styled, { css } from "styled-components"
import { Link } from "gatsby"
const extraLink = css`
color: ${props => props.theme.main.foreground};
text-decoration: none;
word-break: break-word;
&:hover,
&:focus {
text-decoration: underline;
}
`
export const Anchor = styled(AnchorLink)`
${extraLink};
`
export const Internal = styled(Link)`
${extraLink};
`
export const External = styled.a`
${extraLink};
`