structables/templates/header.html
Kumi 5a6d6d403c
feat: standardize navbar logo size
Introduced a specific height for the navbar logo across the application
to ensure consistency in the navbar's visual presentation. By adjusting
the CSS to set a fixed height and applying the corresponding class to
the logo in the header, the layout becomes more predictable and
harmonious, significantly improving the user interface's appearance.
2024-03-28 14:12:20 +01:00

37 lines
1.2 KiB
HTML

<header>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="/">
<img class="navbar-logo" src="/static/img/logo.png" alt="Structables" />
</a>
<div class="container-fluid">
<div class="navbar-nav-scroll">
<ul class="nav navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/projects/">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/contest/">Contests</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/teachers/">Teachers</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/sitemap/">Sitemap</a>
</li>
</ul>
</div>
<div class="navbar-form navbar-right">
<form class="form-inline" action="/search" method="GET">
<input
class="form-control"
type="search"
placeholder="Search"
name="q"
aria-label="Search"
/>
<button class="btn btn-default" type="submit" style="visibility: hidden;">Search</button>
</form>
</div>
</div>
</nav>
</header>