a847a71a57
* main: Undo weird flash notices Redirect to bucket after deleting Fix layout issues in Safari Should match text Add production deploy config Add Kamal deploy config Remove old deploy config
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<%= page_title_tag %>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, interactive-widget=resizes-content">
|
|
<meta name="view-transition" content="same-origin">
|
|
<meta name="color-scheme" content="light dark">
|
|
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
|
|
<meta name="theme-color" content="#000000" media="(prefers-color-scheme: dark)">
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
<%= tag.meta name: "current-user-id", content: Current.user.id if Current.user %>
|
|
|
|
<%= combobox_style_tag %>
|
|
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
|
|
<%= javascript_importmap_tags %>
|
|
|
|
<%= yield :head %>
|
|
</head>
|
|
|
|
<body data-controller="lightbox local-time timezone-cookie">
|
|
<header id="header">
|
|
<a href="#main-content" class="skip-navigation btn">Skip to main content</a>
|
|
<%= yield :header %>
|
|
</header>
|
|
|
|
<% if notice = flash[:notice] || flash[:alert] %>
|
|
<div class="flash" data-controller="element-removal" data-action="animationend->element-removal#remove">
|
|
<div class="flash__inner shadow">
|
|
<%= notice %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
|
|
<main id="main">
|
|
<%= yield %>
|
|
</main>
|
|
|
|
<footer id="footer">
|
|
<%= yield :footer %>
|
|
</footer>
|
|
|
|
<%= render "layouts/lightbox" %>
|
|
</body>
|
|
</html>
|