From 223baecd2196a92e86daf475e499c02a66a754b9 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Sat, 14 Nov 2020 14:35:10 -0500 Subject: add links to all stats --- src/Card.js | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'src/Card.js') diff --git a/src/Card.js b/src/Card.js index 5710881..626cec0 100644 --- a/src/Card.js +++ b/src/Card.js @@ -1,4 +1,5 @@ import React from "react"; +import { Link } from "react-router-dom"; import "./Card.css"; const Card = (props) => { @@ -8,17 +9,19 @@ const Card = (props) => { } return (
-

- - {props.latest} - {props.suffix}{" "} - - - ({diff} - {props.suffix}) - -

-

{props.name}

+ +

+ + {props.latest} + {props.suffix}{" "} + + + ({diff} + {props.suffix}) + +

+

{props.name}

+
); }; -- cgit v1.2.3