about summary refs log tree commit diff
path: root/app/views/layouts/application.html.erb
blob: 97b4aed080c8776d094f74be79f5f9aea68be5db (plain) (blame)
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
<!DOCTYPE html>
<html>
  <head>
    <title>Pinrails</title>
    <%= csrf_meta_tags %>
    <%= csp_meta_tag %>

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
  </head>

  <body>
    <main>
      <nav>
        <%= link_to "Home", root_path %> ~
        <%= link_to "Tables", machines_path %> ~
        <%= link_to "Players", players_path %> ~
        <%= link_to "Randomize", controller: "pages", action: "teampicker" %>
      </nav>
      <hr>

      <%= yield %>

      <footer>
        <center><a href="https://tildegit.org/ben/pinrails">source code here</a></center>
      </footer>
    </main>
  </body>
</html>