Divided html into templates

This commit is contained in:
2023-12-31 16:59:53 +00:00
parent 54877495f0
commit 2f63b6e89c
5 changed files with 113 additions and 88 deletions

19
templates/header.html Normal file
View File

@ -0,0 +1,19 @@
<nav class="navbar">
<img src="{{url_for('static', filename='assets/img/wmgzon.png')}}" id="logo" class="not-required" alt="WMGZON Logo">
<form action="test.html" method="get">
<input type="text" name="search" placeholder="Find your favourite products" class="search-bar">
<input type="submit" class="search-button">
</form>
<a href="login.html">Login/Signup</a>
</nav>
<centre>
<div class="categories">
<a href="CarParts" class="category">Car Parts</a>
<a href="Animals" class="category">Animals</a>
<a href="Sports" class="category">Sports</a>
<a href="Books" class="category">Books</a>
<a href="Phones" class="category">Phones</a>
<a href="Music" class="category">Music</a>
</div>
</centre>