aboutsummaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
blob: 38dcf4654629701151b08ebe165832597c077f2e (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
<!DOCTYPE html>
<html>
  <head>
    <title>Carte IN COMMON</title>
    <%= csrf_meta_tags %>
    <%= csp_meta_tag %>

    <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
  </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: 'flash' %>
  </body>
</html>