(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(4033)}])},4033:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return N}});var l=s(5893),r=s(9406),n=s.n(r),a=s(5550),i=s.n(a),c=s(7294);let o=e=>{let{text:t}=e,s=(e,t,s)=>{if(s>0){let e=t[s-1];if(/[A-Z]/.test(e))return!1}return/[A-Z]/.test(e)};return t.split("").map((e,r)=>s(e,t,r)?(0,l.jsx)("span",{className:"primary-text-color",children:e},"".concat(e,"-").concat(r)):e)},d=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],x=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],h=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,u=e=>{let{text:t,colorInUppercase:s,repetitions:r=10,intervalTimer:n=50}=e,[a,i]=(0,c.useState)(t),[u,f]=(0,c.useState)(0),[m,p]=(0,c.useState)(),j=(0,c.useCallback)(e=>{let t=/[A-Z]/.test(e)?x:d;return t[h(0,t.length-1)]},[]);return((0,c.useEffect)(()=>{u>t.length*r&&m&&clearInterval(m)},[u,m,t]),(0,c.useEffect)(()=>{let e=0,s=setInterval(()=>{let s=t.split("");s.forEach((t,l)=>{e<(l+1)*r&&" "!==t&&(s[l]=j(t))}),i(s.join("")),f(t=>e=t+1)},n);return p(s),()=>clearInterval(s)},[]),s)?(0,l.jsx)(o,{text:a}):a};var f=s(5152),m=s.n(f);let p=(e,t)=>{let s=(0,c.useRef)();(0,c.useEffect)(()=>{s.current=e},[e]),(0,c.useEffect)(()=>{if(null!==t){let e=setInterval(function(){s.current&&s.current()},t);return()=>clearInterval(e)}},[t])},j=e=>{let{text:t}=e,[s,l]=(0,c.useState)(t[0]),[r,n]=(0,c.useState)(1);return p(()=>{r>=t.length&&n(1),r<t.length&&n(r+1)},1e4),(0,c.useEffect)(()=>{l(t[r-1])},[r,t]),s};var g=s(5675),k=s.n(g),v=s(9008),b=s.n(v);let w=m()(()=>Promise.all([s.e(737),s.e(943),s.e(81)]).then(s.bind(s,6081)).then(e=>e.ThreeDModelCanva),{loadableGenerated:{webpack:()=>[6081]},ssr:!1});function N(){return(0,l.jsxs)("div",{className:"bg-1 min-h-screen ".concat(n().className),children:[(0,l.jsxs)(b(),{children:[(0,l.jsx)("title",{children:"Erik Figueiredo | Desenvolvedor FullStack Senior"}),(0,l.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,l.jsx)("link",{rel:"icon",href:"/icon512_rounded.png"})]}),(0,l.jsx)("div",{className:"bg-2 min-h-screen",children:(0,l.jsxs)("div",{className:"bg-3 flex min-h-screen flex-col items-center",children:[(0,l.jsx)("header",{className:"bg-clarify flex w-full flex-col items-center",children:(0,l.jsxs)("div",{className:"flex justify-between items-center w-full max-w-screen-2xl px-8",children:[(0,l.jsxs)("h1",{className:"text-3xl py-6 flex items-center text-nowrap text-ellipsis gap-3 overflow-hidden",style:{maxWidth:284},children:[(0,l.jsx)(k(),{className:"rounded-full",src:"/erik.jpeg",alt:"Foto Erik",width:50,height:50}),(0,l.jsx)(u,{text:"Erik Figueiredo",intervalTimer:25})]}),(0,l.jsx)("a",{className:"up-on-hover flex items-center gap-3",href:"https://github.com/erikfig",target:"_blank",children:(0,l.jsx)(k(),{src:"/github-mark.svg",alt:"GitHub",width:50,height:50})})]})}),(0,l.jsxs)("main",{className:"relative flex-1 w-full max-w-screen-2xl px-8 overflow-x-hidden flex flex-col justify-between lg:justify-start",children:[(0,l.jsx)(c.Suspense,{children:(0,l.jsx)(w,{})}),(0,l.jsx)("h2",{className:"text-7xl mt-10 lg:mt-28 pb-10 overflow-hidden ".concat(i().className),children:(0,l.jsx)(j,{text:[(0,l.jsx)(u,{text:"FullStack",colorInUppercase:!0,intervalTimer:25},"hack-1"),(0,l.jsx)(u,{text:"Node.js",colorInUppercase:!0},"hack-2"),(0,l.jsx)(u,{text:"React.js",colorInUppercase:!0},"hack-3"),(0,l.jsx)(u,{text:"React Native",colorInUppercase:!0},"hack-4"),(0,l.jsx)(u,{text:"Vue.js",colorInUppercase:!0},"hack-5"),(0,l.jsx)(u,{text:"PHP",colorInUppercase:!0},"hack-6")]})}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("p",{className:"w-3/6 leading-9 text-2xl mb-10 ".concat(n().className),children:["Desenvolvedor FullStack S\xeanior com mais de 15 anos de experi\xeancia, especializado em Node.js, TypeScript e PHP",(0,l.jsx)("span",{className:"blink",children:"_"})]}),(0,l.jsxs)("blockquote",{className:"border-l-4 pl-4",children:[(0,l.jsx)("p",{children:"Cada sonho que voc\xea deixa para tr\xe1s \xe9 um peda\xe7o do seu futuro que deixa de existir"}),(0,l.jsx)("cite",{children:"Steve Jobs"})]})]})]}),(0,l.jsxs)("footer",{className:"w-full max-w-screen-2xl pt-8 pr-8 pb-4 pl-8 flex items-center justify-between gap-3",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsxs)("a",{href:"https://www.linkedin.com/in/erik-figueiredo/",target:"_blank",className:"up-on-hover py-2 px-4 bg-gray-950 rounded-md font-bold flex items-center gap-3",style:{height:41},children:[(0,l.jsx)(k(),{className:"inline",src:"/linkedin-mark.svg",alt:"Linkedin",width:25,height:25}),(0,l.jsx)(u,{text:"Linkedin",intervalTimer:25})]}),(0,l.jsxs)("a",{href:"/profile.pdf",target:"_blank",className:"up-on-hover py-2 px-4 bg-gray-900 rounded-md font-bold flex items-center gap-3",style:{height:41},children:[(0,l.jsx)(k(),{className:"inline",src:"/download.svg",alt:"Curr\xedculo",width:25,height:25}),(0,l.jsx)(u,{text:"Curr\xedculo",intervalTimer:25})]})]}),(0,l.jsx)("button",{className:"flex p-4 bg-gray-900 rounded-full font-bold items-center gap-3",onClick:()=>{navigator.share({title:"Erik Figueiredo",text:"Link do Linkedin, Github e download do curr\xedculo",url:window.location.href})},children:(0,l.jsx)(k(),{className:"inline",src:"/share.svg",alt:"Compartilhar",width:25,height:25})})]})]})})]})}}},function(e){e.O(0,[237,888,774,179],function(){return e(e.s=8312)}),_N_E=e.O()}]);