From f710b7d187b6c33908f4b3b713f5bcddbf19f9b0 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Tue, 29 Sep 2020 01:00:04 +0100 Subject: Update styling and scaling and add links to FormListing --- src/components/FormListing.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/components/FormListing.tsx b/src/components/FormListing.tsx index 58f21f8..09b3134 100644 --- a/src/components/FormListing.tsx +++ b/src/components/FormListing.tsx @@ -1,5 +1,6 @@ /** @jsx jsx */ import { css, jsx } from "@emotion/core"; +import { Link } from "react-router-dom"; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faArrowRight } from "@fortawesome/free-solid-svg-icons"; @@ -24,6 +25,8 @@ function FormListing(props: FormListingProps) { border-radius: 10px; transition-property: transform, width; transition-duration: 500ms; + text-decoration: none; + color: inherit; @media (max-width: 575px) { width: 80%; @@ -40,10 +43,12 @@ function FormListing(props: FormListingProps) { closedTag = }; - return
-

{closedTag}{props.title}

-

{props.description}

-
+ return +
+

{closedTag}{props.title}

+

{props.description}

+
+ } export default FormListing; -- cgit v1.2.3