1
0

Locked footer events when ingame

This commit is contained in:
Mathias Wagner 2023-11-19 18:40:27 +01:00
parent a5453b2d2d
commit fed17cd1c2
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44
2 changed files with 9 additions and 3 deletions

View File

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

View File

@ -57,6 +57,12 @@ footer
&:hover
text-decoration: underline
.ingame
cursor: not-allowed
a
pointer-events: none
footer *
z-index: 2