Sha256: 9c4e3819fc8021a51c4af6c0b6587e1a143f9e0f92785d80ca6f8c0654fa8ffc

Contents?: true

Size: 1.69 KB

Versions: 3

Compression:

Stored size: 1.69 KB

Contents

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

  <link href="/lookbook-assets/css/lookbook.css?v=<%= Lookbook::VERSION %>" rel="stylesheet">
  <link href="/lookbook-assets/css/themes/<%= config.ui_theme %>.css?v=<%= Lookbook::VERSION %>" rel="stylesheet">
  <% if @theme_overrides.present? %>
    <style media="all">
      <%== @theme_overrides %>
    </style>
  <% end %>

  <% if content_for? :styles %>
    <style media="all">
      <%= content_for :styles %>
    </style>
  <% end %>

  <% if config.ui_favicon != false %>
    <link rel="icon" href="<%= config.ui_favicon || "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>👀</text></svg>" %>">
  <% end %>

  <script>
    window.LOG_LEVEL = <%= Lookbook::Engine.log_level %>;
    window.APP_NAME = "<%= Lookbook::Engine.app_name %>";
    <% if Lookbook::Engine.websocket %>
    window.SOCKET_PATH = "<%= Lookbook::Engine.websocket_mount_path %>";
    <% end %>
  </script>
  
  <script src="/lookbook-assets/js/lookbook.js?v=<%= Lookbook::VERSION %>" defer></script>
  <% if params[:lookbook_embed] %>
    <script src="/lookbook-assets/js/embed.js?v=<%= Lookbook::VERSION %>" defer></script>
  <% end %>
  
  <title><%= [@title, config.project_name || "Lookbook"].compact.join(" :: ") %></title>
</head>
<body>
  
  <%= yield :body %>
  
  <% if Rails.env.development? %>
    <div id="debug-data" class="hidden" x-cloak>
      <%= pretty_json(Lookbook.debug_data) %>
    </div>
  <% end %>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.5 app/views/layouts/lookbook/skeleton.html.erb
lookbook-1.0.0.beta.4 app/views/layouts/lookbook/skeleton.html.erb
lookbook-1.0.0.beta.3 app/views/layouts/lookbook/skeleton.html.erb