diff --git a/client/src/common/components/Footer/Footer.jsx b/client/src/common/components/Footer/Footer.jsx index eb3f1e1..38e0764 100644 --- a/client/src/common/components/Footer/Footer.jsx +++ b/client/src/common/components/Footer/Footer.jsx @@ -5,11 +5,13 @@ import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; import {faHome, faVolumeHigh, faVolumeMute} from "@fortawesome/free-solid-svg-icons"; import {MusicContext} from "@/common/contexts/MusicContext.jsx"; import {useContext} from "react"; +import {GroupContext} from "@/common/contexts/GroupContext.jsx"; export const Footer = () => { const location = useLocation(); const {musicEnabled, setMusicEnabled} = useContext(MusicContext); + const {groupName} = useContext(GroupContext); const isLegalPage = location.pathname === "/imprint" || location.pathname === "/privacy" || location.pathname === "/end"; const isIngame = location.pathname === "/game" || location.pathname === "/end" || location.pathname === "/create"; @@ -17,25 +19,29 @@ export const Footer = () => { return ( )