save avant prochaine modif

This commit is contained in:
2026-04-08 14:46:10 +02:00
parent bb10407e66
commit d88ba7c53c
1747 changed files with 194075 additions and 2433 deletions

View File

@@ -0,0 +1 @@
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94196,e=>{"use strict";let t=(0,e.i(75840).default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["Share2",()=>t],94196)},66599,e=>{"use strict";let t=(0,e.i(75840).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>t],66599)},79587,e=>{"use strict";let t=(0,e.i(75840).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["Calendar",()=>t],79587)},84156,e=>{"use strict";var t=e.i(5974),s=e.i(32653),a=e.i(42500),r=e.i(23862),l=e.i(66599),i=e.i(23518),c=e.i(79587),x=e.i(94196),n=e.i(67810);e.s(["default",0,()=>{let{id:e}=(0,r.useParams)(),d=n.MOCK_BLOG_POSTS.find(t=>t.id===e);return((0,s.useEffect)(()=>{window.scrollTo(0,0)},[e]),d)?(0,t.jsxs)("article",{className:"bg-white min-h-screen",children:[(0,t.jsxs)("div",{className:"w-full h-64 md:h-96 relative",children:[(0,t.jsx)("img",{src:d.imageUrl,alt:d.title,className:"w-full h-full object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-full p-4 sm:p-8 max-w-4xl mx-auto",children:(0,t.jsxs)(a.default,{href:"/blog",className:"inline-flex items-center text-white/80 hover:text-white mb-4 text-sm font-medium transition-colors",children:[(0,t.jsx)(l.ArrowLeft,{className:"w-4 h-4 mr-1"})," Retour aux articles"]})})]}),(0,t.jsx)("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-12 -mt-20 relative z-10",children:(0,t.jsxs)("div",{className:"bg-white rounded-xl shadow-xl p-6 md:p-10 border border-gray-100",children:[(0,t.jsxs)("header",{className:"mb-8 border-b border-gray-100 pb-8",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4 text-sm text-gray-500 mb-4",children:[(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)(i.User,{className:"w-4 h-4 mr-1 text-brand-500"}),d.author]}),(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)(c.Calendar,{className:"w-4 h-4 mr-1 text-brand-500"}),d.date]}),(0,t.jsx)("span",{className:"px-2 py-1 bg-brand-50 text-brand-700 rounded text-xs font-semibold uppercase tracking-wide",children:"Conseils"})]}),(0,t.jsx)("h1",{className:"text-3xl md:text-4xl font-serif font-bold text-gray-900 leading-tight",children:d.title})]}),(0,t.jsxs)("div",{className:"prose prose-lg prose-orange max-w-none text-gray-600",children:[(0,t.jsx)("p",{className:"lead text-xl text-gray-500 font-serif italic mb-6",children:d.excerpt}),d.content.split("\n").map((e,s)=>""!==e.trim()&&(0,t.jsx)("p",{className:"mb-4 leading-relaxed",children:e},s))]}),(0,t.jsxs)("div",{className:"mt-12 pt-8 border-t border-gray-100 flex justify-between items-center",children:[(0,t.jsx)("p",{className:"text-sm text-gray-500 font-medium",children:"Vous avez aimé cet article ?"}),(0,t.jsx)("div",{className:"flex space-x-2",children:(0,t.jsx)("button",{className:"p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-brand-100 hover:text-brand-600 transition-colors",children:(0,t.jsx)(x.Share2,{className:"w-5 h-5"})})})]})]})})]}):(0,t.jsxs)("div",{className:"min-h-[60vh] flex flex-col items-center justify-center",children:[(0,t.jsx)("h2",{className:"text-3xl font-serif font-bold text-gray-900 mb-4",children:"Article introuvable"}),(0,t.jsx)("p",{className:"text-gray-600 mb-8",children:"L'article que vous recherchez n'existe pas ou a été supprimé."}),(0,t.jsxs)(a.default,{href:"/blog",className:"text-brand-600 hover:text-brand-700 font-medium flex items-center",children:[(0,t.jsx)(l.ArrowLeft,{className:"w-4 h-4 mr-2"})," Retour au blog"]})]})}])}]);