1"use strict";(self.webpackChunkproject_aging_and_cognition_lab=self.webpackChunkproject_aging_and_cognition_lab||[]).push([[225],{76:(e,t,a)=>{a.d(t,{BP:()=>n,Df:()=>o,Oo:()=>i,j_:()=>l,oE:()=>s,wr:()=>c});const r=(0,a(550).a)({bucketSlug:"aging-and-cognition-lab-production",readKey:"haR9elOQurWT9DwEd4U0SoxksrTtWNLSJlVuWSbEW6Jkzv943z"}),s=async()=>{try{const e=await r.objects.findOne({type:"labmembers",slug:"labmembers"}).props("slug,title,metadata,type").depth(1);return console.log(e),e}catch(e){console.error("Error fetching research data:",e)}},n=async()=>{try{const e=await r.objects.findOne({type:"researchpage",slug:"researchpage"}).props("slug,title,metadata,type").depth(2);return console.log(e),e}catch(e){console.error("Error fetching research data:",e)}},c=async()=>{try{const e=await r.objects.findOne({type:"newspage",slug:"main-news-page"}).props("slug,title,metadata,type").depth(1);return console.log(e),e}catch(e){console.error("Error fetching research data:",e)}},o=async()=>{try{const e=await r.objects.findOne({type:"homenews",slug:"home-news"}).props("slug,title,metadata,type").depth(1);return console.log(e),e}catch(e){console.error("Error fetching research data:",e)}},l=async()=>{try{const e=await r.objects.findOne({type:"homepages",slug:"homepage"}).props("slug,title,metadata,type").depth(1);return console.log(e),e}catch(e){console.error("Error fetching research data:",e)}},i=async()=>{try{const e=await r.objects.findOne({type:"joinpages",slug:"joinpage"}).props("slug,title,metadata,type").depth(1);return console.log(e),e}catch(e){console.error("Error fetching research data:",e)}}},225:(e,t,a)=>{a.r(t),a.d(t,{default:()=>c});var r=a(43),s=a(76),n=a(579);function c(){const e=a(248),[t,c]=(0,r.useState)(),[o,l]=(0,r.useState)(null),[i,d]=(0,r.useState)(!0);return(0,r.useEffect)((()=>{!async function(){try{const e=await(0,s.Oo)();c(e),console.log(e)}catch(e){l("Failed to fetch data.")}finally{d(!1)}}()}),[]),t?(0,n.jsxs)("div",{className:"text-center min-h-screen",style:{backgroundImage:`url(${e})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center bottom"},children:[(0,n.jsx)("header",{className:"text-6xl font-bold mt-12 mb-8",style:{color:"var(--dark-teal)"},children:"Join Us Today!"}),(0,n.jsxs)("div",{className:"flex justify-center gap-32 px-4",children:[(0,n.jsxs)("div",{className:"text-center max-w-md",children:[(0,n.jsx)("h2",{className:"text-4xl font-semibold",style:{color:"var(--base-teal)"},children:"As a Researcher"}),(0,n.jsx)("img",{src:t.object.metadata.researcher_image.url,alt:"Join us as a Researcher!",className:"mt-4 mb-4 rounded-xl w-full"}),(0,n.jsx)("p",{className:"text-left text-black text-[16px] mb-6",children:t.object.metadata.text.metadata.researcher_text.split("\n").map(((e,t)=>(0,n.jsxs)(r.Fragment,{children:[e,(0,n.jsx)("br",{})]},t)))}),(0,n.jsx)("a",{href:t.object.metadata.researcher_url,target:"_blank",rel:"noreferrer",children:(0,n.jsx)("button",{className:"px-6 py-2 bg-white text-black text-[16px] rounded-full shadow-md hover:bg-teal-100 transition mb-6",style:{border:"2px solid var(--base-teal)"},children:"Join as a researcher!"})})]}),(0,n.jsxs)("div",{className:"text-center max-w-md",children:[(0,n.jsx)("h2",{className:"text-4xl font-semibold",style:{color:"var(--base-teal)"},children:"As a Participant"}),(0,n.jsx)("img",{src:t.object.metadata.participant_image.url,alt:"Join us as a Participant!",className:"mt-4 mb-4 rounded-xl w-full"}),(0,n.jsx)("p",{className:"text-left text-black text-[16px] mb-6",children:t.object.metadata.text.metadata.participant_text.split("\n").map(((e,t)=>(0,n.jsxs)(r.Fragment,{children:[e,(0,n.jsx)("br",{})]},t)))}),(0,n.jsx)("a",{href:t.object.metadata.participant_url,target:"_blank",rel:"noreferrer",children:(0,n.jsx)("button",{className:"px-6 py-2 bg-white text-black text-[16px] rounded-full shadow-md hover:bg-teal-100 transition mb-6",style:{border:"2px solid var(--base-teal)"},children:"Join as a participant!"})})]})]})]}):null}},248:(e,t,a)=>{e.exports=a.p+"static/media/curved_gradient.eb6698a5d00375dee741.png"}}]); 2//# sourceMappingURL=225.597fc402.chunk.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.