1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00
Maybe/app/views/layouts/application.html.erb

44 lines
1.4 KiB
Text
Raw Normal View History

2024-02-02 09:05:04 -06:00
<!DOCTYPE html>
<html class="h-full" lang="en">
2024-02-02 09:05:04 -06:00
<head>
<title><%= content_for(:title) || "Maybe" %></title>
2024-02-02 09:05:04 -06:00
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
2024-02-02 09:05:04 -06:00
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
2024-02-02 09:05:04 -06:00
<%= javascript_importmap_tags %>
<%= hotwire_livereload_tags if Rails.env.development? %>
2024-02-02 16:15:44 +00:00
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
<meta name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Maybe">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
2024-02-02 16:15:44 +00:00
<%= yield :head %>
2024-02-02 09:05:04 -06:00
</head>
2024-02-02 09:05:04 -06:00
<body class="h-full">
<div id="notification-tray" class="fixed z-50 space-y-1 top-6 right-10"></div>
<%= safe_join(flash.map { |type, message| notification(message, type: type) }) %>
<%= content_for?(:content) ? yield(:content) : yield %>
<%= turbo_frame_tag "modal" %>
<%= turbo_frame_tag "drawer" %>
<%= render "shared/confirm_modal" %>
<% if self_hosted? %>
<%= render "shared/app_version" %>
<% end %>
2024-02-02 09:05:04 -06:00
</body>
2024-02-02 09:05:04 -06:00
</html>