PageSourceSearch

https://ramaut.be/assets/FolderCarte-IHTmdoZe.js

js ramaut.be collected 2026-10-07 17:14:51 UTC 1,978 bytes, 1 lines download raw bytes

1import{t as e}from"./jsx-runtime-B-hcVAMW.js";import{n as t,u as n}from"./queries-CxS0BLik.js";import{r,t as i}from"./CouvertureFolder-BMU2iUkL.js";import{h as a}from"./index-BcpP6UB0.js";var o=e(),s=`(min-width: 1024px) 400px, (min-width: 768px) 45vw, calc(100vw - 2.5rem)`;function c({folder:e,famille:c}){let l=e.type_document===`catalogue`;return(0,o.jsxs)(`article`,{className:`group flex h-full flex-col overflow-hidden rounded-2xl border border-border bg-card shadow-soft`,children:[(0,o.jsxs)(`div`,{className:`relative overflow-hidden`,children:[(0,o.jsx)(i,{folder:e,sizes:s,width:800,height:600,className:`aspect-[4/3] transition-transform duration-700 group-hover:scale-105`}),(0,o.jsxs)(`div`,{className:`absolute left-4 top-4 flex flex-wrap gap-2`,children:[(0,o.jsx)(`span`,{className:`rounded-full bg-primary px-4 py-1.5 font-ui text-[0.6rem] font-semibold uppercase tracking-[0.16em] text-primary-foreground`,children:l?`Catalogue`:t[e.categorie]}),c?(0,o.jsx)(`span`,{className:`rounded-full bg-ink px-4 py-1.5 font-ui text-[0.6rem] font-semibold uppercase tracking-[0.16em] text-ink-foreground`,children:c}):null]})]}),(0,o.jsxs)(`div`,{className:`flex flex-1 flex-col p-7`,children:[(0,o.jsx)(`h3`,{className:`text-xl text-ink`,children:e.titre}),l?null:(0,o.jsx)(`p`,{className:`mt-2 font-ui text-xs font-semibold uppercase tracking-[0.12em] text-primary`,children:n(e.date_debut,e.date_fin)}),e.description?(0,o.jsx)(`p`,{className:`prose-editorial mt-3 flex-1 text-sm text-muted-foreground`,children:e.description}):(0,o.jsx)(`div`,{className:`flex-1`}),(0,o.jsx)(`p`,{className:`mt-3 font-ui text-xs text-muted-foreground`,children:l?`Gamme disponible dans nos deux magasins.`:`Valable dans nos deux magasins.`}),(0,o.jsx)(r,{folder:e,className:`mt-6`}),(0,o.jsx)(a,{to:`/promotions/$slug`,params:{slug:e.slug},variant:`outline`,size:`sm`,className:`mt-3 self-start`,children:l?`Voir la page du catalogue`:`Voir la page du folder`})]})]})}export{c as t};

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.