From 6f2c75b58e5e3c551cfe6736022f2cb71e6244b6 Mon Sep 17 00:00:00 2001 From: Winston Hsiao Date: Wed, 21 Aug 2024 15:14:41 -0700 Subject: [PATCH] improve UI in footer and homepage, mention klang --- frontend/src/components/footer/Footer.tsx | 37 +++++++++++++++++------ frontend/src/components/home/Features.tsx | 13 ++++---- frontend/src/pages/Home.tsx | 32 +++++++++++--------- 3 files changed, 53 insertions(+), 29 deletions(-) diff --git a/frontend/src/components/footer/Footer.tsx b/frontend/src/components/footer/Footer.tsx index 1a0fb04a..81b8852c 100644 --- a/frontend/src/components/footer/Footer.tsx +++ b/frontend/src/components/footer/Footer.tsx @@ -1,6 +1,7 @@ import { FaDiscord, FaGithub, FaLinkedinIn } from "react-icons/fa"; -import { Link, useLocation } from "react-router-dom"; +import { Link, useLocation, useNavigate } from "react-router-dom"; +import smallLogo from "assets/small-logo.png"; import { DiscordPrimaryColor, GithubPrimaryColor, @@ -10,6 +11,7 @@ import { import SocialLink from "./SocialLink"; const Footer = () => { + const navigate = useNavigate(); const location = useLocation(); const { pathname } = location; @@ -28,8 +30,20 @@ const Footer = () => {