Merge pull request 'gui: Add header and footer' (#9) from 2210970/Backend:main into main

Reviewed-on: Maradona/Backend#9
pull/1/head
Mohammad Hawrami 2024-10-30 20:33:10 +01:00
commit f5ffb48789
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>