Sha256: 0e75e5a171005cc2c0c696c12c64f4e3bd1eacb8cd1e0ce5bb050119df154dfe

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">

    <title><%= content_for(:title) || "Rails" %></title>

    <%= csrf_meta_tags %>
    <%= csp_meta_tag %>

    <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>

    <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
    <%= javascript_importmap_tags %>

    <%= hotwire_livereload_tags if Rails.env.development? %>
    <%= turbo_refreshes_with method: :morph, scroll: :preserve %>

    <%= yield :head %>
  </head>

  <body class="font-sans antialiased">
    <div class="min-h-screen bg-gray-100">
      <%= render "layouts/navigation" %>

      <!-- Page Heading -->
      <% if content_for?(:header) %>
        <header class="bg-white dark:bg-gray-800 shadow">
          <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
            <%= yield :header %>
          </div>
        </header>
      <% end %>

      <!-- Page Content -->
      <main>
        <%= yield %>
      </main>
    </div>
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaze-0.5.0 stubs/hotwire/app/views/layouts/application.html.erb
kaze-0.4.0 stubs/hotwire/app/views/layouts/application.html.erb
kaze-0.3.0 stubs/hotwire/app/views/layouts/application.html.erb