|
@@ -1,8 +1,8 @@
|
|
|
+import Link from "next/link";
|
|
|
import { FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa";
|
|
|
import styled from "styled-components";
|
|
|
import pkg from "../../../package.json";
|
|
|
|
|
|
-
|
|
|
export const StyledFooter = styled.footer`
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
@@ -21,7 +21,6 @@ export const StyledFooterText = styled.p`
|
|
|
color: #b4b4b4;
|
|
|
`;
|
|
|
|
|
|
-
|
|
|
export const StyledNavLink = styled.a`
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
@@ -44,7 +43,11 @@ export const StyledIconLinks = styled.div`
|
|
|
export const Footer = () => (
|
|
|
<StyledFooter>
|
|
|
<StyledFooterText>
|
|
|
- <img width="120" src="assets/icon.png" alt="icon" loading="lazy" />
|
|
|
+ <Link href="/">
|
|
|
+ <a>
|
|
|
+ <img width="120" src="assets/icon.png" alt="icon" loading="lazy" />
|
|
|
+ </a>
|
|
|
+ </Link>
|
|
|
<span>
|
|
|
© {new Date().getFullYear()} JSON Crack - {pkg.version}
|
|
|
</span>
|
|
@@ -78,4 +81,4 @@ export const Footer = () => (
|
|
|
</StyledNavLink>
|
|
|
</StyledIconLinks>
|
|
|
</StyledFooter>
|
|
|
-);
|
|
|
+);
|