Skip to content

Commit c97ffb5

Browse files
committed
Simplify component_preview
1 parent 15e9ab7 commit c97ffb5

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
1-
<%# Top-level layout for all pages in the application %>
1+
<%# Layout for Lookbook previews of component partials %>
22
<!DOCTYPE html>
33
<html lang="<%= I18n.locale %>">
44
<head>
5-
<title>
6-
<%= content_for?(:title) ? "#{ yield(:title) } | #{ t('header.title') }" : t("header.title") %>
7-
</title>
85
<meta name="viewport" content="width=device-width,initial-scale=1">
9-
<%= csrf_meta_tags %>
10-
<%= csp_meta_tag %>
11-
12-
<%= favicon_link_tag asset_path('@uswds/uswds/dist/img/us_flag_small.png') %>
13-
146
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
15-
<%= yield :head %>
16-
177
<%= javascript_importmap_tags %>
188
<%= javascript_include_tag '@uswds/uswds/dist/js/uswds-init.min.js' %>
199
</head>
@@ -30,6 +20,5 @@
3020
</div>
3121

3222
<%= javascript_include_tag '@uswds/uswds/dist/js/uswds.min.js' %>
33-
<%= yield :scripts %>
3423
</body>
3524
</html>

0 commit comments

Comments
 (0)