Formatting

This commit is contained in:
Daniel Schädler 2025-03-19 21:18:00 +01:00
parent d3913d17c3
commit 173f5768bf
1 changed files with 17 additions and 15 deletions

View File

@ -22,21 +22,23 @@ export class TurniereNavigation extends React.Component {
render() { render() {
const {tournament} = this.props; const {tournament} = this.props;
return (<Navbar color="light" light expand="lg" sticky="top"> return (
<Navbar color="light" light expand="lg" sticky="top">
<NavbarBrand className={'hide-below-260-w'} href="/">turnie.re</NavbarBrand> <NavbarBrand className={'hide-below-260-w'} href="/">turnie.re</NavbarBrand>
{tournament && tournament.timerEnd && {tournament && tournament.timerEnd &&
<NavbarText className={'m-auto'}> <NavbarText className="m-auto">
<span className={'hide-below-340-w'}>Spielzeit: </span><Timer timerEnd={tournament.timerEnd} /> <span className={'hide-below-340-w'}>Spielzeit: </span><Timer timerEnd={tournament.timerEnd} />
</NavbarText> </NavbarText>
} }
<NavbarToggler onClick={this.toggle}/> <NavbarToggler onClick={this.toggle}/>
<Collapse isOpen={!this.state.collapsed} navbar> <Collapse isOpen={!this.state.collapsed} navbar>
<NavLinks/> <NavLinks/>
<div className="ms-auto me-0"> <div className="ms-auto">
<LoginLogoutButtons/> <LoginLogoutButtons/>
</div> </div>
</Collapse> </Collapse>
</Navbar>); </Navbar>
);
} }
} }