PageSourceSearch

https://stablo-next-js-minimal-blog-template-wheat.vercel.app/_nex…/chunks/pages/archive-e50594389be21bbd.js

js stablo-next-js-minimal-blog-template-wheat.vercel.app collected 2026-10-03 07:47:51 UTC 7,446 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{4387:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/archive",function(){return n(2561)}])},6465:function(e,t){"use strict";t.Z={src:"/_next/static/media/opengraph.a4bdcb0b.jpg",height:630,width:1200,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAcEAACAwADAQAAAAAAAAAAAAABAgADERITQVH/xAAVAQEBAAAAAAAAAAAAAAAAAAABAv/EABYRAAMAAAAAAAAAAAAAAAAAAAACQf/aAAwDAQACEQMRAD8Aq4oLX12d9qhNbgrYreYR8iIlvASn/9k=",blurWidth:8,blurHeight:4}},4293:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5893),a=n(1664),l=n.n(a),i=n(4778);function s(e){let t={green:"text-emerald-700",blue:"text-blue-600",orange:"text-orange-700",purple:"text-purple-600",pink:"text-pink-600"};return(0,r.jsx)("span",{className:(0,i.cx)("inline-block mt-5 text-xs font-medium tracking-wider uppercase ",t[e.color]||t[pink]),children:e.children})}function c(e){let{categories:t}=e;return(0,r.jsx)("div",{className:"flex gap-3",children:(null==t?void 0:t.length)&&t.slice(0).map((e,t)=>(0,r.jsx)(l(),{href:"#",children:(0,r.jsx)("a",{children:(0,r.jsx)(s,{color:e.color,children:e.title})})},t))})}},5136:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(5893),a=n(5675),l=n.n(a),i=n(1664),s=n.n(i),c=n(4778),o=n(7492),u=n(5313),d=n(8420),A=n(7294);let g=A.forwardRef(function(e,t){return A.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),A.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))});var h=n(4293);function p(e){var t,n;let{post:a,aspect:i,preloadImage:A}=e,p=(null==a?void 0:a.mainImage)?(0,o.Z)(a.mainImage):null,x=(null==a?void 0:null===(t=a.author)||void 0===t?void 0:t.image)?(0,o.Z)(a.author.image):null;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"cursor-pointer group",children:[(0,r.jsx)("div",{className:(0,c.cx)("relative overflow-hidden transition-all bg-gray-100 rounded-md dark:bg-gray-800   hover:scale-105","landscape"===i?"aspect-video":"aspect-square"),children:(0,r.jsx)(s(),{href:"/post/".concat(a.slug.current),children:(0,r.jsx)("a",{children:p?(0,r.jsx)(l(),{src:p.src,loader:p.loader,blurDataURL:p.blurDataURL,alt:a.mainImage.alt||"Thumbnail",placeholder:"blur",sizes:"80vw",layout:"fill",objectFit:"cover",priority:!!A,className:"transition-all"}):(0,r.jsx)("span",{className:"absolute w-16 h-16 text-gray-200 -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2",children:(0,r.jsx)(g,{})})})})}),(0,r.jsx)(h.Z,{categories:a.categories}),(0,r.jsx)("h2",{className:"mt-2 text-lg font-semibold tracking-normal text-brand-primary dark:text-white",children:(0,r.jsx)(s(),{href:"/post/".concat(a.slug.current),children:(0,r.jsx)("span",{className:" bg-gradient-to-r from-red-200 to-red-100 dark:from-red-800 dark:to-red-900 bg-[length:0px_10px] bg-left-bottom bg-no-repeat transition-[background-size] duration-500 hover:bg-[length:100%_3px] group-hover:bg-[length:100%_10px]",children:a.title})})}),(0,r.jsx)("div",{className:"hidden",children:a.excerpt&&(0,r.jsx)("p",{className:"mt-2 text-sm text-gray-500 dark:text-gray-400 line-clamp-3",children:(0,r.jsx)(s(),{href:"/post/".concat(a.slug.current),children:a.excerpt})})}),(0,r.jsxs)("div",{className:"flex items-center mt-3 space-x-3 text-gray-500 dark:text-gray-400",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"relative flex-shrink-0 w-5 h-5",children:a.author.image&&(0,r.jsx)(l(),{src:x.src,blurDataURL:x.blurDataURL,loader:x.loader,objectFit:"cover",layout:"fill",alt:null==a?void 0:null===(n=a.author)||void 0===n?void 0:n.name,placeholder:"blur",sizes:"30px",className:"rounded-full"})}),(0,r.jsx)("span",{className:"text-sm",children:a.author.name})]}),(0,r.jsx)("span",{className:"text-xs text-gray-300 dark:text-gray-600",children:"•"}),(0,r.jsx)("time",{className:"text-sm",dateTime:(null==a?void 0:a.publishedAt)||a._createdAt,children:(0,u.Z)((0,d.Z)((null==a?void 0:a.publishedAt)||a._createdAt),"MMMM dd, yyyy")})]})]})})}},1505:function(e,t,n){"use strict";n.d(t,{Y:function(){return p},me:function(){return g},wz:function(){return h}});var r=n(7297),a=n(2870),l=n.n(a);function i(){let e=(0,r.Z)(['\n*[_type == "post"] | order(publishedAt desc, _createdAt desc) {\n  ...,\n  author->,\n  categories[]->\n}\n']);return i=function(){return e},e}function s(){let e=(0,r.Z)(['\n*[_type == "siteconfig"][0] {\n  ...,\n}\n']);return s=function(){return e},e}function c(){let e=(0,r.Z)(['\n*[_type == "post" && slug.current == $slug][0] {\n  ...,\n  author->,\n  categories[]->,\n  "estReadingTime": round(length(pt::text(body)) / 5 / 180 )\n}\n']);return c=function(){return e},e}function o(){let e=(0,r.Z)(["\n*[_type == \"post\"] {\n  'slug': slug.current,\n}\n"]);return o=function(){return e},e}function u(){let e=(0,r.Z)(['\n*[_type == "author"] {\n ...\n}\n']);return u=function(){return e},e}function d(){let e=(0,r.Z)(['\n*[_type == "listing"] | order(_createdAt desc) [$start..$end] {\n  ...,\n  category->\n }\n']);return d=function(){return e},e}function A(){let e=(0,r.Z)(['\n*[_type == "listing" && slug.current == $slug][0] {\n  ...,\n  category-> {\n    ...,\n    enqform->,\n    vendorform->\n  }\n }\n']);return A=function(){return e},e}let g=l()(i()),h=l()(s()),p=l()(c());l()(o()),l()(u()),l()(d()),l()(A())},2561:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return g},default:function(){return h}});var r=n(5893);n(9008),n(5675),n(1664);var a=n(2962),l=n(5180),i=n(959),s=n(1163),c=n(5358),o=n(6465),u=n(1505),d=n(7492),A=n(5136),g=!0;function h(e){let{postdata:t,siteconfig:n,preview:g}=e,h=(0,s.useRouter)(),{data:p}=(0,c.$r)(u.me,{initialData:t,enabled:g||void 0!==h.query.preview}),{data:x}=(0,c.$r)(u.wz,{initialData:n,enabled:g||void 0!==h.query.preview}),m=(null==x?void 0:x.openGraphImage)?(0,d.Z)(null==x?void 0:x.openGraphImage).src:o.Z.src;return(0,r.jsx)(r.Fragment,{children:p&&x&&(0,r.jsxs)(l.Z,{...x,children:[(0,r.jsx)(a.PB,{title:"Blog — ".concat(null==x?void 0:x.title),description:(null==x?void 0:x.description)||"",canonical:null==x?void 0:x.url,openGraph:{url:null==x?void 0:x.url,title:"Blog — ".concat(null==x?void 0:x.title),description:(null==x?void 0:x.description)||"",images:[{url:m,width:800,height:600,alt:""}],site_name:"Stablo"},twitter:{cardType:"summary_large_image"}}),(0,r.jsxs)(i.Z,{children:[(0,r.jsx)("h1",{className:"text-3xl font-semibold tracking-tight text-center lg:leading-snug text-brand-primary lg:text-4xl dark:text-white mb-6",children:"Blog"}),(0,r.jsx)("div",{className:"grid gap-10 lg:gap-10 md:grid-cols-2 ",children:p.slice(0,2).map(e=>(0,r.jsx)(A.Z,{post:e,aspect:"landscape",preloadImage:!0},e._id))}),(0,r.jsx)("div",{className:"grid gap-10 mt-10 lg:gap-10 md:grid-cols-2 xl:grid-cols-3 ",children:p.slice(2).map(e=>(0,r.jsx)(A.Z,{post:e,aspect:"square"},e._id))})]})]})})}}},function(e){e.O(0,[164,128,180,774,888,179],function(){return e(e.s=4387)}),_N_E=e.O()}]);

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.