aboutsummaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
blob: 210ace8eb959c5315961efafbb0e1650ab2989e1 (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
<!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 %>

    <%= stylesheet_link_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>
          <%= yield :footer %>
      </footer>
      <%= render partial: 'debug' %>
      <%= render partial: 'flash' %>
      <%= yield :body_end %>
  </body>
</html>