import { e as createComponent, r as renderTemplate, k as renderComponent, aj as renderSlot, g as addAttribute, l as renderHead, ak as defineScriptVars, h as createAstro } from './astro/server_DePCulMI.mjs';
import 'piccolore';
/* empty css                          */
import { $ as $$Footer, a as $$Header } from './Footer_Dhdawf5j.mjs';

var __freeze = Object.freeze;
var __defProp = Object.defineProperty;
var __template = (cooked, raw) => __freeze(__defProp(cooked, "raw", { value: __freeze(cooked.slice()) }));
var _a, _b;
const $$Astro = createAstro();
const $$Layout = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
  Astro2.self = $$Layout;
  const { title, description = "Vergelijk sneaker prijzen bij alle Nederlandse shops. Vind de laagste prijs voor Nike, Adidas, New Balance en meer.", ogImage } = Astro2.props;
  const canonicalURL = new URL(Astro2.url.pathname, "https://sneakerpicks.nl");
  const gtmId = "GTM-XXXXXXX";
  const isStaging = undefined                     === "3002";
  return renderTemplate(_b || (_b = __template(['<html lang="nl" class="dark"> <head>', '<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="google-site-verification" content="PQJjQdhaAimpNyubc0Mks4mlRJ-enFxbGQmmqmhjj4w"><meta name="91381e1e615e2cb" content="70291f72979fd310f3dbee9d7444186f"><meta name="description"', '><meta name="theme-color" content="#0A0A0A">', '<link rel="canonical"', '><link rel="alternate" hreflang="nl"', '><link rel="alternate" hreflang="x-default"', '><meta property="og:title"', '><meta property="og:description"', '><meta property="og:type" content="website"><meta property="og:url"', '><meta property="og:locale" content="nl_NL"><meta property="og:site_name" content="SneakerPicks">', '<meta name="twitter:card" content="summary_large_image"><meta name="twitter:title"', '><meta name="twitter:description"', ">", "<title>", "</title><script>\n    if (localStorage.getItem('theme') === 'light') {\n      document.documentElement.classList.add('light');\n      document.documentElement.classList.remove('dark');\n    }\n  </script>", '</head> <body class="noise-bg min-h-screen bg-bg text-text"> ', " ", " <main> ", " </main> ", " </body></html>"])), renderTemplate(_a || (_a = __template(["<script>(function(){", "\n      (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n      'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n      })(window,document,'script','dataLayer',gtmId);\n    })();</script>"])), defineScriptVars({ gtmId })), addAttribute(description, "content"), isStaging, addAttribute(canonicalURL.toString(), "href"), addAttribute(canonicalURL.toString(), "href"), addAttribute(canonicalURL.toString(), "href"), addAttribute(title, "content"), addAttribute(description, "content"), addAttribute(canonicalURL.toString(), "content"), ogImage && renderTemplate`<meta property="og:image"${addAttribute(ogImage, "content")}>`, addAttribute(title, "content"), addAttribute(description, "content"), ogImage && renderTemplate`<meta name="twitter:image"${addAttribute(ogImage, "content")}>`, title, renderHead(), renderTemplate`<noscript><iframe${addAttribute(`https://www.googletagmanager.com/ns.html?id=${gtmId}`, "src")} height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>`, renderComponent($$result, "Header", $$Header, {}), renderSlot($$result, $$slots["default"]), renderComponent($$result, "Footer", $$Footer, {}));
}, "C:/Users/Roel/clawd/sneakerpicks/src/layouts/Layout.astro", void 0);

export { $$Layout as $ };
