Ajustes antes de produccion
This commit is contained in:
+9
-1
@@ -1,6 +1,12 @@
|
||||
<!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' %}
|
||||
|
||||
@@ -15,7 +21,6 @@
|
||||
{% 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>
|
||||
@@ -37,6 +42,9 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user