<%= csrf_meta_tags %> <%= csp_meta_tag %> <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %> <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> <%= javascript_importmap_tags %> <%= hotwire_livereload_tags if Rails.env.development? %> <%= turbo_refreshes_with method: :morph, scroll: :preserve %> <%= yield :head %>
<%= safe_join(flash.map { |type, message| notification(message, type: type) }) %>
<%= link_to root_path do %> <%= image_tag 'logo.svg', alt: 'Maybe', class: "h-[22px]" %> <% end %>
<%= link_to edit_settings_path, class: "flex gap-1 items-center hover:bg-gray-50 rounded-md p-2" do %> <%= lucide_icon("pencil-line", class: "w-5 h-5 text-gray-500 shrink-0") %> Settings <% end %> <%= button_to session_path, method: :delete, class: "w-full text-gray-900 flex gap-1 items-center hover:bg-gray-50 rounded-md p-2" do %> <%= lucide_icon("log-out", class: "w-5 h-5 shrink-0") %> Logout <% end %>
<%= link_to accounts_path, class: 'text-xs uppercase text-gray-500 font-bold tracking-wide' do%> <%= t('.accounts') %> <% end %> <%= link_to new_account_path, class: 'block hover:bg-gray-100 p-2 text-sm font-semibold text-gray-900 flex items-center rounded', title: t('.new_account'), data: { turbo_frame: "modal" } do %> <%= lucide_icon("plus", class: "w-5 h-5 text-gray-500") %> <% end %>
<%= link_to new_account_path, class: "flex items-center gap-4 px-2 py-3 mb-1 text-gray-500 text-sm font-medium rounded-[10px] hover:bg-gray-100", data: { turbo_frame: "modal" } do %> <%= lucide_icon("plus", class: "w-5 h-5") %>

<%= t('.new_account') %>

<% end %> <% account_groups.each do |group| %> <%= render 'accounts/account_list', group: group %> <% end %>
<%= yield %>
<%= turbo_frame_tag "modal" %> <%= render 'shared/custom_confirm_modal' %>