Include a siple navbar
This commit is contained in:
parent
bebdd5e30d
commit
a21639ff6f
1 changed files with 9 additions and 0 deletions
|
@ -12,6 +12,15 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<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">
|
<main class="container mx-auto mt-28 px-5 flex">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</main>
|
</main>
|
||||||
|
|
Loading…
Reference in a new issue