parent
b43629bdc9
commit
10211a51ef
2 changed files with 37 additions and 2 deletions
|
@ -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? %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue