app.kluk.fr/app/views/layouts/application.html.erb

39 lines
1.3 KiB
Text
Raw Normal View History

2025-08-05 16:11:24 +02:00
<!DOCTYPE html>
2026-09-29 06:34:43 +02:00
<html lang="fr">
2025-08-05 16:11:24 +02:00
<head>
2026-09-29 06:34:43 +02:00
<title><%= content_for(:title) || "Kluk" %></title>
2025-08-05 16:56:33 +02:00
<meta charset="utf-8">
2025-08-05 16:11:24 +02:00
<meta name="viewport" content="width=device-width,initial-scale=1">
2026-09-29 06:34:43 +02:00
<meta name="theme-color" content="#F5F6F0">
2025-08-05 16:11:24 +02:00
<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) %>
2026-09-29 06:34:43 +02:00
<%= favicon_link_tag "charte/favicon.svg", type: "image/svg+xml" %>
2025-08-05 16:11:24 +02:00
<link rel="apple-touch-icon" href="/icon.png">
2026-09-29 06:34:43 +02:00
<%= preload_link_tag "young-serif-400.woff2" %>
<%= preload_link_tag "atkinson-hyperlegible-next-400.woff2" %>
2025-08-05 16:56:33 +02:00
2025-08-05 16:11:24 +02:00
<%# Includes all stylesheet files in app/assets/stylesheets %>
2026-01-07 11:16:03 +01:00
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
2025-08-05 16:11:24 +02:00
<%= javascript_importmap_tags %>
</head>
<body>
2026-09-29 06:34:43 +02:00
<a class="evitement" href="#contenu">Aller au contenu</a>
<%= render "entete" %>
<main id="contenu" tabindex="-1">
<%= render "flash" %>
2026-09-29 06:34:43 +02:00
<%= yield %>
</main>
<%= render "pied" %>
2025-08-05 16:11:24 +02:00
</body>
</html>