PageSourceSearch

https://enigmagames.uy/assets/CategoriesSection-B5kSSNN0.js

js enigmagames.uy collected 2026-10-08 07:11:40 UTC 2,218 bytes, 1 lines download raw bytes

1import{j as a}from"./ui-CPD64juL.js";import{L as l}from"./vendor-CfKk-ojl.js";import{V as m,bl as i}from"./index-CL_fWKtB.js";const c=[{key:"Euro",name:"Euro",image:"/images/cat-euro.webp",to:"/catalogo?categoria=Euro"},{key:"Familiar",name:"Familiares",image:"/images/cat-familiares.webp",to:"/catalogo?categoria=Familiar"},{key:"Party",name:"Party",image:"/images/cat-party.webp",to:"/catalogo?categoria=Party"},{key:"Abstracto",name:"Abstractos",image:"/images/cat-abstractos.webp",to:"/catalogo?categoria=Abstracto"}],n=({tile:s})=>a.jsxs(l,{to:s.to,className:"group relative overflow-hidden rounded-lg aspect-square block",children:[a.jsx("div",{className:"absolute inset-0 bg-black/30 group-hover:bg-black/50 transition-all duration-300 z-10"}),a.jsx("img",{src:s.image,srcSet:`${s.image.replace(".webp","-300.webp")} 300w, ${s.image} 600w`,alt:s.name,width:600,height:600,sizes:"(max-width: 640px) 45vw, (max-width: 1024px) 22vw, 250px",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-110",loading:"lazy",decoding:"async"}),a.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-white z-20",children:a.jsx("h3",{className:"text-sm sm:text-base md:text-lg lg:text-xl font-bold px-2 py-1 bg-black/20 rounded-lg backdrop-blur-sm text-center",children:s.name})})]}),p=()=>{const s=m(e=>e.flags.homeTiles),{tiles:o}=i(),t=o.filter(e=>!!e.imagePath).map(e=>({key:e.slug,name:e.name,image:e.imagePath,to:`/catalogo?coleccion=${encodeURIComponent(e.slug)}`})),r=s&&t.length>0?t:c;return a.jsx("section",{className:"py-6 sm:py-12",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-6 sm:mb-8",children:[a.jsx("h2",{className:"text-xl sm:text-3xl font-bold mb-2",children:"Explora por Categorías"}),a.jsx("p",{className:"text-muted-foreground text-sm sm:text-base max-w-2xl mx-auto",children:"Descubre juegos de mesa para todos los gustos y todas las edades. Desde estrategia hasta juegos familiares."})]}),a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 sm:gap-4 md:gap-6 lg:gap-8 max-w-6xl mx-auto",children:r.map(e=>a.jsx(n,{tile:e},e.key))})]})})};export{p as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.