aboutsummaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
blob: ce42bb6b14d7aa42aa599604f7a2085145749c45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>Carte IN COMMON</title>
        <meta name="viewport" content="initial-width: device-width initial-scale=1.0 viewport-fit=cover">
        <%= csrf_meta_tags %>
        <%= csp_meta_tag %>
        <%= display_meta_tags site: 'IN COMMON Map' %>

        <%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
        <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
        <%= yield :head %>
    </head>

    <body<%= body_classes %>>
        <header>
            <h1><%= link_to image_tag("https://talk.incommon.cc/uploads/default/original/1X/92f926e8210ea7a5412d6e2bdabfa825233e808b.png", alt: "IN COMMON", size: "x4em"), '/' %></h1>
            <%= render 'application/user_info' %>
            <%= yield :header %>
        </header>
        <main>
            <article>
                <%= yield %>
            </article>
        </main>
        <aside>
            <%= yield :aside %>
        </aside>
        <footer>
            <hr>
            <%= render partial: "application/version" %>
            <%= yield :footer %>
        </footer>
        <%= render partial: 'debug' %>
        <%= render partial: 'flash' %>
        <%= yield :body_end %>
    </body>
</html>