PageSourceSearch

https://younghollywood.com/assets/authors._slug-CCUEWI-c.js

js younghollywood.com collected 2026-10-02 07:42:25 UTC 4,057 bytes, 1 lines download raw bytes

1import{aa as m,u as x,ab as h,ac as p,ad as u,a6 as n,j as e,m as g,ae as b,n as j,S as y,B as f,A as d,c as N,V as v,D as S,e as w}from"./index-BgbqYyaj.js";import{P as A}from"./Pagination-0GQqEV-D.js";import{E as _}from"./EmptyState-BVTfyFHf.js";import{MobileAnchorSpacer as $,MobileStickyAd as L}from"./MobileStickyAd-CRaYeOhA.js";function E(){const{slug:t,page:o}=m.useLoaderData(),{data:a}=x(h(t,o)),s=a.author;s.social_handles,`${s.name}${s.role||"Author"}`,p(s.bio||`Stories, interviews and reporting by ${s.name} for Young Hollywood.`);const i=[{name:"Home",href:"/"},{name:"Authors",href:"/authors"},{name:s.name}],c=u(s.social_handles).map(r=>r.url),l=o===1?a.articles.slice(0,20).map(r=>({name:r.title,url:`${n}/scene/${r.slug}.html`,image:r.hero_image_url??void 0})):[];return e.jsxs(e.Fragment,{children:[e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(g(i))}}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(b({url:`/authors/${t}`,name:s.name,image:s.avatar_url,jobTitle:s.role,description:s.bio,sameAs:c}))}}),l.length>0&&e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(j({url:`${n}/authors/${t}`,name:`${s.name} — Articles`,description:`Recent stories by ${s.name} for Young Hollywood.`,items:l}))}}),e.jsx(y,{}),e.jsxs("main",{children:[e.jsx("section",{className:"border-b border-foreground
1/10 bg-background",children:e.jsx("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-3",children:e.jsx(f,{items:i})})}),e.jsx("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6",children:e.jsx(d,{id:"author_top",adId:"1335433e-3f83-4df3-84e9-6fa65a941ecf",size:"billboard",priority:!0})}),e.jsx("section",{className:"bg-foreground text-background border-b-4 border-foreground",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 md:px-6 py-14",children:[e.jsx("p",{className:"yh-eyebrow text-hotpink mb-2",children:s.role||"Contributor"}),e.jsx("h1",{className:"yh-headline text-5xl md:text-7xl leading-[0.9]",children:s.name})]})}),e.jsxs("div",{className:"mx-auto grid max-w-[1400px] gap-10 px-4 md:px-6 py-10 lg:grid-cols-[minmax(0,1fr)_320px]",children:[e.jsxs("div",{children:[e.jsxs("section",{children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-6",children:[e.jsxs("h2",{className:"yh-headline text-3xl md:text-4xl",children:["ARTICLES BY ",s.name.toUpperCase()]}),a.totalArticles>0&&e.jsxs("span",{className:"yh-eyebrow text-muted-foreground",children:[a.totalArticles," total"]})]}),a.articles.length===0?e.jsx(_,{variant:"history",title:"No bylines published yet.",description:`${s.name} hasn't dropped a story here yet. Catch the latest from the Young Hollywood newsroom in the meantime.`,action:e.jsx("a",{href:"/",className:"yh-eyebrow border-2 border-foreground px-4 py-2 bg-foreground text-background hover:bg-background hover:text-foreground",children:"Latest articles"})}):e.jsx("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:a.articles.map(r=>e.jsx(N,{article:r},r.id))}),a.totalArticles>0&&e.jsx(A,{page:a.page,pageSize:a.pageSize,total:a.totalArticles,hrefFor:r=>`/authors/${t}?page=${r}`})]}),a.videos.length>0&&e.jsxs("section",{className:"mt-12 border-t-4 border-foreground pt-8",children:[e.jsxs("div",{className:"flex items-baseline justify-between mb-6",children:[e.jsx("h2",{className:"yh-headline text-3xl md:text-4xl",children:"VIDEOS"}),e.jsxs("span",{className:"yh-eyebrow text-muted-foreground",children:[a.totalVideos," total"]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4 md:grid-cols-4",children:a.videos.map(r=>e.jsx(v,{video:r,size:"sm"},r.id))})]})]}),e.jsx("aside",{className:"hidden lg:block",children:e.jsx("div",{className:"sticky top-24",children:e.jsx(S,{reserve:600,children:e.jsx(d,{id:"author_sidebar",adId:"ebb9e57c-81c6-45e9-8377-6dce3a263747",size:"halfpage",activeViewRefresh:!0})})})})]})]}),e.jsx(w,{}),e.jsx($,{}),e.jsx(L,{adId:"86b344ee-ca22-4b22-859a-2c773a4ea9e1"})]})}export{E 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.