Include a siple navbar

This commit is contained in:
Andrew Tomaka 2023-02-24 18:06:29 -05:00
parent bebdd5e30d
commit a21639ff6f
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -12,6 +12,15 @@
</head>
<body>
<nav class="w-100 p-6 bg-gray-900 flex items-center justify-between flex-wrap">
<ul class="flex">
<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>
<li class="mr-6"><%= link_to "Incomes", incomes_path, class: "text-white" %></li>
<li class="mr-6"><%= link_to "Members", members_path, class: "text-white" %></li>
</ul>
</nav>
<main class="container mx-auto mt-28 px-5 flex">
<%= yield %>
</main>