-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-d65bfb4e0250ddf3.js
More file actions
1 lines (1 loc) · 4.42 KB
/
index-d65bfb4e0250ddf3.js
File metadata and controls
1 lines (1 loc) · 4.42 KB
1
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5301:function(s,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(5831)}])},5831:function(s,e,n){"use strict";n.r(e),n.d(e,{__N_SSG:function(){return j},default:function(){return p}});var t=n(5893),i=n(7294),o=n(1493),c=n(9008),r=n(2323),a=n.n(r);function l(s){var e=s.project,n=(0,i.useContext)(o.k),c=n.open,r=n.setOpen,l=n.setIdProject;return(0,t.jsxs)("div",{role:"button",className:a().project,onClick:function(){return s=e.id,r(!c),l(parseInt(s)-1),void(document.body.style.overflow="hidden");var s},children:[(0,t.jsx)("img",{src:e.image,alt:"Image from project ".concat(e.title)}),(0,t.jsxs)("div",{className:a().infos,children:[(0,t.jsx)("h3",{children:e.title}),(0,t.jsx)("p",{children:e.shortDescription}),(0,t.jsx)("button",{children:"Saiba mais"})]})]})}var d=n(5079),_=n.n(d);function h(){var s=(0,i.useContext)(o.k),e=s.open,n=s.setOpen,c=s.projectInfo;return(0,t.jsx)("div",{className:_().shadow,children:c&&(0,t.jsxs)("div",{className:_().infos,children:[(0,t.jsx)("button",{className:_().close,onClick:function(){n(!e),document.body.style.overflowY="auto"},children:(0,t.jsx)("img",{className:_().imgClose,src:"/assets/down.svg",alt:"Close"})}),(0,t.jsxs)("div",{className:_().content,children:[(0,t.jsx)("h1",{children:c.title}),(0,t.jsx)("img",{src:c.gif,alt:c.title}),(0,t.jsx)("div",{className:_().description,children:c.longDescription.map((function(s,e){return(0,t.jsx)("p",{children:s},e)}))}),(0,t.jsxs)("div",{className:_().techs,children:[(0,t.jsx)("h3",{children:"Tecnologias utilizadas"}),(0,t.jsx)("div",{className:_().tags,children:c.techs.map((function(s,e){return(0,t.jsx)("span",{children:s},e)}))})]}),(0,t.jsxs)("div",{className:_().btns,children:[(0,t.jsx)("button",{onClick:function(){return window.open("".concat(c.prod))},children:"Ver em produ\xe7\xe3o"}),(0,t.jsx)("button",{onClick:function(){return window.open("".concat(c.repo))},children:"Ver no Github"})]})]})]})})}var m=n(6289),u=n.n(m),j=!0;function p(s){var e=s.projects,n=(0,i.useContext)(o.k).open;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.default,{children:(0,t.jsx)("title",{children:"Daniel Mafra - Desenvolvedor Front-end"})}),(0,t.jsxs)("main",{className:u().mainIndex,children:[(0,t.jsxs)("section",{className:u().hero,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:u().headline,children:"Desenvolvedor Front-end"}),(0,t.jsxs)("div",{className:u().tags,children:[(0,t.jsx)("span",{children:"ReactJS"}),(0,t.jsx)("span",{children:"NextJS"}),(0,t.jsx)("span",{children:"Javascript ES6+"}),(0,t.jsx)("span",{children:"HTML5"}),(0,t.jsx)("span",{children:"CSS3"}),(0,t.jsx)("span",{children:"Git"})]}),(0,t.jsxs)("div",{className:u().social,children:[(0,t.jsx)("h4",{children:"Saiba mais sobre mim:"}),(0,t.jsxs)("div",{className:u().socialBtns,children:[(0,t.jsx)("button",{className:u().git,onClick:function(){return window.open("https://github.com/danielmafra/")},children:"GitHub"}),(0,t.jsx)("button",{className:u().ldin,onClick:function(){return window.open("https://linkedin.com/in/danielmafradev/")},children:"LinkedIn"}),(0,t.jsx)("button",{className:u().inst,onClick:function(){return window.open("https://instagram.com/danielmafradev/")},children:"Instagram"})]})]})]}),(0,t.jsx)("img",{src:"/assets/daniel-mafra-front-end-developer.png",alt:"Daniel Mafra Front-end Developer"})]}),(0,t.jsxs)("section",{className:u().myprojects,children:[(0,t.jsx)("h2",{children:"Meus projetos"}),(0,t.jsx)("div",{className:u().projects,children:e.map((function(s){return(0,t.jsx)(l,{project:s},s.id)}))})]}),n&&(0,t.jsx)(h,{})]})]})}},5079:function(s){s.exports={shadow:"styles_shadow__AoEmF",infos:"styles_infos__4bwNO",close:"styles_close__V7sUa",imgClose:"styles_imgClose___yhnu",content:"styles_content__hiHEq",description:"styles_description__zKZTG",techs:"styles_techs___B_DN",tags:"styles_tags__AgW3i",btns:"styles_btns__pj0zJ"}},2323:function(s){s.exports={project:"styles_project___V_sb",infos:"styles_infos__ZDBtV"}},6289:function(s){s.exports={mainIndex:"home_mainIndex__vFGW9",hero:"home_hero__lhpWS",headline:"home_headline__YurrW",tags:"home_tags__X_1Z2",myprojects:"home_myprojects__HObTb",projects:"home_projects__rmoeA",social:"home_social__HKI4U",socialBtns:"home_socialBtns___lZtG",git:"home_git__QKWoF",ldin:"home_ldin__8QBqP",inst:"home_inst__Z8NA9"}},9008:function(s,e,n){s.exports=n(5443)}},function(s){s.O(0,[774,888,179],(function(){return e=5301,s(s.s=e);var e}));var e=s.O();_N_E=e}]);