1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5834],{28718:(e,l,n)=>{"use strict";n.r(l),n.d(l,{__N_SSP:()=>v,default:()=>p});var s=n(37876),t=n(48230),a=n.n(t),r=n(18480),i=n(89311),d=n(43594),c=n(13144),o=n(55113),u=n(58517),h=n(38234),x=n(16495),m=n(5357);let g=e=>{let{challengesList:l}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.A,{title:"Challenges by Peerlist",description:"Community-driven design, engineering, and tech challenges that help you learn, grow and sharpen your skills.",keywords:"peerlist, challenges, community challenges, design challenges, engineering challenges, tech challenges",ogImage:x.CDNImage.challengesOG}),(0,s.jsxs)("div",{className:"max-w-142 min-h-screen w-full mx-auto flex flex-col gap-16 relative overflow-clip px-10 sm:px-0",children:[(0,s.jsx)(o.J,{}),(0,s.jsxs)("div",{className:"flex flex-col sm:px-0 px-4 mb-20",children:[(0,s.jsx)(i.default.NormalText,{xxxxl:!0,className:"font-instrument text-center",as:"h1",children:"Peerlist Challenges"}),(0,s.jsx)(i.default.MutedText,{base:!0,className:"text-center mt-4",children:"Explore and participate in community challenges by Peerlist."})]}),(0,s.jsx)("div",{className:"grid sm:grid-cols-2 grid-cols-1 gap-6 px-2",children:null==l?void 0:l.map(e=>{if(!e)return null;let l=((e,l)=>{let n=new Date,t=new Date(e),a=new Date(l);return n<t?(0,s.jsx)(m.A.Blue,{children:"UPCOMING"}):n>a?(0,s.jsx)(m.A.Gray,{children:"CONCLUDED"}):(0,s.jsx)(m.A.Green,{children:"ON GOING"})})(null==e?void 0:e.startDate,null==e?void 0:e.endDate);return(0,s.jsxs)(a(),{className:"border border-primaryBorder rounded-xl max-w-70 mx-auto hover:shadow-focus focus:shadow-focus ease-in duration-150 relative",href:x.APP_PATHS.challengeLink(null==e?void 0:e.slug),children:[(0,s.jsx)("div",{className:"absolute top-2 right-2",children:l}),(0,s.jsx)("div",{className:"h-40 border-b border-primaryBorder",children:(0,s.jsx)("img",{src:null==e?void 0:e.image,className:"w-full h-full rounded-xl object-cover",alt:null==e?void 0:e.title})}),(0,s.jsxs)("div",{className:"p-4",children:[(0,s.jsx)(i.default.SemiBoldText,{children:null==e?void 0:e.title}),(0,s.jsxs)(i.default.MutedText,{sm:!0,children:[h.A.getFormattedDateAndMonth(new Date(null==e?void 0:e.startDate))," ","-"," ",h.A.getFormattedDateAndMonth(new Date(null==e?void 0:e.endDate)),", ",new Date(null==e?void 0:e.startDate).getFullYear()]})]})]},null==e?void 0:e.slug)})}),(0,s.jsx)(d.A.Divider,{}),(0,s.jsx)(u.A,{}),(0,s.jsx)(c.C,{})]})]})};g.getLayout=function(e){return(0,s.jsx)("div",{children:e})};var v=!0;let p=g},49876:(e,l,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/challenges",function(){return n(28718)}])}},e=>{e.O(0,[3594,620,636,6593,8792],()=>e(e.s=49876)),_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.