PageSourceSearch

https://lepetitchef.com/assets/LpcBlogOverview-5EgatLhG.js

js lepetitchef.com collected 2026-10-04 00:10:07 UTC 9,970 bytes, 1 lines download raw bytes

1import{j as e}from"./framer-motion-D_zjAnjw.js";import{s as k,d as C}from"./index-Df2aYqkM.js";import{u as R}from"./useDocumentDir-DNBPiN4h.js";import{r as b,h as i,e as $,L}from"./vendor-DF062BdS.js";import{u as A,a as S,B}from"./BlogCoverMedia-BsBnRENh.js";import{L as z}from"./LpcHeader-Bi7URIkQ.js";import{L as H}from"./LpcFooter-ChwJVSfG.js";import{u as I}from"./useCanonical-DtHc_kJ2.js";import{D as F}from"./lpcSeo-D5jsqcqU.js";import{L as o}from"./lpcTheme-7WsCjSeF.js";import"./lucide-react-D3h7R6ya.js";import"./recharts-65EOoOu0.js";import"./blogMedia-DtL95zvT.js";import"./LangFlag-xN2PIqXe.js";import"./GiftIntro-BdXJNaxB.js";import"./GiftAtmosphere-KuEtzXiZ.js";import"./lpcVoucherUrl-Dm4ACGVZ.js";function _(){return C()}function u({article:t,lang:s,featured:d=!1}){const l=t.slug,r=`/blog/${s}/${l}/`,n=S(t.heroImage);return d&&n?e.jsx(L,{href:r,children:e.jsxs("article",{className:"group relative overflow-hidden rounded-2xl cursor-pointer",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(201,168,76,0.15)",gridColumn:"span 2"},children:[e.jsxs("div",{className:"relative h-72 md:h-96 overflow-hidden",children:[e.jsx(B,{src:n,alt:t.title,mediaClassName:"transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.2) 50%, transparent 100%)"}}),t.category&&e.jsx("div",{className:"absolute top-4 left-4",children:e.jsx("span",{className:"inline-block text-xs uppercase tracking-widest font-semibold px-3 py-1 rounded-full",style:{background:o.terracotta,color:"#fff",fontFamily:"'Montserrat', sans-serif",backdropFilter:"blur(8px)"},children:t.category})})]}),e.jsxs("div",{className:"p-6 md:p-8",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold italic leading-tight mb-3 transition-colors group-hover:text-[#C84B2F]",style:{color:"#FFFBEB",fontFamily:"'Playfair Display', serif"},children:t.title}),t.excerpt&&e.jsx("p",{className:"leading-relaxed mb-4",style:{color:"rgba(255,255,255,0.6)",fontFamily:"'Montserrat', sans-serif",fontSize:"0.95rem",lineHeight:"1.7"},children:t.excerpt}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-xs",style:{color:"rgba(255,255,255,0.45)",fontFamily:"'Montserrat', sans-serif"},children:t.date}),e.jsx("span",{className:"inline-flex items-center gap-2 text-sm font-semibold tracking-wider transition-colors group-hover:text-[#FFFBEB]",style:{color:o.terracotta,fontFamily:"'Montserrat', sans-serif"},children:{de:"Weiterlesen →",en:"Read more →"}[s]||"Read more →"})]})]})]})}):e.jsx(L,{href:r,children:e.jsxs("article",{className:"group overflow-hidden rounded-2xl transition-transform duration-300 hover:-translate-y-1 cursor-pointer",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(201,168,76,0.15)"},children:[n&&e.jsxs("div",{className:"relative overflow-hidden",style:{aspectRatio:"16/9"},children:[e.jsx(B,{src:n,alt:t.title,mediaClassName:"transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 60%)"}}),t.category&&e.jsx("div",{className:"absolute top-3 left-3",children:e.jsx("span",{className:"inline-block text-xs uppercase tracking-widest font-semibold px-2.5 py-1 rounded-full",style:{background:o.terracotta,color:"#fff",fontFamily:"'Montserrat', sans-serif"},children:t.category})})]}),!n&&e.jsxs("div",{className:"relative overflow-hidden flex items-center justify-center",style:{aspectRatio:"16/9",background:"linear-gradient(135deg, rgba(201,168,76,0.1) 0%, rgba(26,26,26,0.8) 100%)"},children:[e.jsx("span",{style:{color:"rgba(201,168,76,0.3)",fontSize:"3rem"},children:"✦"}),t.category&&e.jsx("div",{className:"absolute top-3 left-3",children:e.jsx("span",{className:"inline-block text-xs uppercase tracking-widest font-semibold px-2.5 py-1 rounded-full",style:{background:o.terracotta,color:"#fff",fontFamily:"'Montserrat', sans-serif"},children:t.category})})]}),e.jsxs("div",{className:"p-5",children:[e.jsx("h2",{className:"text-lg font-bold italic leading-snug mb-3 transition-colors group-hover:text-[#C84B2F]",style:{color:"#FFFBEB",fontFamily:"'Playfair Display', serif"},children:t.title}),t.excerpt&&e.jsx("p",{className:"text-sm leading-relaxed mb-4",style:{color:"rgba(255,255,255,0.55)",fontFamily:"'Montserrat', sans-serif",lineHeight:"1.7"},children:t.excerpt}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-xs",style:{color:"rgba(255,255,255,0.45)",fontFamily:"'Montserrat', sans-serif"},children:t.date}),e.jsx("span",{className:"text-xs tracking-wider font-semibold transition-colors group-hover:text-[#FFFBEB]",style:{color:o.terracotta,fontFamily:"'Montserrat', sans-serif"},children:{de:"Weiterlesen →",en:"Read more →"}[s]||"Read more →"})]})]})]})})}function re(){const[,t]=i("/tmt/blog/de/"),[,s]=i("/tmt/blog/de"),[,d
1]=i("/blog/de/"),[,l]=i("/blog/de"),[,m]=i("/tmt/blog/en/"),[,r]=i("/tmt/blog/en"),[,n]=i("/blog/en/"),[,c]=i("/blog/en"),g=t||s||d||l,p=m||r||n||c;return b.useEffect(()=>{g&&k("de"),p&&k("en")},[g,p]),e.jsx($,{to:"/blog"})}function ne({initialLang:t}){I("/blog");const[s,d]=b.useState(t??_);R(s),b.useEffect(()=>{k(s)},[s]);const l={articles:A("de")},m={articles:A("en")},r=s==="de"?l?.articles??[]:m?.articles??[],n=s==="de"?m?.articles??[]:l?.articles??[],c=s==="de"?"en":"de",g=r.length>0?r:n,p=r.length>0?n:[];r.length>0,b.useEffect(()=>{const a=(E,M,P)=>{let x=document.head.querySelector(`meta[${E}="${M}"]`);x||(x=document.createElement("meta"),x.setAttribute(E,M),document.head.appendChild(x)),x.setAttribute("content",P)},h={de:"Le Petit Chef Blog – Erlebnisse, Magie & Dining",en:"Le Petit Chef Blog – Experiences, Magic & Dining"},w={de:"Erlebnisgastronomie, Dinner-Experiences und magische Abende — handverlesen von unserem Team.",en:"Experience dining, dinner experiences and magical evenings — handpicked by our team."},v=h[s]??h.en,N=w[s]??w.en,D=`${F}/blog`;document.title=v,a("name","description",N),a("property","og:type","website"),a("property","og:title",v),a("property","og:description",N),a("property","og:url",D),a("property","og:image",`${F}/opengraph.jpg`),a("name","twitter:card","summary_large_image"),a("name","twitter:title",v),a("name","twitter:description",N),a("name","twitter:image",`${F}/opengraph.jpg`)},[s]);const[y,...j]=g,f=r.length>0?s:c;return e.jsxs("div",{style:{background:o.surfaceDark,minHeight:"100vh"},children:[e.jsx(z,{lang:s,onLangChange:d}),e.jsxs("section",{className:"relative pt-28 sm:pt-32 pb-8 px-4 text-center overflow-hidden",style:{background:"linear-gradient(180deg, #222222 0%, #1A1A1A 100%)"},children:[e.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:Array.from({length:40}).map((a,h)=>e.jsx("div",{className:"absolute rounded-full",style:{width:Math.random()*2+1+"px",height:Math.random()*2+1+"px",background:"rgba(201,168,76,0.4)",top:Math.random()*100+"%",left:Math.random()*100+"%",opacity:Math.random()*.6+.2}},h))}),e.jsxs("div",{className:"relative z-10",children:[e.jsx("p",{className:"text-xs uppercase tracking-widest font-semibold mb-3",style:{color:o.terracotta,fontFamily:"'Montserrat', sans-serif"},children:{de:"Magazin",en:"Magazine"}[s]||"Magazine"}),e.jsx("h1",{className:"text-4xl sm:text-5xl font-bold italic mb-4",style:{color:"#FFFBEB",fontFamily:"'Playfair Display', serif",textShadow:"0 0 40px rgba(201,168,76,0.2)"},children:{de:"Magische Erlebnisse",en:"Magical Experiences"}[s]||"Magical Experiences"}),e.jsx("p",{className:"text-base max-w-xl mx-auto",style:{color:"rgba(255,255,255,0.5)",fontFamily:"'Montserrat', sans-serif"},children:{de:"Erlebnisgastronomie, Dinner-Experiences und magische Abende — handverlesen von unserem Team.",en:"Experience dining, dinner experiences and magical evenings — handpicked by our team."}[s]||"Experience dining, dinner experiences and magical evenings — handpicked by our team."})]})]}),e.jsx("main",{className:"max-w-5xl mx-auto px-4 pt-4 pb-12",children:g.length===0?e.jsx("div",{className:"text-center py-20",children:e.jsx("p",{className:"text-lg italic",style:{color:"rgba(255,255,255,0.3)",fontFamily:"'Playfair Display', serif"},children:{de:"Noch keine Artikel vorhanden.",en:"No articles yet."}[s]||"No articles yet."})}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e.jsx("div",{className:"h-px flex-1",style:{background:"rgba(201,168,76,0.2)"}}),e.jsx("span",{className:"text-xs uppercase tracking-widest font-semibold px-3",style:{color:o.terracotta,fontFamily:"'Montserrat', sans-serif"},children:f==="de"?"Deutschsprachige Artikel":"English Articles"}),e.jsx("div",{className:"h-px flex-1",style:{background:"rgba(201,168,76,0.2)"}})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-16",children:[y&&e.jsx(u,{article:y,lang:f}),j.slice(0,2).map(a=>e.jsx(u,{article:a,lang:f},a.slug))]}),j.length>2&&e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 mb-16",children:j.slice(2).map(a=>e.jsx(u,{article:a,lang:f},a.slug))}),p.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e.jsx("div",{className:"h-px flex-1",style:{background:"rgba(201,168,76,0.1)"}}),e.jsx("span",{className:"text-xs uppercase tracking-widest font-semibold px-3",style:{color:"rgba(200,75,47,0.6)",fontFamily:"'Montserrat', sans-serif"},children:c==="en"?"English Articles":"Deutschsprachige Artikel"}),e.jsx("div",{className:"h-px flex-1",style:{background:"rgba(201,168,76,0.1)"}})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:p.map(a=>e.jsx(u,{article:a,lang:c},a.slug))})]})]})}),e.jsx(H,{lang:s})]})}export{re as LpcBlogLangRedirect,ne 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.