pcgamedb/server/templates/layouts/header.html
2024-11-29 11:32:17 +08:00

22 lines
748 B
HTML

{{define "header"}}
<!-- Header -->
<nav class="navbar navbar-expand-lg">
<div class="container">
<a class="navbar-brand" href="/">GameDB</a>
<div class="navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<!-- <li class="nav-item"><a class="nav-link" href="https://www.nite07.com" target="_blank">Blog</a></li> -->
</ul>
<div class="ms-auto">
<form action="/search" method="GET" class="d-flex">
<div class="input-group">
<input type="text" class="form-control" name="key" placeholder="Input full english name of game" />
<button class="btn btn-primary" type="submit">Search</button>
</div>
</form>
</div>
</div>
</div>
</nav>
{{end}}