diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 820e49a..06e389c 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -14,7 +14,7 @@ export const Footer = () => {
Navigation
diff --git a/src/components/FooterLink.jsx b/src/components/FooterLink.jsx index c41b292..1cf344a 100644 --- a/src/components/FooterLink.jsx +++ b/src/components/FooterLink.jsx @@ -2,10 +2,14 @@ import React from "react"; import { Link } from "react-router-dom"; import { upFirstChar } from "../utils/methods"; -export const FooterLink = ({ link }) => { +export const FooterLink = ({ link, textColor = "" }) => { + const textColorClass = `${textColor}-text`; return (
  • - + {upFirstChar(link)}
  • diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index afa4951..2fa6a89 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -8,8 +8,8 @@ import { LogOutButton } from "./LogOutButton"; export const Navbar = props => { const { isAuthenticated } = useAuth0(); - const links = ["categories", "contact"]; - const { openNavClick } = props; + + const { openNavClick, links } = props; return (