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">
|
2026-09-29 20:04:56 +02:00
|
|
|
|
<% titre_partage = content_for(:title) || "Comment ça Kluk ?" %>
|
|
|
|
|
|
<% description = content_for(:description) || "Pas besoin de demander comment ça va : il suffit de regarder la tasse." %>
|
|
|
|
|
|
<meta name="description" content="<%= description %>">
|
|
|
|
|
|
<meta property="og:type" content="website">
|
|
|
|
|
|
<meta property="og:site_name" content="Kluk">
|
|
|
|
|
|
<meta property="og:locale" content="fr_FR">
|
|
|
|
|
|
<meta property="og:title" content="<%= titre_partage %>">
|
|
|
|
|
|
<meta property="og:description" content="<%= description %>">
|
|
|
|
|
|
<meta property="og:url" content="<%= request.base_url + request.path %>">
|
|
|
|
|
|
<meta property="og:image" content="<%= image_url "charte/partage.png" %>">
|
|
|
|
|
|
<meta property="og:image:width" content="1200">
|
|
|
|
|
|
<meta property="og:image:height" content="630">
|
|
|
|
|
|
<meta property="og:image:alt" content="Trois tasses de couleur alignées sur une table, et une quatrième posée sur la Kluk, fumante.">
|
|
|
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
2025-08-05 16:11:24 +02:00
|
|
|
|
<%= 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">
|
2026-09-29 07:35:53 +02:00
|
|
|
|
<%= render "flash" %>
|
2026-09-29 06:34:43 +02:00
|
|
|
|
<%= yield %>
|
|
|
|
|
|
</main>
|
|
|
|
|
|
<%= render "pied" %>
|
2025-08-05 16:11:24 +02:00
|
|
|
|
</body>
|
|
|
|
|
|
</html>
|