Build index.html, create nav-component, add colors and handlebar-plugin to config
This commit is contained in:
10
Webauftritt/eportfolio/partials/nav.hbs
Normal file
10
Webauftritt/eportfolio/partials/nav.hbs
Normal file
@@ -0,0 +1,10 @@
|
||||
<nav class="bg-navbackground h-32 text-right flex flex-row justify-between items-center px-20">
|
||||
<img src="./public/curling_logo.png" alt="Logo" class="h-28"/>
|
||||
<div class="flex justify-between w-1/2 text-textcolor">
|
||||
<a href="index.html" class="nav-item {{#if homeActive}}font-bold{{/if}}">Home</a>
|
||||
<a href="rules.html" class="{{#if rulesActive}}font-bold{{/if}}">Regeln</a>
|
||||
<a href="howto.html" class="{{#if howtoActive}}font-bold{{/if}}">How to Play</a>
|
||||
<a href="spiritofcurling.html" class="{{#if spiritActive}}font-bold{{/if}}">Spirit of Curling</a>
|
||||
<a href="examles.html" class="{{#if examplesActive}}font-bold{{/if}}">Beispiele</a>
|
||||
</div>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user