Skip to content

Commit

Permalink
OD-493 Add archive name to banner (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoeggy authored May 1, 2024
1 parent 1970001 commit 50411b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 5 additions & 2 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ $clearColor: #906b59;
min-width: 20px;
}

.navbar-dark .navbar-nav .nav-link {
color: white;
.navbar-dark {
.navbar-nav .nav-link,
.navbar-text {
color: white;
}
}

.badge {
Expand Down
7 changes: 6 additions & 1 deletion app/javascript/components/navigation/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ class Navigation extends Component {
render() {
return (
<Navbar bg="primary" variant="dark" expand="lg">
<Navbar.Brand href={this.authorsPath}><img src={this.data.logo_path} style={{ width: 50 + "px" }}/></Navbar.Brand>
<Navbar.Brand href={this.authorsPath}>
<img src={this.data.logo_path} style={{ width: 50 + "px" }}/>
<Navbar.Text style={{ paddingLeft: "25px" }}>
<strong>{this.data.config.name}</strong>
</Navbar.Text>
</Navbar.Brand>
<Navbar.Toggle aria-controls="basic-navbar-nav"/>
<Navbar.Collapse id="basic-navbar-nav">
<Nav className="mr-auto">
Expand Down

0 comments on commit 50411b9

Please sign in to comment.