Fixed a bug in the Footer.jsx

This commit is contained in:
2023-11-20 21:16:50 +01:00
parent 751d29e0c9
commit a47b3a87bd

View File

@@ -16,7 +16,7 @@ export const Footer = () => {
return ( return (
<footer> <footer>
<div className={"footer-left" + ((isIngame || location.pathname === "/join") <div className={"footer-left" + ((isIngame || location.pathname.startsWith("/join"))
&& location.pathname !== "/end" ? " ingame" : "")}> && location.pathname !== "/end" ? " ingame" : "")}>
<a title="BS2AB" href="https://www.bs2ab.de/" target="_blank" rel="noreferrer" className="glassy footer-info"> <a title="BS2AB" href="https://www.bs2ab.de/" target="_blank" rel="noreferrer" className="glassy footer-info">
<img src={Logo} alt="Logo"/> <img src={Logo} alt="Logo"/>
@@ -32,7 +32,7 @@ export const Footer = () => {
</div>} </div>}
</div> </div>
<div className={"glassy footer-legal" + ((isIngame || location.pathname === "/join") <div className={"glassy footer-legal" + ((isIngame || location.pathname.startsWith("/join"))
&& location.pathname !== "/end" ? " ingame" : "")}> && location.pathname !== "/end" ? " ingame" : "")}>
<Link to={"/privacy"}>Datenschutz</Link> <Link to={"/privacy"}>Datenschutz</Link>
<Link to={"/imprint"}>Impressum</Link> <Link to={"/imprint"}>Impressum</Link>