Add logo (#63)

Reviewed-on: #63
This commit is contained in:
Andrew Tomaka 2025-06-11 22:28:29 -04:00
parent b43629bdc9
commit 10211a51ef
2 changed files with 37 additions and 2 deletions

View file

@ -12,8 +12,12 @@
</head>
<body>
<nav class="w-100 p-6 bg-gray-900 flex items-center justify-between flex-wrap">
<ul class="flex">
<nav class="w-100 py-4 px-6 bg-gray-900 flex items-center justify-between flex-wrap">
<div class="flex items-center">
<%= link_to root_path, class: "mr-8" do %>
<%= image_tag "logo.svg", alt: "Family Funds Logo", class: "h-8" %>
<% end %>
<ul class="flex">
<% if Current.user.registered? %>
<li class="mr-6"><%= link_to "Dashboard", root_path, class: "text-white" %></li>
<li class="mr-6"><%= link_to "Expenses", expenses_path, class: "text-white" %></li>
@ -26,6 +30,7 @@
<li class="mr-6"><%= link_to "Log in", new_session_path, class: "text-white" %></li>
<% end %>
</ul>
</div>
</nav>
<% if flash.any? %>