Sha256: 4e2d1d77d81f6f7f30e9563e3511b3f3da21a5872f21d84e7c480e1202fd975b

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 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>
      <%== @theme_overrides %>
    </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.2 app/views/layouts/lookbook/skeleton.html.erb
lookbook-1.0.0.beta.1 app/views/layouts/lookbook/skeleton.html.erb
lookbook-1.0.0.beta.0 app/views/layouts/lookbook/skeleton.html.erb