PageSourceSearch

https://kikkfestival.be/assets/PanelDetailPage-BEf1mVUd.js

js kikkfestival.be collected 2026-09-30 05:46:28 UTC 6,970 bytes, 1 lines download raw bytes

1import{u as v,j as e,S as b,R as N,c as u,a as P,H as x,d as j,t as K,e as I,f as L}from"./index-ifFCWbr-.js";import{C as S}from"./ContentPartnersSection-_hVPvxB3.js";import{G as A}from"./GalleryCarousel-BilfWgSt.js";import{p as i,P as _,b as E}from"./panels-CLsnQJl_.js";import{a as B}from"./usePanels-qGfxrJNq.js";const C="https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=1200&h=800&fit=crop",k=({person:s,className:a})=>e.jsx("div",{className:u("relative overflow-hidden bg-muted aspect-[4/5]",a),children:s.photo_url?e.jsx(b,{src:s.photo_url,alt:s.full_name||"",className:"absolute inset-0 w-full h-full object-cover",loading:"lazy",renderWidth:640,responsiveWidths:[320,480,640,800],sizes:"(max-width: 768px) 100vw, 33vw"}):null}),y=({person:s,language:a,compact:t})=>{const c=[i(s.role,s.role_en,a),s.company].filter(o=>o&&o.trim()).join(" — "),n=i(s.description,s.description_en,a);return e.jsxs("div",{className:"min-w-0",children:[e.jsx("h3",{className:u("font-black uppercase tracking-tight leading-[0.95]",t?"text-xl md:text-2xl":"text-2xl md:text-4xl"),children:s.full_name}),c&&e.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] font-medium text-muted-foreground mt-2",children:c}),n&&e.jsx(N,{value:n,className:u("text-muted-foreground leading-relaxed mt-4",t?"text-sm":"text-base")})]})},f=({person:s,language:a})=>e.jsxs("div",{className:"grid grid-cols-12 gap-6 md:gap-8 items-start",children:[e.jsxs("div",{className:"col-span-12 sm:col-span-5 md:col-span-4 lg:col-span-3",children:[e.jsx(k,{person:s}),s.photo_credit&&e.jsx("p",{className:"text-[10px] text-muted-foreground mt-2 text-left",children:s.photo_credit})]}),e.jsx("div",{className:"col-span-12 sm:col-span-7 md:col-span-8 lg:col-span-7",children:e.jsx(y,{person:s,language:a})})]}),F=({person:s,language:a})=>e.jsxs("div",{className:"flex flex-col min-w-0",children:[e.jsx(k,{person:s}),e.jsxs("div",{className:"mt-4",children:[e.jsx(y,{person:s,language:a,compact:!0}),s.photo_credit&&e.jsx("p",{className:"text-[10px] text-muted-foreground mt-2 text-left",children:s.photo_credit})]})]}),M=({item:s})=>{const{language:a}=v(),t=a==="fr",d=i(s.description,s.description_en,a),c=s.hero_image_url||s.image_url||C,n=(s.gallery_images||[]).filter(Boolean),o=s.moderator&&s.moderator.full_name?s.moderator:null,r=(s.speakers||[]).filter(l=>l&&l.full_name);return e.jsxs("div",{className:"pb-24",children:[e.jsx("section",{className:"w-full h-[70vh] md:h-[85vh] overflow-hidden",children:e.jsx(b,{src:c,alt:s.title,className:"w-full h-full object-cover",loading:"eager",decoding:"sync",fetchpriority:"high",preload:!0,renderWidth:1600,responsiveWidths:[800,1280,1600,1920],quality:72,sizes:"100vw"})}),e.jsx("section",{className:"container mx-auto px-4 pt-12 pb-8",children:e.jsx("div",{className:"grid grid-cols-12 gap-4",children:e.jsxs("div",{className:"col-span-12 lg:col-span-8",children:[e.jsx("span",{className:"inline-block text-[10px] uppercase tracking-[0.3em] font-medium text-muted-foreground border border-border px-3 py-1 mb-6",children:_[s.room]}),e.jsx("h1",{className:"text-5xl md:text-7xl lg:text-[6rem] font-black uppercase tracking-[-0.03em] leading-[0.85] mb-6",children:s.title})]})})}),d&&e.jsx("section",{className:"container mx-auto px-4 py-12 border-t border-border",children:e.jsxs("div",{className:"grid grid-cols-12 gap-8",children:[e.jsx("div",{className:"col-span-12 lg:col-span-3",children:e.jsx("h2",{className:"text-[10px] uppercase tracking-[0.4em] font-bold text-muted-foreground",children:t?"À propos du panel":"About the panel"})}),e.jsx("div",{className:"col-span-12 lg:col-span-7",children:e.jsx(N,{value:d,className:"text-muted-foreground leading-relaxed text-base"})})]})}),o&&e.jsxs("section",{className:"container mx-auto px-4 py-12 border-t border-border","data-testid":"panel-moderator",children:[e.jsx("h2",{className:"text-[10px] uppercase tracking-[0.4em] font-bold text-muted-foreground mb-8",children:t?"Modérateur·rice":"Moderator"}),e.jsx(f,{person:o,language:a})]}),r.length>0&&e.jsxs("section",{className:"container mx-auto px-4 py-12 border-t border-border","data-testid":"panel-speakers",children:[e.jsx("h2",{className:"text-[10px] uppercase tracking-[0.4em] font-bold text-muted-foreground mb-8",children:t?"Intervenant·e·s":"Speakers"}),r.length===1?e.jsx(f,{person:r[0],language:a}):e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:r.map((l,p)=>e.jsx(F,{person:l,language:a},p))})]}),e.jsx(S,{contentType:"panels",contentId:s.id}),n.length>0&&e.jsxs("section",{className:"container mx-auto px-4 py-12 border-t border-border",children:[e.jsx("h2",{className:"text-[10px] uppercase tracking-[0.4em] font-bold text-muted-foreground mb-8",children:t?"Galerie":"Gallery"}),e.jsx(A,{images:n,alt:s.title,credit:s.carousel_credit})]})]})},O=()=>{var g;const{slug:s}=P(),{language:a}=v(),{data:t,isLoading:d,error:c}=B(s);if(d)return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(x,{variant:"minimal",showBack:!0}),e.jsx("main",{className:"pt-20 flex items-center justify-center h-96",children:e.jsx("p",{className:"text-muted-foreground",children:a==="en"?"Loading...":"Chargement..."})})]});if(c||!t)return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(x,{variant:"minimal",showBack:!0}),e.jsx("main",{className:"pt-20 pb-16",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("p",{className:"text-muted-foreground",children:a==="en"?"Item not found":"Élément non trouvé"})})}),e.jsx(j,{})]});const n=i(t.seo_title,t.seo_title_en,a)||t.title,o=i(t.meta_description,t.meta_description_en,a)||i(t.description,t.description_en,a),r=K(String(o||"")).replace(/\s+/g," ").trim().slice(0,160),l=t.social_share_image_url||t.hero_image_url||t.image_url||void 0,p=E(t.slug),h=[...(g=t.moderator)!=null&&g.full_name?[t.moderator]:[],...(t.speakers||[]).filter(m=>m==null?void 0:m.full_name)].map(m=>({"@type":"Person",name:m.full_name})),w={"@context":"https://schema.org","@type":"Event",name:t.title,url:`https://kikkfestival.be${p}`,...r?{description:r}:{},...l?{image:l}:{},eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",location:{"@type":"Place",name:_[t.room],address:{"@type":"PostalAddress",addressLocality:"Namur",addressCountry:"BE"}},...h.length?{performer:h}:{},superEvent:{"@type":"Festival",name:"KIKK Festival 2026"},organizer:{"@type":"Organization",name:"KIKK",url:"https://kikkfestival.be"}};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(I,{children:e.jsx("script",{type:"application/ld+json",children:JSON.stringify(w)})}),e.jsx(L,{title:`${n} — KIKK Festival`,description:r||"KIKK Festival — Digital cultures festival in Namur.",path:p,image:l,type:"event"}),e.jsx(x,{variant:"minimal",showBack:!0}),e.jsx("main",{children:e.jsx(M,{item:t})}),e.jsx(j,{})]})};export{O 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.