(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[901],{1091:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/author/[url]",function(){return n(7437)}])},7437:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return N},default:function(){return _}});var a=n(5893),l=n(5675),o=n.n(l),s=n(1664),i=n.n(s),r=n(381),c=n.n(r),d=n(9583),x=n(6653),m=n(1717),u=n(8953);function h(e){let{item:t}=e;return(0,a.jsxs)("div",{className:" relative bg-white hover:shadow-xl transition-all shadow-md rounded ",children:[(0,a.jsxs)(i(),{title:t.title,href:(0,u.v)(t.id,t.categorySlug,t.slug),children:[(0,a.jsx)(o(),{src:null!==t.image_thumb?"".concat("https://trsondakika-front.s3.amazonaws.com","/").concat(t.image_thumb):t.image?"".concat("https://trsondakika-front.s3.amazonaws.com","/").concat(t.image):m.Z.no_image,className:" w-full my-2 object-cover h-[150px]",width:300,height:150,alt:t.title,onError:()=>m.Z.no_image}),(0,a.jsx)("strong",{className:"p-3 flex text-lg h-22 overflow-hidden hover:text-blue-700",children:t.title})]}),(0,a.jsxs)("div",{className:"flex justify-between px-3 pb-3",children:[(0,a.jsxs)("div",{className:"flex items-center text-sm font-light gap-1 ",children:[(0,a.jsx)(x.xAN,{}),(0,a.jsx)("span",{className:"overflow-hidden whitespace-nowrap text-ellipsis ",children:c()(t.published_at).format("LLL")})]}),(0,a.jsxs)("div",{className:" flex items-center text-right text-sm font-light gap-1",children:[(0,a.jsx)(d.dSq,{}),(0,a.jsx)("span",{children:t.read_count})]})]}),(0,a.jsx)("p",{className:"px-3 pb-3 text-sm",children:t.spot})]})}var p=n(1258),f=n(8193),v=n(9008),j=n.n(v),g=n(180),k=n(4216);function w(e){var t,n,l,o,s,i;let{authorData:r}=e,c=null==r?void 0:null===(t=r.user)||void 0===t?void 0:t.name,d=null==r?void 0:null===(n=r.user)||void 0===n?void 0:n.about;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(j(),{children:[(0,a.jsx)("title",{children:"".concat(c," - ").concat("TRSondakika - D\xfcnyadan Son Dakika Haberler, Spor, D\xfcnya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak")}),(0,a.jsx)("meta",{name:"description",content:d}),(0,a.jsx)("meta",{name:"author",content:null==r?void 0:null===(l=r.user)||void 0===l?void 0:l.username}),(0,a.jsx)("link",{rel:"canonical",href:"".concat("https://trsondakika.com","/author/").concat(null==r?void 0:null===(o=r.user)||void 0===o?void 0:o.username)}),(0,a.jsx)("meta",{property:"og:type",content:"article"}),(0,a.jsx)("meta",{property:"og:site_name",content:"".concat(c," - ").concat("TRSondakika - D\xfcnyadan Son Dakika Haberler, Spor, D\xfcnya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak")}),(0,a.jsx)("meta",{property:"og:locale",content:"tr_TR"}),(0,a.jsx)("meta",{property:"og:title",content:"".concat(c," - ").concat("TRSondakika - D\xfcnyadan Son Dakika Haberler, Spor, D\xfcnya, Politika, Sağlık, Forex, Kripto, Ekonomi, Emlak")}),(0,a.jsx)("meta",{property:"og:description",content:d}),(0,a.jsx)("meta",{property:"og:url",content:"".concat("https://trsondakika.com","/author/").concat(null==r?void 0:null===(s=r.user)||void 0===s?void 0:s.username)}),(0,a.jsx)(g.Z,{data:(0,k.Bj)(r)})]}),(0,a.jsx)("div",{className:"w-full px-5 mt-2",children:(0,a.jsxs)("div",{className:"container flex flex-col lg:flex-row mx-auto gap-4 ",children:[(0,a.jsxs)("div",{className:"w-full lg:w-2/3 grid sm:grid-cols-1 gap-4 relative overflow-hidden p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"flex h-28 w-28 rounded-full border-2 border-inherit items-center justify-center text-center",children:(0,a.jsx)(f.nf1,{size:40})}),(0,a.jsxs)("div",{className:"text-2xl ml-2",children:[(0,a.jsx)("span",{className:"block",children:c}),(0,a.jsxs)("span",{className:"block text-slate-500 text-base",children:["About: ",d]})]})]}),(0,a.jsx)("div",{className:"w-full grid sm:grid-cols-3 gap-4 relative overflow-hidden p-4",children:null==r?void 0:null===(i=r.content)||void 0===i?void 0:i.map((e,t)=>(0,a.jsx)(h,{item:e},t))})]}),(0,a.jsx)("div",{className:"w-full lg:w-1/3 grid grid-cols-1 gap-4 ",children:(0,a.jsx)(p.Z,{})})]})})]})}var N=!0;function _(e){let{authorData:t}=e;return(0,a.jsx)("div",{children:(0,a.jsx)(w,{authorData:t})})}}},function(e){e.O(0,[617,701,834,774,888,179],function(){return e(e.s=1091)}),_N_E=e.O()}]);