Added new nav entry for jobs#index

This commit is contained in:
2024-09-14 01:21:00 +02:00
parent 5ee276e2eb
commit 4db1c7667e
2 changed files with 10 additions and 1 deletions

View File

@@ -1,8 +1,13 @@
<header class="container flex items-center justify-between px-4 py-6 mx-auto border-b-2 border-gray-300">
<a href="/" class="text-4xl font-bold text-hsrm-gray">Plottservice Fachbereich AB</a>
<a href="/" class="text-4xl font-bold text-hsrm-gray">Plottservice FAB</a>
<% if user_signed_in? %>
<nav>
<ul class="flex justify-center space-x-2 font-semibold items-color">
<li class="relative">
<button class="px-4 py-2 cursor-default hover:text-hsrm-red border-b-4 <%= root_tab? && 'border-hsrm-red-light' %>">
<%= link_to "Aktuelle Druckaufträge", root_path %>
</button>
</li>
<li class="relative">
<button class="px-4 py-2 cursor-default hover:text-hsrm-red border-b-4 <%= profile_tab? && 'border-hsrm-red-light' %>">
<%= link_to "Profil", profile_path %>