Files
season/layout/theme.liquid

51 lines
2.0 KiB
Plaintext

<!doctype html>
<html lang="{{ request.locale.iso_code }}" style="max-width:100%;overflow-x:clip">
<head>
<link rel="preconnect" href="https://cdn.shopify.com">
{%- if template.name == 'index' -%}
{%- # Hero cover (first frame of the theme-hosted video) = LCP image. Before the large inline CSS. -%}
<link rel="preload" as="image" href="{{ 'hero-frame-mobile.avif' | asset_url }}" media="(max-width: 1023px)" fetchpriority="high">
<link rel="preload" as="image" href="{{ 'hero-frame-desktop.avif' | asset_url }}" media="(min-width: 1024px)" fetchpriority="high">
{%- endif -%}
{% # Inlined CSS Variables %}
{% render 'css-variables' %}
{% # Tailwind v3 bundle: reset, utilities, and component CSS, minified %}
{% render 'tailwind-css' %}
{% render 'font-faces' %}
{% # Social, title, etc. %}
{% render 'meta-tags' %}
{% capture shopify_header %}{{ content_for_header }}{% endcapture %}
{% render 'delay-header-scripts', html: shopify_header %}
{% # WhatsApp coupon widget host: warm up the connection early %}
{%- unless request.design_mode %}
<link rel="dns-prefetch" href="https://bpuemzaabpwmxvfcorjc.supabase.co">
{%- endunless %}
</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 %}
{% render 'cart-merge-lines' %}
{% render 'carousel-edge-arrows' %}
{% render 'whatsapp-coupon-widget' %}
{% render 'google-merchant-badge' %}
</body>
</html>