PageSourceSearch

https://naijabarrister.com/_next/static/chunks/pages/jobs-0abc558e71e15f04.js

js naijabarrister.com collected 2026-10-02 16:04:21 UTC 4,408 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8142],{26035:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/jobs",function(){return t(51468)}])},32551:function(e,s,t){"use strict";t.d(s,{Z:function(){return f}});var n=t(34051),r=t.n(n),a=t(85893),i=(t(67294),t(88767)),c=t(40611),l=t(88362),o=t(86492),d=t.n(o),u=t(41664),x=t(11510),h=t(89583);var m=function(e){var s=e.job;return(0,a.jsxs)("div",{className:"p-6 bg-white rounded-lg",children:[(0,a.jsx)("h2",{className:"md:text-xl text-xl",children:(0,a.jsx)(u.default,{href:"/jobs/".concat(s.slug),children:(0,a.jsx)("a",{className:"text-blue-500 hover:text-blue-400",children:d().decode(s.title)})})}),(0,a.jsxs)("ul",{className:"flex items-center text-slate-400 space-x-4 mb-1",children:[(0,a.jsxs)("li",{children:["Posted ",(0,x.Z)(new Date(s.createdAt),"eee eo MMM, yyyy")]}),(0,a.jsxs)("li",{children:["Source:"," ",s.link?(0,a.jsx)("a",{href:s.link,className:"text-blue-500 hover:text-blue-400 underline",rel:"noreferrer",children:s.source}):s.source]})]}),(0,a.jsx)("p",{children:s.description?d().decode(s.description.substr(0,120)):"No description"}),(0,a.jsx)("p",{children:(0,a.jsx)(u.default,{href:"/jobs/".concat(s.slug),children:(0,a.jsxs)("a",{className:"text-blue-500 hover:text-blue-400 inline-flex items-center space-x-2",children:[(0,a.jsx)("span",{children:"Learn more"})," ",(0,a.jsx)(h.e7O,{className:"relative top-0.5"})]})})})]})},j=t(11163),p=t(80471);function v(e,s,t,n,r,a,i){try{var c=e[a](i),l=c.value}catch(o){return void t(o)}c.done?s(l):Promise.resolve(l).then(n,r)}var f=function(){var e=(0,j.useRouter)(),s=(0,i.useInfiniteQuery)("jobs",function(){var s,t=(s=r().mark((function s(t){var n;return r().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return n=t.pageParam,s.next=3,c.Z.get("/api/cms/jobs",{params:{page:n,limit:20,query:e.query.query}}).then((function(e){return e.data})).catch((function(e){console.log(e)}));case 3:return s.abrupt("return",s.sent);case 4:case"end":return s.stop()}}),s)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var a=s.apply(e,t);function i(e){v(a,n,r,i,c,"next",e)}function c(e){v(a,n,r,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),{enabled:e.isReady,getNextPageParam:function(e){var s;return(null===e||void 0===e||null===(s=e.next)||void 0===s?void 0:s.page)||void 0}}),t=s.data,n=s.isLoading,o=s.fetchNextPage,d=s.isFetchingNextPage,u=s.hasNextPage;return n?(0,a.jsx)(l.Z,{}):(0,a.jsx)("div",{children:t&&t.pages.length>0?(0,a.jsxs)("div",{children:[t.pages.map((function(e,s){return(0,a.jsx)("div",{className:"mb-4",children:(0,a.jsx)("div",{className:"space-y-6",children:null===e||void 0===e?void 0:e.jobs.map((function(e){return(0,a.jsx)(m,{job:e},e.id)}))})},s)})),(0,a.jsx)("div",{className:"mt-6",children:u?(0,a.jsx)("button",{className:"button",disabled:d,onClick:o,children:d?(0,a.jsx)(p.frZ,{className:"animate-spin",size:"1.5em"}):"Load more"}):(0,a.jsx)("p",{className:"italic text-slate-400 p-4",children:"No more jobs"})})]}):(0,a.jsx)("div",{className:"p-6 bg-white rounded-lg border border-slate-300",children:"There are no jobs available at the moment, please check back later."})})}},88362:function(e,s,t){"use strict";var n=t(85893),r=(t(67294),t(80471));s.Z=function(){return(0,n.jsx)("div",{className:"py-8 px-4 border border-slate-300 rounded-lg bg-white",children:(0,n.jsx)(r.frZ,{size:"1.5em",className:"animate animate-spin mx-auto"})})}},51468:function(e,s,t){"use strict";t.r(s);var n=t(85893),r=(t(67294),t(65357)),a=t(32551);s.default=function(){return(0,n.jsxs)(r.Z,{title:"Jobs on NaijaBarrister",children:[(0,n.jsx)("header",{className:"py-24 mt-20 px-6 bg-slate-800",children:(0,n.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,n.jsx)("h1",{className:"text-white font-black md:text-5xl text-4xl",children:"Find Jobs"}),(0,n.jsx)("p",{className:"text-lg text-slate-200",children:"Discover currated legal jobs on NaijaBarrister"})]})}),(0,n.jsx)("section",{className:"py-12 bg-slate-100 px-4",children:(0,n.jsxs)("div",{className:"max-w-6xl mx-auto md:grid grid-cols-12",children:[(0,n.jsx)("div",{className:"col-span-8",children:(0,n.jsx)(a.Z,{})}),(0,n.jsx)("div",{className:"col-span-4"})]})})]})}}},function(e){e.O(0,[5445,2013,9866,955,3276,2175,1510,6492,5357,9774,2888,179],(function(){return s=26035,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

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.