Files
fizzy/app/views/layouts/application.html.erb
T
2026-01-08 17:47:17 +01:00

36 lines
1.4 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<%= render "layouts/shared/head" %>
<body class="<%= @body_class %>" data-controller="local-time timezone-cookie turbo-navigation theme bridge--page bridge--insets bridge--buttons bridge--overflow-menu" data-action="turbo:morph@window->local-time#refreshAll turbo:before-visit@document->turbo-navigation#rememberLocation" data-platform="<%= platform.type %>" <%= "data-bridge--page-title-value=#{@page_title}" if @page_title %>>
<div id="global-container">
<header class="header header--mobile-actions-stack <%= @header_class %>" id="header">
<a href="#main" class="header__skip-navigation btn" data-turbo="false">Skip to main content</a>
<%= render "my/menu" if Current.user %>
<%= yield :header %>
</header>
<%= render "layouts/shared/flash" %>
<%= render "layouts/shared/time_zone" if Current.user %>
<main id="main">
<%= yield %>
</main>
</div>
<footer id="footer" class="hide-on-native">
<%= yield :footer %>
<% if Current.user && !@hide_footer_frames %>
<div id="footer_frames" data-turbo-permanent="true">
<%= render "bar/bar" %>
<%= render "my/pins/tray" %>
<%= render "notifications/tray" %>
</div>
<% end %>
<%= render "layouts/shared/welcome_letter" if flash[:welcome_letter] %>
</footer>
</body>
</html>