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

View File

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