feat: add discover page for airing anime
This commit is contained in:
@@ -17,23 +17,22 @@ templ Layout(title string) {
|
||||
<a href="/" class="logo">/mal</a>
|
||||
<div class="nav">
|
||||
<a href="/">catalog</a>
|
||||
<a href="/discover">discover</a>
|
||||
<a href="/watchlist">watchlist</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-search-wrapper">
|
||||
<form action="/search" method="GET" class="header-search">
|
||||
<input type="text" id="search-input" name="q" class="search-input" placeholder="search anime..." autocomplete="off" />
|
||||
<input type="text" id="search-input" name="q" class="search-input" placeholder="search anime..." autocomplete="off"/>
|
||||
<div id="search-dropdown" class="search-dropdown"></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{ children... }
|
||||
</main>
|
||||
|
||||
<script src="/static/js/search.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user