Browse Source

feat: remove user_menu

main
Inhji Y. 8 months ago
parent
commit
c9a1284080
  1. 2
      lib/mirage_web/templates/setting/index.html.eex
  2. 5
      lib/mirage_web/templates/shared/user_menu.html.eex
  3. 2
      lib/mirage_web/templates/user/index.html.eex

2
lib/mirage_web/templates/setting/index.html.eex

@ -2,8 +2,6 @@
<h1>Listing Settings</h1>
</header>
<%= render MirageWeb.SharedView, "user_menu.html", assigns %>
<div class="width-full bg-content">
<%= for setting <- @settings do %>
<%= link setting.name, to: Routes.setting_path(@conn, :show, setting), class: "button" %>

5
lib/mirage_web/templates/shared/user_menu.html.eex

@ -1,5 +0,0 @@
<aside class="menu">
<ul>
<li><%= link "Settings", to: Routes.setting_path(@conn, :index) %></li>
</ul>
</aside>

2
lib/mirage_web/templates/user/index.html.eex

@ -2,8 +2,6 @@
<h1>Inbox</h1>
</header>
<%= render MirageWeb.SharedView, "user_menu.html", assigns %>
<section class="bg-content width-full">
<h3>📆 Todays Note</h3>

Loading…
Cancel
Save