From 153c72c398b8aaa61cc229d82569ce9076b0c5a4 Mon Sep 17 00:00:00 2001 From: Francisco Pessano Date: Wed, 27 Oct 2021 14:07:03 -0300 Subject: [PATCH] Minor fixes --- public/css/index.css | 2 +- public/sass/_footer.scss | 2 +- src/components/Footer/Footer.jsx | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/public/css/index.css b/public/css/index.css index 9817da6..d245878 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -1024,7 +1024,7 @@ header.demo h1 span.demoSpan:hover, header.demo h1 span.demoSpan:focus, header.d height: 7vw; } } -.made-with-love a { +.made-with-love .link { color: #ff8787; } diff --git a/public/sass/_footer.scss b/public/sass/_footer.scss index f268035..8d16a89 100644 --- a/public/sass/_footer.scss +++ b/public/sass/_footer.scss @@ -1,4 +1,4 @@ -.made-with-love a { +.made-with-love .link { color: #ff8787 } diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index 0a87084..d0773f7 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -1,4 +1,6 @@ import React from 'react' +import { withRouter, } from 'react-router' +import { Link } from 'react-router-dom' const Footer = (props) => { return ( @@ -6,9 +8,10 @@ const Footer = (props) => { {/*

Made with 💓 by Francisco Pessano.

*/} - Credits + + Credits ) } -export default Footer \ No newline at end of file +export default withRouter(Footer) \ No newline at end of file