Fix Header
This commit is contained in:
parent
bedcf32b44
commit
f359e2a750
@ -258,6 +258,7 @@ button, .button {
|
|||||||
font-family: "Fira Mono";
|
font-family: "Fira Mono";
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
background-color: var(--c-primary);
|
background-color: var(--c-primary);
|
||||||
color: var(--c-base);
|
color: var(--c-base);
|
||||||
|
@ -7,16 +7,13 @@
|
|||||||
<body>
|
<body>
|
||||||
<nav class='hero' th:fragment="header">
|
<nav class='hero' th:fragment="header">
|
||||||
<div class='content-width bar-flex'>
|
<div class='content-width bar-flex'>
|
||||||
<h1>Project eCommerce</h1>
|
<a class="button" href="/">Project eCommerce</a>
|
||||||
<button>Angebote</button>
|
<a class="button" href="/">Angebote</a>
|
||||||
<form class='spacer input-icon secondary' th:action="@{/searchresults}" method="GET">
|
<form class='spacer input-icon secondary' th:action="@{/searchresults}" method="GET">
|
||||||
<input type="text" placeholder="Nach Produkten suchen..."/>
|
<input type="text" placeholder="Nach Produkten suchen..."/>
|
||||||
<button>Finden</button>
|
<button>Finden</button>
|
||||||
</form>
|
</form>
|
||||||
<!-- TODO: Do not use get for passwords -->
|
<a class="button" th:href="@{/login}"> Login </a>
|
||||||
<form class="button" th:action="@{/login}" method="GET">
|
|
||||||
<button>Login</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</body>
|
</body>
|
||||||
|
Reference in New Issue
Block a user