(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[702],{678:function(e,t,n){Promise.resolve().then(n.bind(n,3639))},3639:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var i=n(7437),a=n(2265),o=n(9415),s=n(5424);function r(e){let{task:t,icon:n}=e,[s,r]=(0,a.useState)(!1);return(0,i.jsxs)(o.E.div,{className:"relative",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},children:[(0,i.jsx)(o.E.div,{initial:{opacity:0,y:10},animate:{opacity:s?1:0,y:s?0:10},className:"absolute top-14 -translate-x-1/2 w-full p-2 text-sm text-gray-800 font-light",children:t.description}),(0,i.jsxs)(o.E.a,{href:t.path,className:"group relative flex items-center h-10 px-6 py-3 rounded-md border transition-all duration-100 text-gray-800 font-light space-x-2 hover:shadow-md hover:shadow-blue-100",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:()=>r(!1),whileHover:{scale:1.05},whileTap:{scale:.95},children:[(0,i.jsx)(o.E.div,{animate:{rotate:s?360:0},transition:{duration:.5},children:(0,i.jsx)(n,{className:"h-5 w-5"})}),(0,i.jsx)("span",{className:"font-normal",children:t.name})]})]})}var c=n(7828),l=n(6072),d=n(9967);let h=[{id:"text-generation",name:"Text Generation",description:"Generate text based on a prompt.",icon:c.Z,path:"text-generation"},{id:"speech-recognition",name:"Speech Recognition",description:"Convert spoken words to text.",icon:l.Z,path:"speech-recognition"},{id:"object-detection",name:"Object Detection",description:"Locate and classify objects in images.",icon:d.Z,path:"object-detection"}];function p(){return(0,i.jsx)("div",{className:"flex items-center justify-center min-h-screen",children:(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)(o.E.h1,{className:"text-2xl font-mono font-normal text-gray-800 mb-12",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},children:(0,i.jsx)(s.rf,{words:["What should we work on today?"],loop:1,cursor:!0,cursorStyle:"|",typeSpeed:60,deleteSpeed:50})}),(0,i.jsx)(o.E.div,{className:"flex flex-col sm:flex-row justify-center gap-6",variants:{hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.1}}},initial:"hidden",animate:"show",children:h.map((e,t)=>(0,i.jsx)(r,{task:e,icon:e.icon},e.id))})]})})}}},function(e){e.O(0,[917,971,117,744],function(){return e(e.s=678)}),_N_E=e.O()}]);