Build index.html, create nav-component, add colors and handlebar-plugin to config

This commit is contained in:
Tobias Hilfiker
2022-12-07 15:49:40 +01:00
parent 2cd94aceac
commit a4f4be4761
15 changed files with 2300 additions and 27 deletions

View 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>