<%= 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' %> <% end %>
<%= Current.user.email.first %>
<%= 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 %> <% Accountable.types.each do |type| %> <%= render 'accounts/account_list', type: Accountable.from_type(type) %> <% end %>
<%= yield %>
<%= turbo_frame_tag "modal" %>