Edit nav, add imageAlt, add placeholder video

This commit is contained in:
Tobias Hilfiker
2022-12-20 10:01:56 +01:00
parent a37bf58d96
commit ceec688156
4 changed files with 25 additions and 12 deletions

View File

@@ -1,9 +1,9 @@
<nav class="bg-navbackground h-32 text-right flex flex-row justify-between items-center px-20">
<img src="/curling_logo.png" alt="Logo" class="h-28"/>
<div class="flex justify-between w-1/3 text-textcolor">
<a href="index.html" class="nav-item {{#if homeActive}}font-bold{{/if}}">Home</a>
<a href="index.html" class="{{#if homeActive}}font-bold{{/if}}">Home</a>
<a href="rules.html" class="{{#if rulesActive}}font-bold{{/if}}">Regeln</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>
<a href="impressions.html" class="{{#if examplesActive}}font-bold{{/if}}">Impressionen</a>
</div>
</nav>

View File

@@ -1,5 +1,5 @@
<div class="flex flex-row bg-banner w-96 mb-6 items-center">
<img src="{{image}}" alt="Regeln" class="w-12 h-12 justify-center mr-5 ml-5"/>
<img src="{{image}}" alt="{{imageAlt}}" class="w-12 h-12 justify-center mr-5 ml-5"/>
<div>
<p class="font-bold">{{title}}</p>
<p>{{description}}</p>