PageSourceSearch

https://harikabirtavsiye.com/assets/baharatlar._slug-BP4yKETg.js

js harikabirtavsiye.com collected 2026-10-02 01:33:28 UTC 13,366 bytes, 1 lines download raw bytes

1import{bx as e,aC as f,L as p,au as N,bS as y,bR as k,b$ as d,a as b,ax as v}from"./index-BCXCPzZW.js";import{B as w}from"./Breadcrumbs-CBUSfx7E.js";import{S as z}from"./ShareButtons-C0IgngQS.js";import{A as B,a as S}from"./ArticleAuthorHeader-C4RThri5.js";import{A as u}from"./AdSlot-wLkQZx5l.js";import{C as j,S as A}from"./SpiceCover-CqSXOg6a.js";import{L as D}from"./ListenButton-CyE9Znxw.js";import{A as h}from"./arrow-right-B1_nEMDl.js";import{I as T}from"./info-Co7jyO0I.js";import{L as C}from"./leaf-DpO_An9t.js";import"./chevron-right-XorDH11m.js";import"./SharePreviewModal-C6HrDg0-.js";import"./loader-circle-VmLf0q_B.js";import"./download-iLQD6yZy.js";import"./share-2-CyEBO0cC.js";import"./send-BkIzKkU-.js";import"./link-2-CtH_n_Rz.js";import"./pencil-line-D2X4qXoT.js";import"./calendar-days-DU5rLBJL.js";import"./refresh-cw-CImy0BJn.js";import"./clock-DBPxGPap.js";import"./mic-Biz8Gtu3.js";import"./headphones-D0690Rs7.js";const M="/assets/cin-bes-baharat-CEDzXphT.jpg",H="/assets/dukkah-BEwXa7A4.jpg",L="/assets/garam-masala-esKl3Fjg.jpg",q="/assets/isot-CsufewAI.jpg",I="/assets/kakule-CvNFsDUu.jpg",R="/assets/karabiber-DAfIAgwk.jpg",$="/assets/karanfil-vqixdLHm.jpg",E="/assets/kimyon-BnYni_Ye.jpg",O="/assets/kisnis-DsHJDgeM.jpg",F="/assets/kori-tozu-snRarwb3.jpg",X="/assets/pul-biber-D7Zqn4l9.jpg",P="/assets/ras-el-hanout-DOuFBVHL.jpg",Y="/assets/safran-CO9lVExV.jpg",V="/assets/sumak-CHdBCc0P.jpg",J="/assets/tarcin-2qLtz9XU.jpg",K="/assets/zahter-CdIJ4QRw.jpg",U="/assets/zencefil-CXs0iphX.jpg",Q="/assets/zerdecal-DxkunHcv.jpg",g=Object.assign({"./spices/cin-bes-baharat.jpg":M,"./spices/dukkah.jpg":H,"./spices/garam-masala.jpg":L,"./spices/isot.jpg":q,"./spices/kakule.jpg":I,"./spices/karabiber.jpg":R,"./spices/karanfil.jpg":$,"./spices/kimyon.jpg":E,"./spices/kisnis.jpg":O,"./spices/kori-tozu.jpg":F,"./spices/pul-biber.jpg":X,"./spices/ras-el-hanout.jpg":P,"./spices/safran.jpg":Y,"./spices/sumak.jpg":V,"./spices/tarcin.jpg":J,"./spices/zahter.jpg":K,"./spices/zencefil.jpg":U,"./spices/zerdecal.jpg":Q});function Z(s){return s.replace(/^\.\/spices\//,"").replace(/\.jpg$/,"")}const _={};for(const s of Object.keys(g)){const t=Z(s);_[t]={webp:g[s],fallback:g[s],width:1280,height:800}}function G(s){return _[s]}function W({items:s,linkTo:t,heading:x="İlgili Yazılar",subheading:c="Bu içeriğe benzer diğer rehberlerimize göz atın.",ctaLabel:m,ctaTo:l,ctaHash:o}){return!s||s.length===0?null:e.jsxs("section",{"aria-label":"İlgili yazılar",className:"mt-12 rounded-2xl border border-border bg-surface p-5 md:p-8",children:[e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"text-xs uppercase tracking-[0.18em] text-primary inline-flex items-center gap-1.5",children:[e.jsx(f,{className:"h-3.5 w-3.5"})," Devamını oku"]}),e.jsx("h2",{className:"mt-1 font-serif text-2xl md:text-3xl",children:x}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:c})]}),m&&l&&e.jsxs(p,{to:l,hash:o,className:"inline-flex items-center gap-1 text-sm text-primary hover:gap-2 transition-all",children:[m," ",e.jsx(h,{className:"h-4 w-4"})]})]}),e.jsx("ul",{className:"mt-6 grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:s.map(a=>e.jsx("li",{children:e.jsxs(p,{to:t,params:{slug:a.slug},className:"group flex h-full items-start gap-3 rounded-xl border border-border bg-card p-3 transition hover:border-primary/40 hover:shadow-sm",children:[a.image?e.jsx("img",{src:a.image,alt:a.imageAlt||a.title,loading:"lazy",className:"h-16 w-16 shrink-0 rounded-lg border border-border object-cover bg-surface"}):e.jsx("span",{className:"flex h-16 w-16 shrink-0 items-center justify-center rounded-lg border border-border bg-surface text-2xl","aria-hidden":!0,children:a.emoji??"📖"}),e.jsxs("span",{className:"min-w-0",children:[e.jsx("span",{className:"line-clamp-2 text-sm font-medium leading-snug text-foreground/90 group-hover:text-primary",children:a.title}),a.excerpt&&e.jsx("span",{className:"mt-1 line-clamp-2 block text-xs text-muted-foreground",children:a.excerpt}),e.jsxs("span",{className:"mt-2 inline-flex items-center gap-1 text-xs text-primary",children:["Devamını oku",e.jsx(h,{className:"h-3.5 w-3.5 transition-transform group-hover:translate-x-0.5"})]})]})]})},a.slug))})]})}function ee({className:s=""}){return e.jsxs("div",{className:`flex items-start gap-2 rounded-lg border border-amber-500/30 bg-amber-500/5 px-3 py-2 text-xs leading-relaxed text-amber-900 dark:text-amber-100 ${s}`,role:"note","aria-label":"Ticari şeffaflık",children:[e.jsx(T,{className:"mt-0.5 h-3.5 w-3.5 shrink-0","aria-hidden":"true"}),e.jsxs("span",{children:[e.jsx("strong",{className:"font-semibold",children:"Şeffaflık notu:"})," Bu içerik bilgilendirme amaçlıdır; tıbbi tavsiye yerine geçmez. Sayfada bahsi geçen ürün ve marka örnekleri satın alma yönlendirmesi değildir. Harika Bir Tavsiye zaman zaman Modern Aktar gibi tedarikçilerle içerik/ürün işbirliği yapabilir; bu, editöryel değerlendirmeyi etkilemez."]})]})}function ve(){const{spice:s}=N.useLoaderData(),t=s.meta.kind==="karisim",x=y(s.body),c=new Date().toISOString().slice(0,10),m=s.body.sections.map(a=>({id:a.id,heading:a.heading}
1)),l=G(s.meta.slug),o=k.useMemo(()=>{const a=d.findIndex(i=>i.meta.slug===s.meta.slug),r=[];for(let i=1;r.length<6&&i<=d.length;i++){const n=d[(a+i)%d.length];n.meta.slug!==s.meta.slug&&r.push(n)}return r},[s.meta.slug]);return e.jsxs("article",{className:"container-page py-8",children:[e.jsx(w,{items:[{label:"Anasayfa",to:"/"},{label:"Baharatlar",to:"/baharatlar"},{label:s.meta.title}]}),e.jsxs("header",{className:"mt-6 max-w-3xl",children:[e.jsxs("p",{className:"text-xs uppercase tracking-[0.18em] text-primary inline-flex items-center gap-1.5",children:[t?e.jsx(j,{className:"h-3.5 w-3.5"}):e.jsx(b,{className:"h-3.5 w-3.5"}),t?"Baharat Karışımı • Tarif":"Dünya Baharatları Serisi"]}),e.jsxs("h1",{className:"mt-3 font-serif text-3xl md:text-5xl leading-tight",children:[s.meta.emoji," ",s.meta.title]}),e.jsx("p",{className:"mt-4 text-lg text-muted-foreground leading-relaxed",children:s.body.excerpt}),e.jsx(D,{parts:[s.meta.title,s.body.excerpt,...s.body.sections.flatMap(a=>[a.heading,...a.paragraphs||[]]),...s.body.faq?.flatMap(a=>[a.q,a.a])||[]],contentType:"baharatlar",slug:s.meta.slug}),e.jsx(B,{className:"mt-5",role:"Derleyen ve yayına hazırlayan",updatedAt:c,readingTime:`${x} dk okuma`,contentType:t?"Baharat karışımı tarifi":"Baharat rehberi"})]}),e.jsx("figure",{className:"mt-8 overflow-hidden rounded-2xl border border-border max-w-3xl",children:e.jsx(A,{title:s.meta.title,alt:s.meta.image_alt||s.meta.title,kind:s.meta.kind,loading:"eager",fetchPriority:"high"})}),e.jsx(ee,{className:"mt-6 max-w-3xl"}),e.jsx(u,{label:"Reklam Alanı — yazı üstü",className:"mx-auto max-w-3xl"}),e.jsxs("div",{className:"mt-10 grid gap-10 lg:grid-cols-[1fr_280px]",children:[e.jsxs("div",{children:[e.jsxs("dl",{className:"not-prose mb-8 grid grid-cols-1 sm:grid-cols-2 gap-3 rounded-2xl border border-border bg-surface p-5 text-sm",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(f,{className:"mt-0.5 h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Menşe"}),e.jsx("dd",{className:"font-medium",children:s.meta.origin})]})]}),e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(C,{className:"mt-0.5 h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Tat Profili"}),e.jsx("dd",{className:"font-medium",children:s.meta.flavor})]})]}),s.meta.botanical&&e.jsxs("div",{className:"flex items-start gap-2 sm:col-span-2",children:[e.jsx(b,{className:"mt-0.5 h-4 w-4 text-primary shrink-0"}),e.jsxs("div",{children:[e.jsx("dt",{className:"text-muted-foreground",children:"Botanik Ad"}),e.jsx("dd",{className:"font-medium italic",children:s.meta.botanical})]})]})]}),e.jsxs("nav",{"aria-label":"İçindekiler",className:"mb-8 rounded-xl border border-border bg-surface p-5",children:[e.jsx("p",{className:"mb-3 text-sm font-semibold",children:"İçindekiler"}),e.jsxs("ol",{className:"grid gap-1.5 text-sm",children:[m.map((a,r)=>e.jsx("li",{children:e.jsxs("a",{href:`#${a.id}`,className:"text-foreground/80 hover:text-primary",children:[e.jsx("span",{className:"mr-2 text-primary",children:(r+1).toString().padStart(2,"0")}),a.heading]})},a.id)),t&&s.body.recipe&&e.jsx("li",{children:e.jsxs("a",{href:"#tarif",className:"text-foreground/80 hover:text-primary",children:[e.jsx("span",{className:"mr-2 text-primary",children:(m.length+1).toString().padStart(2,"0")}),"🥣 Tarif: Malzemeler ve Hazırlanışı"]})})]})]}),e.jsxs("div",{className:"prose-article max-w-none",children:[s.body.sections.map((a,r)=>e.jsxs("section",{id:a.id,className:"scroll-mt-24",children:[e.jsx("h2",{children:a.heading}),a.paragraphs?.map((i,n)=>e.jsx("p",{children:i},n)),a.bullets&&a.bullets.length>0&&e.jsx("ul",{children:a.bullets.map((i,n)=>e.jsx("li",{children:i},n))}),r===0&&l&&e.jsxs("figure",{className:"not-prose my-6 overflow-hidden rounded-2xl border border-border",children:[e.jsx("img",{src:l.fallback,srcSet:l.webp,sizes:"(min-width: 1024px) 720px, 100vw",alt:s.meta.image_alt||s.meta.title,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"aspect-[16/10] w-full object-cover"}),e.jsxs("figcaption",{className:"bg-surface px-4 py-2 text-xs text-muted-foreground",children:[s.meta.title," — ",s.meta.origin]})]}),r===Math.floor(s.body.sections.length/2)-1&&e.jsx(u,{label:"Reklam Alanı — yazı ortası"})]},a.id)),t&&s.body.recipe&&e.jsxs("section",{id:"tarif",className:"scroll-mt-24",children:[e.jsx("h2",{children:"🥣 Tarif: Malzemeler ve Hazırlanışı"}),e.jsxs("div",{className:"not-prose grid gap-6 md:grid-cols-[minmax(0,240px)_1fr]",children:[e.jsxs("div",{className:"rounded-2xl border border-border bg-surface p-5",children:[e.jsxs("p",{className:"mb-3 flex items-center gap-2 text-sm font-semibold",children:[e.jsx(j,{className:"h-4 w-4 text-primary"})," Malzemeler"]}),e.jsx("ul",{className:"space-y-2 text-sm",children:s.body.recipe.ingredients.map((a,r)=>
1e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-primary"}),e.jsx("span",{children:a})]},r))})]}),e.jsxs("div",{children:[e.jsx("p",{className:"mb-3 text-sm font-semibold",children:"Hazırlanışı"}),e.jsx("ol",{className:"space-y-3 text-sm",children:s.body.recipe.steps.map((a,r)=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-primary/10 text-xs font-semibold text-primary",children:r+1}),e.jsx("span",{className:"leading-relaxed text-foreground/85",children:a})]},r))})]})]})]}),s.body.faq&&s.body.faq.length>0&&e.jsxs("section",{id:"sss",className:"scroll-mt-24",children:[e.jsx("h2",{children:"❓ Sıkça Sorulan Sorular"}),e.jsx("div",{className:"not-prose space-y-3",children:s.body.faq.map((a,r)=>e.jsxs("details",{className:"group rounded-xl border border-border bg-card p-4 open:border-primary/40",children:[e.jsxs("summary",{className:"cursor-pointer font-medium text-foreground list-none flex items-start justify-between gap-3",children:[e.jsx("span",{children:a.q}),e.jsx("span",{className:"text-primary transition-transform group-open:rotate-90",children:"›"})]}),e.jsx("p",{className:"mt-3 text-sm text-muted-foreground leading-relaxed",children:a.a})]},r))})]})]}),e.jsxs("div",{className:"mt-10 border-t border-border pt-6 space-y-5",children:[e.jsxs("div",{children:[e.jsx("p",{className:"mb-2 text-xs uppercase tracking-[0.18em] text-primary",children:"Etiketler"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:s.body.tags.map(a=>e.jsx("span",{className:"rounded-full bg-primary/10 px-3 py-1 text-xs font-medium text-primary",children:a},a))})]}),e.jsx(z,{url:`${v.url}/baharatlar/${s.meta.slug}`,title:s.meta.title,excerpt:s.body.excerpt,kicker:"Baharatlar"})]}),e.jsx(S,{updatedAt:c,className:"mt-8"})]}),e.jsx("aside",{className:"space-y-6",children:o.length>0&&e.jsxs("div",{className:"rounded-xl border border-border bg-card p-5",children:[e.jsx("p",{className:"mb-3 text-xs uppercase tracking-[0.18em] text-primary",children:"Diğer Baharatlar"}),e.jsx("ul",{className:"space-y-3",children:o.map(a=>e.jsx("li",{children:e.jsxs(p,{to:"/baharatlar/$slug",params:{slug:a.meta.slug},className:"group flex items-center gap-3",children:[e.jsx("span",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-lg border border-border bg-surface text-xl",children:a.meta.emoji}),e.jsx("span",{className:"text-sm font-medium leading-snug group-hover:text-primary",children:a.meta.title})]})},a.meta.slug))}),e.jsxs(p,{to:"/baharatlar",className:"mt-4 inline-flex items-center gap-1 text-xs text-primary hover:gap-2 transition-all",children:["Tüm baharatlar ",e.jsx(h,{className:"h-3 w-3"})]})]})})]}),e.jsx(W,{linkTo:"/baharatlar/$slug",items:o.slice(0,6).map(a=>({slug:a.meta.slug,title:a.meta.title,emoji:a.meta.emoji,excerpt:a.body.excerpt})),heading:"İlgili Yazılar",subheading:"Bu baharatla ilgilenenlerin okuduğu diğer rehberler.",ctaLabel:"Tüm baharatlar",ctaTo:"/baharatlar"})]})}export{ve as component};

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.