Die grundlegenden HTML-Dateien sind vorhanden.

This commit is contained in:
2021-04-08 12:30:36 +02:00
parent 9b99c6a4dc
commit f36324bfbd
6 changed files with 162 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<!--suppress HtmlUnknownTarget -->
<nav>
<ul>
<li><a class="{ isActive('home') }" href="/">home</a></li>
<li><a class="{ isActive('weekly') }" href="/views/weekly">Wochenansicht</a></li>
<li><a class="{ isActive('monthly') }" href="/views/monthly">Monatsansicht</a></li>
<li><a class="{ isActive('yearly') }" href="/views/yearly">Jahresansicht</a></li>
<li><a class="{ isActive('working-hours') }" href="/working-hours">Einträge</a></li>
</ul>
</nav>
<script>
export let active;
$: isActive = str => active === str ? 'selected' : '';
</script>