feat: Add header and footer

pull/1/head
mohammad 2024-10-30 20:00:18 +01:00
parent 67b9333c29
commit 40c2cbc5e9
2 changed files with 17 additions and 11 deletions

View File

@ -1,3 +1,5 @@
<footer>
<p>© 2024 My Website</p>
<p>&copy INTER Versicherungsgruppe</p>
<a href="Impressumlele">Impressum</a>
<a href="Datenschutzlele">Datenschutz</a>
</footer>

View File

@ -1,27 +1,31 @@
<header th:fragment="header(activePage)">
<h1>My Skill Management System</h1>
<h1>INTER Versicherungsgruppe</h1>
<!-- Navigation -->
<nav>
<ul>
<li>
<a
th:href="@{/}"
th:classappend="${activePage == 'home' ? 'active' : ''}"
>Home</a
th:href="@{/}"
th:classappend="${activePage == 'benutzer' ? 'active' : ''}"
>
Benutzer
</a>
</li>
<li>
<a
th:href="@{/about}"
th:classappend="${activePage == 'about' ? 'active' : ''}"
>About</a
th:href="@{/notizen}"
th:classappend="${activePage == 'notizen' ? 'active' : ''}"
>
Notizen
</a>
</li>
<li>
<a
th:href="@{/contact}"
th:classappend="${activePage == 'contact' ? 'active' : ''}"
>Contact</a
th:href="@{/service}"
th:classappend="${activePage == 'service' ? 'active' : ''}"
>
Service
</a>
</li>
</ul>
</nav>