peridot/rules_byc/internal/byc_bundle/index.hbs
2022-07-07 22:13:21 +02:00

38 lines
1.1 KiB
Handlebars

<!DOCTYPE html>
<html lang="en" class="min-h-screen">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover"
/>
<title><%= title %></title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="theme-color" content="#ffffff" />
<% if(style) { %>
<link rel="stylesheet" href="<%= style %>" />
<% } %> <% if(typekit) { %>
<link rel="stylesheet" href="<%= typekit %>" />
<% } %>
</head>
<body class="bg-gray-100 font-sans min-h-screen">
<div id="root" class="bg-gray-100 flex h-full"></div>
<% if(script) { %>
<script src="<%= script %>"></script>
<% } %>
<script>
window.state = {
{{#each this}}
'{{@key}}': '{{this}}',
{{/each}}
}
</script>
</body>
</html>