aboutsummaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
blob: bfdf5306e44a9caaa759720477beb6aa2e3cbbe3 (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>
        <header>
            <h1><%= link_to image_tag("https://talk.incommon.cc/uploads/disc_6_incommon/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>