app.kluk.fr/app/views/layouts/application.html.erb
Christophe Robillard ad251e7558 use charte from www
2026-09-29 06:34:43 +02:00

39 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" %>
<script src="https://kit.fontawesome.com/079b06296f.js" crossorigin="anonymous"></script>
<%# 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">
<%= yield %>
</main>
<%= render "pied" %>
</body>
</html>