PageSourceSearch

https://mahmoudmasri.com/assets/BlogTagPage-4RVtfNt0.js

js mahmoudmasri.com collected 2026-09-30 08:26:28 UTC 3,545 bytes, 1 lines download raw bytes

1import{j as e}from"./ui-BgAZunKE.js";import{b as u,L as o}from"./vendor-BPxC6GVa.js";import{j as h,k as b}from"./useBlog-BMApPHrj.js";import{u as p,b as f,S as j,L as N,B as v,f as y,C as w,h as k}from"./index-CD3Ytjl1.js";import{B as _}from"./BreadcrumbNav-ojXeElaI.js";import"./supabase-Cv5z-ElN.js";import"./query-DfKp04n6.js";const E=()=>{const{slug:r=""}=u(),{data:l}=h(r),{data:n=[]}=b(r),{data:c}=p(),{dir:m,isRTL:s,locale:i}=f(),d=c?.canonical_url||"https://mahmoudmasri.com",t=l?i==="en"&&l.name_en||l.name_ar:r,x=s?`#${t}: جميع المقالات | محمود مصري`:`#${t}: All articles | Mahmoud Masri`,g=s?`جميع المقالات الموسومة بـ "${t}" في مدونة محمود مصري.`:`All articles tagged "${t}" on Mahmoud Masri's blog.`;return e.jsxs("div",{className:"min-h-screen bg-background text-foreground",dir:m,children:[e.jsx(j,{title:x,description:g,canonical:`${d}/blog/tag/${r}`,pageType:"blog-listing",noindex:n.length===0}),e.jsx("header",{className:"border-b border-border bg-card/50 backdrop-blur-sm sticky top-0 z-40",children:e.jsxs("div",{className:"container max-w-6xl mx-auto px-4 py-4 flex items-center justify-between",children:[e.jsx(o,{to:"/blog",className:"text-sm font-bold text-primary hover:underline",children:s?"← المدونة":"Blog →"}),e.jsx(N,{})]})}),e.jsxs("main",{className:"container max-w-6xl mx-auto px-4 py-10",children:[e.jsx(_,{items:[{label:s?"المدونة":"Blog",href:"/blog"},{label:`#${t}`}]}),e.jsxs("div",{className:"mb-8",children:[e.jsx("span",{className:"text-primary font-bold text-sm uppercase tracking-widest mb-2 block",children:s?"وسم":"Tag"}),e.jsxs("h1",{className:"text-3xl md:text-4xl font-black mb-2",children:["#",t]})]}),n.length===0?e.jsx("div",{className:"text-center py-20 text-muted-foreground",children:s?"لا توجد مقالات بهذا الوسم بعد.":"No posts with this tag yet."}):e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:n.map(a=>e.jsxs(o,{to:`/blog/${a.slug}`,className:"group glass-card rounded-2xl overflow-hidden neon-border hover:scale-[1.02] transition-all",children:[e.jsx("div",{className:"aspect-video overflow-hidden bg-transparent",children:a.featured_image?e.jsx("img",{src:a.featured_image,alt:a.featured_image_alt||a.title,loading:"lazy",width:400,height:225,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}):e.jsx("div",{className:"w-full h-full flex items-center justify-center bg-gradient-to-br from-primary/10 to-accent/10",children:e.jsx(v,{className:"w-12 h-12 text-primary/30"})})}),e.jsxs("div",{className:"p-5",children:[e.jsxs("div",{className:"flex items-center gap-3 text-xs text-muted-foreground mb-2",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(y,{className:"w-3 h-3"}),a.category]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(w,{className:"w-3 h-3"}),a.reading_time,s?" د":" min"]})]}),e.jsx("h2",{className:"font-bold text-foreground text-lg mb-2 group-hover:text-primary transition-colors line-clamp-2",children:i==="en"&&a.title_en||a.title}),a.excerpt&&e.jsx("p",{className:"text-muted-foreground text-sm line-clamp-2",children:a.excerpt}),a.published_at&&e.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground mt-3",children:[e.jsx(k,{className:"w-3 h-3"}),new Date(a.published_at).toLocaleDateString(i==="en"?"en-US":"ar-EG",{year:"numeric",month:"long",day:"numeric"})]})]})]},a.id))})]})]})};export{E 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.