PageSourceSearch

https://oliveyoung.tech/component---src-templates-category-index-tsx-d43d4b8de71e8cf10606.js

js oliveyoung.tech collected 2026-10-02 06:36:57 UTC 4,548 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkoy_tech_blog=self.webpackChunkoy_tech_blog||[]).push([[379],{1930:function(e,t,a){a.d(t,{A:function(){return o}});var l=a(4794),s=a(4848);const n=[{label:"All",path:"/"},{label:"Tech",path:"/category/Tech/"},{label:"Culture",path:"/category/Culture/"},{label:"Product",path:"/category/Product/"}];var o=e=>{let{activePath:t}=e;return(0,s.jsx)("nav",{className:"CategoryFilter-module--container--e485a",children:n.map(e=>{let{label:a,path:n}=e;const o="All"===a?!t.startsWith("/category/"):t.startsWith(n);return(0,s.jsx)(l.Link,{to:n,className:"CategoryFilter-module--item--7d93a "+(o?"CategoryFilter-module--active--c1bdb":""),children:a},a)})})}},2729:function(e,t,a){a.r(t),a.d(t,{default:function(){return d}});var l=a(476),s=a(5645),n=a(3766),o=a(2937),i=a(7397),r=a(1930),c=(a(8111),a(4848));var d=e=>{let{data:{allMarkdownRemark:{nodes:t}},pageContext:{category:a}}=e;const d="/category/"+a.trim().replace(" ","-")+"/";return(0,c.jsxs)(l.A,{children:[(0,c.jsx)(s.A,{title:a,description:"올리브영 Tech의 "+a+" 카테고리 글 목록입니다",url:d}),(0,c.jsx)(i.A,{children:(0,c.jsxs)(o.A,{children:[(0,c.jsx)(r.A,{activePath:d}),false,(0,c.jsx)("div",{className:"Category-module--summary--227fd",children:(0,c.jsx)("h1",{className:"Category-module--title--a00b0",children:a})}),(0,c.jsx)(n.A,{nodes:t})]})})]})}},3766:function(e,t,a){a.d(t,{A:function(){return c}});var l=a(6540),s=a(4794),n=a(5588),o=a(9672),i=a(4848);const r=e=>{var t,a,l;let{frontmatter:{title:r,subtitle:c,date:d,category:u,tags:m,thumbnail:h},fields:{slug:g,listThumbnail:v}}=e;const p=(0,n.c)((null==v||null===(t=v.childImageSharp)||void 0===t?void 0:t.gatsbyImageData)||(null==h||null===(a=h.childImageSharp)||void 0===a?void 0:a.listCroppedImageData)||(null==h||null===(l=h.childImageSharp)||void 0===l?void 0:l.gatsbyImageData));return(0,i.jsx)("li",{className:"PostList-module--item--95839",children:(0,i.jsxs)(s.Link,{className:"PostList-module--wrapper--f39d6",to:""+g,children:[(0,i.jsx)("div",{className:"PostList-module--thum--e2052",children:p&&(0,i.jsx)(n.G,{image:p,alt:"올리브영 테크블로그 포스팅 "+r,className:"PostList-module--inner--ef88a",objectFit:"cover",objectPosition:"50% 50%"})}),(0,i.jsxs)("div",{className:"PostList-module--content--de4e3",children:[(0,i.jsxs)("div",{className:"PostList-module--header--5ba1b",children:[(0,i.jsx)("span",{onClick:e=>((e,t)=>{e.preventDefault(),(0,s.navigate)("/category/"+t.replace(" ","-"))})(e,u),className:"PostList-module--category--22393",children:u}),(0,i.jsx)("span",{className:"PostList-module--date--21238",children:d})]}),(0,i.jsx)("h1",{className:"PostList-module--title--a2e55",children:r}),(0,i.jsx)("p",{className:"PostList-module--sub--424ed",children:c}),m&&(0,i.jsx)("div",{className:"PostList-module--tag--0b5cb",children:(0,i.jsx)(o.A,{tags:m,maxCount:3})})]})]})})};var c=e=>{let{nodes:t}=e;return(0,i.jsx)("ul",{className:"PostList-module--container--f1e1d",children:t.map((e,t)=>(0,l.createElement)(r,Object.assign({},e,{key:t})))})}},8111:function(e,t,a){a.d(t,{A:function(){return o}});a(6910);var l=a(4506),s=a(4794),n=a(4848);var o=()=>{var e,t,a,o,i,r;const c=(0,s.useStaticQuery)("2835346322"),d=null!==(e=null==c||null===(t=c.allMarkdownRemark)||void 0===t?void 0:t.group)&&void 0!==e?e:[],u=(0,l.A)(d).sort((e,t)=>t.totalCount-e.totalCount).slice(0,15),m=null!==(a=null===(o=u[0])||void 0===o?void 0:o.totalCount)&&void 0!==a?a:1,h=null!==(i=null===(r=u[u.length-1])||void 0===r?void 0:r.totalCount)&&void 0!==i?i:1,g=e=>{if(m===h)return 13;const t=(e-h)/(m-h);return Math.round(11+7*t)};return 0===u.length?null:(0,n.jsxs)("div",{className:"TagCloud-module--container--ce3c
1d",children:[(0,n.jsx)("span",{className:"TagCloud-module--label--8d662",children:"Tags"}),u.map(e=>{let{fieldValue:t,totalCount:a}=e;return(0,n.jsxs)(s.Link,{to:"/tag/"+t.replace(/ /g,"-")+"/",className:"TagCloud-module--tag--7f82e",style:{fontSize:g(a)+"px"},children:["#",t]},t)})]})}},9672:function(e,t,a){a.d(t,{A:function(){return n}});var l=a(4794),s=a(4848);var n=e=>{var t;let{tags:a,listType:n,maxCount:o}=e;return(0,s.jsx)(s.Fragment,{children:null===(t=o?null==a?void 0:a.slice(0,o):a)||void 0===t?void 0:t.map(e=>(0,s.jsx)("span",{onClick:t=>((e,t)=>{e.preventDefault(),(0,l.navigate)("/tag/"+t.replace(" ","-"))})(t,e),className:"TagList-module--item--d176b "+("hightLight"===n&&"TagList-module--hightlight--3ad34"),children:e},"tag_"+e))})}}}]);
2//# sourceMappingURL=component---src-templates-category-index-tsx-d43d4b8de71e8cf10606.js.map

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.