diff --git a/src/components/404LinkCorrection/index.tsx b/src/components/404LinkCorrection/index.tsx index 2fca8f2..32b06ca 100644 --- a/src/components/404LinkCorrection/index.tsx +++ b/src/components/404LinkCorrection/index.tsx @@ -1,6 +1,6 @@ import { WindowLocation } from "@reach/router" -import { Link } from "gatsby" import React, { FC, Fragment } from "react" +import * as SC from "./styles" import { FileConnection } from "../../../generated/graphql" @@ -104,9 +104,9 @@ export const PossibleCorrections: FC = ({ {displayArray.map((value, index) => { return (
  • - + {value.node.relativePath} - +
  • ) })} diff --git a/src/components/404LinkCorrection/styles.tsx b/src/components/404LinkCorrection/styles.tsx new file mode 100644 index 0000000..34496dd --- /dev/null +++ b/src/components/404LinkCorrection/styles.tsx @@ -0,0 +1,16 @@ +import { Link } from "gatsby" +import styled from "styled-components" + +export const StyledLink = styled(Link)` + color: #0090d8; + font-weight: 700; + border-bottom: 2px solid; + text-decoration: none; + transition: color 0.3s; + + &:hover, + &:focus { + color: #5dbbea; + transition: none; + } +`