Files
season/layout/theme.liquid
T
2026-10-02 19:32:54 -06:00

44 lines
1.5 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 %}
<style>{{ 'critical.css' | inline_asset_content }}</style>
{% render 'font-faces' %}
{{ 'tailwind.css' | asset_url | stylesheet_tag: preload: true }}
{% # 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="preconnect" href="https://bpuemzaabpwmxvfcorjc.supabase.co" crossorigin>
<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 'whatsapp-coupon-widget' %}
</body>
</html>