38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
<!doctype html>
|
|
<html lang="{{ request.locale.iso_code }}" style="max-width:100%;overflow-x:hidden">
|
|
<head>
|
|
{% # Inlined CSS Variables %}
|
|
{% render 'css-variables' %}
|
|
|
|
{% # Load and preload the critical CSS %}
|
|
{{ 'critical.css' | asset_url | stylesheet_tag: preload: true }}
|
|
{% render 'font-faces' %}
|
|
{{ 'tailwind.css' | asset_url | stylesheet_tag }}
|
|
|
|
{% # Social, title, etc. %}
|
|
{% render 'meta-tags' %}
|
|
|
|
{% capture shopify_header %}{{ content_for_header }}{% endcapture %}
|
|
{% render 'delay-header-scripts', html: shopify_header %}
|
|
</head>
|
|
|
|
<body>
|
|
{% sections 'header-group' %}
|
|
|
|
<main id="MainContent">
|
|
{{ content_for_layout }}
|
|
</main>
|
|
|
|
{% sections 'footer-group' %}
|
|
{% section 'cart-drawer' %}
|
|
|
|
{% if request.design_mode %}
|
|
<script nolazy src="{{ 'anime.min.js' | asset_url }}" defer></script>
|
|
<script nolazy src="{{ 'scroll-motion.js' | asset_url }}" defer></script>
|
|
{% else %}
|
|
<script type="rocketlazyloadscript" src="{{ 'anime.min.js' | asset_url }}" defer></script>
|
|
<script type="rocketlazyloadscript" src="{{ 'scroll-motion.js' | asset_url }}" defer></script>
|
|
{% endif %}
|
|
</body>
|
|
</html>
|