Sha256: d3498e52e97256ae28bac2ec1f89d0e32678bbe4534871d5deeba250e2e9d9f2

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 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 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

1 entries across 1 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.6 app/views/layouts/lookbook/skeleton.html.erb