mirror of
https://github.com/franjsco/tick3t
synced 2025-01-29 09:49:47 +01:00
improvement: navbar
This commit is contained in:
parent
61ac4d4ebb
commit
56c3c33650
@ -1,15 +1,3 @@
|
|||||||
.custom-toggler.navbar-toggler {
|
|
||||||
border-color:#007bff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-brand {
|
|
||||||
font-weight: bolder;
|
|
||||||
font-size: 25px;
|
|
||||||
color: #007bff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.custom-toggler .navbar-toggler-icon {
|
.custom-toggler .navbar-toggler-icon {
|
||||||
|
|
||||||
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(9,55,150, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
|
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(9,55,150, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
|
||||||
|
|
||||||
}
|
}
|
@ -14,6 +14,11 @@ import Button from '../components/Button';
|
|||||||
import './NavBar.css';
|
import './NavBar.css';
|
||||||
import logo from '../assets/admin.svg';
|
import logo from '../assets/admin.svg';
|
||||||
|
|
||||||
|
const styleNavbarBrand = {
|
||||||
|
fontWeight: 'bolder',
|
||||||
|
fontSize: '25px'
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
class NavBar extends Component {
|
class NavBar extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
@ -47,13 +52,12 @@ class NavBar extends Component {
|
|||||||
return (
|
return (
|
||||||
<Navbar
|
<Navbar
|
||||||
fixed="top"
|
fixed="top"
|
||||||
color="light"
|
|
||||||
light
|
|
||||||
expand="sm"
|
expand="sm"
|
||||||
className="shadow-sm p-3 mb-5 bg-white"
|
className="shadow-sm bg-white"
|
||||||
>
|
>
|
||||||
<Container>
|
<Container>
|
||||||
<NavbarBrand
|
<NavbarBrand
|
||||||
|
style={styleNavbarBrand}
|
||||||
onClick={this.closeNavbar}
|
onClick={this.closeNavbar}
|
||||||
tag={Link}
|
tag={Link}
|
||||||
to="/"
|
to="/"
|
||||||
@ -72,15 +76,13 @@ class NavBar extends Component {
|
|||||||
>
|
>
|
||||||
|
|
||||||
<Nav className="ml-auto" navbar>
|
<Nav className="ml-auto" navbar>
|
||||||
|
|
||||||
<NavItem>
|
<NavItem>
|
||||||
<Button
|
<Button
|
||||||
onClick={this.closeNavbar}
|
onClick={this.closeNavbar}
|
||||||
tag={Link}
|
tag={Link}
|
||||||
to="/login"
|
to="/login"
|
||||||
>
|
>
|
||||||
<img src={logo} alt="admin login"></img>
|
Login <img src={logo} alt="admin login"></img>
|
||||||
Admin
|
|
||||||
</Button>
|
</Button>
|
||||||
</NavItem>
|
</NavItem>
|
||||||
</Nav>
|
</Nav>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user