- drop Bulma and Font Awesome, plain CSS built on charte.css - dashboard: GitHub-like calendar grouped by year, selected day panel (sticky side column on desktop, bottom bar on mobile), keyboard navigation - public page: today's mood and last months fit in one screen, journal hidden - day log page: mode picker as pills, illustration follows the chosen mode - login, password and invitation screens in French, global flash messages - add User#current_mode_since Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.3 KiB
Text
38 lines
1.3 KiB
Text
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<title><%= content_for(:title) || "Kluk" %></title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<meta name="theme-color" content="#F5F6F0">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
|
|
<%= yield :head %>
|
|
|
|
<%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
|
|
<%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>
|
|
|
|
<%= favicon_link_tag "charte/favicon.svg", type: "image/svg+xml" %>
|
|
<link rel="apple-touch-icon" href="/icon.png">
|
|
|
|
<%= preload_link_tag "young-serif-400.woff2" %>
|
|
<%= preload_link_tag "atkinson-hyperlegible-next-400.woff2" %>
|
|
|
|
<%# Includes all stylesheet files in app/assets/stylesheets %>
|
|
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
|
<%= javascript_importmap_tags %>
|
|
</head>
|
|
|
|
<body>
|
|
<a class="evitement" href="#contenu">Aller au contenu</a>
|
|
<%= render "entete" %>
|
|
<main id="contenu" tabindex="-1">
|
|
<%= render "flash" %>
|
|
<%= yield %>
|
|
</main>
|
|
<%= render "pied" %>
|
|
</body>
|
|
</html>
|