You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
607 B

2 years ago
2 years ago
2 years ago
2 years ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Basic Rails</title>
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <%= csrf_meta_tags %>
  7. <%= csp_meta_tag %>
  8. <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
  9. <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
  10. <%= javascript_importmap_tags %>
  11. </head>
  12. <body class='bg-yellow-200'>
  13. <nav >
  14. <%= link_to 'home', :root, class: 'btn-primary' %>
  15. <%= link_to 'about', main_about_path %>
  16. </nav>
  17. <div>
  18. <%= yield %>
  19. </div>
  20. </body>
  21. </html>