PageSourceSearch

https://www.indianfoodtaiwan.com/assets/BlogPage-B18VEHsf.js

js indianfoodtaiwan.com collected 2026-10-07 20:01:29 UTC 9,781 bytes, 1 lines download raw bytes

1import{ai as p,al as f,y as j,a8 as N,$ as e,j as n,a3 as x,g as m,b}from"./index-ftxs6c-6.js";import{u as v,b as w,B as g,T as y}from"./BlogImage-azBfh6uT.js";import{B as k}from"./book-open-1eBtEEt8.js";import{A as I}from"./arrow-down-pFmawoXE.js";import"./holiLegacyPage-Ph0NKAS8.js";const A={Guide:"bg-brand-gold/10 text-brand-gold border-brand-gold/30",Food:"bg-orange-50 text-orange-700 border-orange-200",Story:"bg-purple-50 text-purple-700 border-purple-200"};function u({category:a,small:r}){const s=A[a]||"bg-brand-surface text-brand-soft border-brand-border";return e.jsx("span",{className:`inline-block border text-[10px] tracking-widest uppercase font-medium px-2.5 py-1 ${s} `,children:a})}function B({post:a}){return e.jsxs(x.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.6,ease:[.22,1,.36,1]},className:"group grid lg:grid-cols-2 gap-0 card-dark overflow-hidden",children:[e.jsxs("div",{className:"relative overflow-hidden aspect-[4/3] lg:aspect-auto",children:[e.jsx(g,{src:a.image,alt:a.imageAlt,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-transparent to-white/10"}),e.jsx("div",{className:"absolute top-4 left-4",children:e.jsx("span",{className:"bg-brand-gold text-white text-[10px] font-bold tracking-widest uppercase px-3 py-1.5",children:"Latest"})})]}),e.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(u,{category:a.category}),e.jsxs("span",{className:"flex items-center gap-1 text-brand-muted text-xs",children:[e.jsx(m,{size:11})," ",a.readTime]})]}),e.jsx("h2",{className:"font-serif text-3xl lg:text-4xl font-bold text-brand-cream italic leading-tight mb-4",children:a.title}),e.jsx("p",{className:"text-brand-muted text-sm leading-relaxed mb-6 line-clamp-3",children:a.excerpt}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs(n,{to:a.legacyPath||`/blog/${a.slug}`,className:"btn-gold text-xs",children:["Read Article ",e.jsx(b,{size:13})]}),e.jsx("span",{className:"text-brand-muted/60 text-xs",children:new Date(a.publishDate).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]})]})]})}function C({post:a,index:r}){return e.jsxs(x.article,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{delay:r*.07,duration:.5,ease:[.22,1,.36,1]},className:"group card-dark overflow-hidden flex flex-col hover:-translate-y-0.5 transition-transform duration-300",children:[e.jsxs("div",{className:"relative overflow-hidden aspect-[16/9]",children:[e.jsx(g,{src:a.image,alt:a.imageAlt,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/20 to-transparent"}),e.jsx("div",{className:"absolute top-3 left-3",children:e.jsx(u,{category:a.category})})]}),e.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsxs("span",{className:"flex items-center gap-1 text-brand-muted text-xs",children:[e.jsx(m,{size:10})," ",a.readTime]}),e.jsx("span",{className:"text-brand-border",children:"·"}),e.jsx("span",{className:"text-brand-muted text-xs",children:new Date(a.publishDate).toLocaleDateString("en-GB",{day:"numeric",month:"short",year:"numeric"})})]}),e.jsx("h3",{className:"font-serif text-xl font-bold text-brand-cream italic leading-tight mb-3 group-hover:text-brand-gold transition-colors",children:a.title}),e.jsx("p",{className:"text-brand-muted text-sm leading-relaxed flex-1 line-clamp-3",children:a.excerpt}),e.jsxs("div",{className:"mt-5 pt-4 border-t border-brand-border/50 flex items-center justify-between",children:[e.jsx("div",{className:"flex flex-wrap gap-1.5",children:a.tags.slice(0,2).map(s=>e.jsxs("span",{className:"flex items-center gap-1 text-[10px] text-brand-muted/70",children:[e.jsx(y,{size:9})," ",s]},s))}),e.jsxs(n,{to:a.legacyPath||`/blog/${a.slug}`,className:"flex items-center gap-1 text-brand-gold text-xs font-medium hover:gap-2 transition-all",children:["Read ",e.jsx(b,{size:12})]})]})]})]})}function D({categoryOnly:a}){const{pathname:r}=p(),{posts:s}=v();f({title:a||"Blog — Indian Food Guide & Stories",description:a?"Original Mayur Indian Kitchen stories and branch articles from the MIK restaurant journal in Taiwan.":"Expert guides on Indian cuisine, the story behind Mayur Indian Kitchen, and tips for dining in Taipei. Your resource for authentic Indian food in Taiwan.",canonical:r,schemas:[j([{name:"Home",url:"/"},{name:a||"Journal",url:r}])]});const[i,o]=N.useState("All"),c=a?s.filter(t=>t.wixCategory===a):s,l=a?null:c[0],d=s.filter(t=>a?t.wixCategory===a:i==="All"&&t.slug===(l==null?void 0:l.slug)?!1:i==="All"||t.category===i);return e.jsxs("div",{className:"min-h-screen bg-brand-dark",children:[e.jsxs("section",{"data-nav-hero":!0,className:"relative flex min-h-[100svh] items-end overflow-hidden bg-[#1c1208] text-white",children:[e.jsx("img",{src:"/videos/blog-hero.jpg",alt:"","aria-hidden":"true",className:"absolute inset-0 h-full w-full object-cover object-center"}),e.jsx("video",{className:"absolute inset-0 h-full w-full object-cover object-center motion-reduce:hidden",autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0,preload:"metadata",poster:"/videos/blog-hero.jpg","aria-label":"Indian food and culture from the Mayur Indian Kitchen journal",children:e.jsx("source",{src:"/videos/blog-hero.mp4",type:"video/mp4"})}),e.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(180deg,rgba(28,18,8,.3)_0%,rgba(28,18,8,.05)_38%,rgba(28,18,8,.9)_100%)]"}),e.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(90deg,rgba(28,18,8,.48)_0%,transparent_68%)]"}),e.jsx("div",{className:"absolute right-5 top-28 z-10 border border-[#fff4df]/55 bg-[#1c1208]/25 p-1 backdrop-blur-sm sm:right-8 lg:right-12",children:e.jsxs("div",{className:"border border-[#fff4df]/30 px-4 py-3 text-[#fff4df] sm:px-5",children:[e.jsx("p",{className:"text-[9px] font-bold uppercase tracking-[0.32em] text-white/60",children:"Stories · Guides · Food"}),e.jsx("p",{className:"mt-1 font-serif text-lg font-semibold italic sm:text-xl",children:"The MIK Journal"})]})}),e.jsx("div",{className:"page-container relative z-10 pb-10 sm:pb-14 lg:pb-16",children:e.jsxs("div",{className:"max-w-4xl border-l border-[#fff4df]/45 pl-5 sm:pl-7",children:[e.jsxs("p",{className:"flex items-center gap-2 text-[10px] font-black uppercase tracking-[0.3em] text-[#ffc08e] sm:text-xs",children:[e.jsx(k,{size:15}),"Mayur Indian Kitchen"]}),e.jsx("h1",{className:"mt-4 max-w-5xl font-serif text-[clamp(3.8rem,8.5vw,9rem)] font-medium italic leading-[0.82] tracking-[-0.065em] text-[#fff8ed] drop-shadow-[0_3px_14px_rgba(0,0,0,.4)]",children:a||"Food Has a Story"}),e.jsx("p",{className:"mt-6 max-w-2xl text-sm font-medium leading-7 text-white/80 sm:text-lg",children:a?"Original Mayur Indian Kitchen branch stories preserved from the MIK journal.":"Deep dives into Indian food culture, the people behind Mayur Indian Kitchen, and thoughtful guides to dining in Taiwan."}),e.jsxs("a",{href:"#journal-articles",className:"mt-7 inline-flex items-center gap-3 text-[10px] font-black uppercase tracking-[0.24em] text-white/80 transition-colors hover:text-[#ffc08e] sm:text-xs",children:["Read the journal ",e.jsx(I,{size:15,className:"animate-bounce"})]})]})})]}),!a&&e.jsx("div",{id:"journal-articles",className:"sticky top-20 z-30 scroll-mt-24 bg-brand-black/95 backdrop-blur-md border-y border-brand-border",children:e.jsxs("div",{className:"page-container py-3.5 flex flex-wrap gap-2 items-center",children:[w.map(t=>e.jsx("button",{onClick:()=>o(t),className:`px-3.5 py-1.5 text-[11px] tracking-widest uppercase font-medium transition-all border ${i===t?"bg-brand-gold text-white border-brand-gold":"border-brand-border text-brand-muted hover:border-brand-soft hover:text-brand-cream"}`,children:t},t)),e.jsxs("span",{className:"text-brand-muted/60 text-xs ml-auto",children:[c.length," articles"]})]})}),e.jsxs("section",{className:"page-container py-14 space-y-12",children:[i==="All"&&l&&e.jsxs("div",{children:[e.jsx("p",{className:"text-brand-soft text-[11px] tracking-[0.25em] uppercase mb-5",children:"Newest Article"}),e.jsx(B,{post:l})]}),d.length>0&&e.jsxs("div",{children:[i==="All"&&e.jsx("p",{className:"text-brand-soft text-[11px] tracking-[0.25em] uppercase mb-5",children:"Latest Articles"}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:d.map((t,h)=>e.jsx(C,{post:t,index:h},t.slug))})]}),d.length===0&&e.jsxs("div",{className:"text-center py-24",children:[e.jsx("p",{className:"text-4xl mb-4",children:"✍️"}),e.jsx("p",{className:"text-brand-muted",children:"No articles in this category yet."}),e.jsx("button",{onClick:()=>o("All"),className:"btn-outline-gold mt-4 text-xs",children:"View All"})]})]}),e.jsx("section",{className:"bg-brand-black border-t border-brand-border py-16",children:e.jsxs("div",{className:"max-w-2xl mx-auto px-5 text-center",children:[e.jsx("h2",{className:"font-serif text-3xl font-bold text-brand-cream italic mb-3",children:"Ready to experience it yourself?"}),e.jsx("p",{className:"text-brand-muted text-sm leading-relaxed mb-6",children:"Reading about Indian food is one thing. Tasting it is another. Find your nearest Mayur Indian Kitchen and book a table today."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[e.jsx(n,{to:"/branches",className:"btn-gold text-xs",children:"Reserve a Table"}),e.jsx(n,{to:"/branches",className:"btn-outline-gold text-xs",children:"View All Locations"})]})]})})]})}export{D 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.