text: (this.webpackJsonpportfolio=this.webpackJsonpportfolio||[]).push([[3,5],{38:function(e,t,a){"use strict";var i=a(1),r=a(2),s=a(37);t.a=function(e){var t=e.prevPage,a=e.page,o=e.pageName,n=e.color;return Object(i.jsxs)(r.a.div,{className:"section-burger ".concat(function(){var e="";return"Item"===a&&(e=n),e}()),onClick:function(){return t()},style:Object(r.b)({from:{opacity:0},to:{opacity:a===o?1:0},delay:1200,config:{duration:450,easing:s.a}}),children:[Object(i.jsx)("div",{className:"line line1"}),Object(i.jsx)("div",{className:"line line2"})]})}},39:function(e,t,a){"use strict";t.a=a.p+"static/media/proj-one.f543c2f4.png"},40:function(e,t,a){"use strict";a.r(t);var i=a(3),r=a(1),s=a(0),o=a(2),n=a(37),c=a.p+"static/media/1.83a2bc6b.JPG",l=a.p+"static/media/0.d3a68442.jpg",p=a.p+"static/media/0.2b824dad.JPG",m=a(38);t.default=function(e){var t=e.fontSize,a=e.page,d=e.prevPage,u=e.Projects,h=e.nextPage,f=e.setItemIndex,g=[c,l,p,l],j=["Discover places to travel to, get suggestions for places you could visit as per what you would prefer to do.","Utilize the resources of the city municipality to implement a system to distribute leftovers and wasted food to the hungry and for recyling.","A platform is the cumulation of various resources in one place to help mental disorders and spread awareness regarding the issue, which is critical in this day and age.",""],b=Object(s.useState)(null),v=Object(i.a)(b,2),y=v[0],w=v[1],x=Object(o.b)({from:{transform:"translateX(-100vw)",opacity:0},to:{transform:"Projects"===a?"translateX(0vw)":"translateX(-100vw)",opacity:"Projects"===a?1:0},delay:150,config:{duration:1200,easing:n.a}}),O=function(e){return Object(o.b)({from:{width:0,opacity:0,height:18*t},to:{width:e===y?32*t:0,opacity:e===y?1:0,height:18*t},config:{duration:450,easing:n.a}})},k=function(e){return Object(o.b)({from:{marginLeft:-10,opacity:0},to:{marginLeft:"Projects"===a?0:-10,opacity:"Projects"===a?1:0},delay:1050+150*e,config:{duration:450,easing:n.a}})},P=function(){h("Item"),f(y)};return Object(r.jsxs)(o.a.div,{className:"project-section",style:x,children:[Object(r.jsx)(m.a,{prevPage:d,page:a,pageName:"Projects"}),Object(r.jsx)("div",{className:"project-item-section",children:u.map((function(e,t){return Object(r.jsxs)(o.a.div,{className:"project-item",style:k(t),onClick:P,children:[Object(r.jsx)("h1",{onMouseEnter:function(){return w(t)},onMouseLeave:function(){return w(null)},children:e}),Object(r.jsx)("p",{children:j[t]}),Object(r.jsx)(o.a.img,{src:g[t],alt:"".concat(e," Demo"),style:O(t)})]})}))})]})}},41:function(e,t,a){"use strict";a.r(t);var i=a(1),r=a(0),s=a(2),o=a(37),n=a(38);a(39),a(40);t.default=function(e){var t=e.itemType,a=e.itemIndex,c=e.setPrev,l=(e.fontSize,e.page),p=e.html,m=[{name:"travelaholic",roles:["Front-End","Back-End","UI/UX"],description:["When you travel, you meet new people, and cultures, go through different experiences (for better or worse), and perhaps even change your perspective on things and life as a whole. You meet new people and visit new places, so you learn and gain information, this shapes you into a better person.","So what I wanted to make was a place where I could get suggestions for places I could visit as per what I would prefer to do. After a place was suggested, I would like to see the details for reference like local places and also the flight fares."],mainImage:"./projects/travelaholic/0.jpg",images:["./projects/travelaholic/1.jpg","./projects/travelaholic/2.jpg","./projects/travelaholic/3.jpg","./projects/travelaholic/4.jpg"],links:[{name:"Github",link:"https://github.com/prateekbose/travelaholic"},{name:"Demo",link:"https://travelaholic.000webhostapp.com/"}],color:"#202020",text:"#ffffff"},{name:"hungri",roles:["Front-End","UI/UX"],description:["This project is a Progressive Web App, which creates a platform to help the hungry by relocating the wasted and leftovers from a small house all the way to a large scale party","We created a platform which utilizes the resources of the city municipality to implement a system to distribute leftovers and wasted food to the hungry and also use the wasted food for recyling."],mainImage:"./projects/hungri/0.jpg",images:["./projects/hungri/1.jpg","./projects/hungri/2.jpg","./projects/hungri/3.jpg","./projects/hungri/4.jpg"],links:[{name:"Github - Front End",link:"https://github.com/prateekbose/hungri-front-end"},{name:"Github - Back End",link:"https://github.com/prateekbose/hungri-back-end"},{name:"Demo",link:"https://hungri.vercel.app/"}],color:"#202020",text:"#ffffff"},{name:"mindfull",roles:["Front-End","UI/UX"],description:["A platform is the cumulation of various resources in one place to help mental disorders and spread awareness regarding the issue, which is critical in this day and age.","The design is minimalistic channelling the user's focus to the actual resources."],mainImage:"./projects/mindfull/0.JPG",images:["./projects/mindfull/0.JPG","./projects/mindfull/1.JPG","./projects/mindfull/2.JPG"],links:[{name:"Github",link:"https://github.com/prateekbose/mindfull"},{name:"Demo",link:"https://mindfullweb.vercel.app/"}],color:"#202020",text:"#ffffff"}],d={},u=!1;"Projects"===t?(d=m,u=!0):d=[{name:"travelaholic",roles:["Front-End","Back-End","UI/UX"],mainImage:"./projects/travelaholic/1.JPG",images:["./projects/travelaholic/2.JPG","./projects/travelaholic/3.JPG"],color:"#202020",text:"#ffffff"},{name:"hungri",roles:["Front-End","UI/UX"],mainImage:"./projects/hungri/1.JPG",images:["./projects/hungri/2.JPG","./projects/hungri/3.JPG"],color:"#202020",text:"#ffffff"}];var h=Object(s.b)({from:{transform:"translateX(-100vw)",opacity:0},to:{transform:"Item"===l?"translateX(0vw)":"translateX(-100vw)",opacity:"Item"===l?1:0},delay:150,config:{duration:1200,easing:o.a}});return Object(r.useEffect)((function(){"Item"===l&&p.classList.remove("no-scroll")})),Object(i.jsxs)(s.a.div,{className:"item-page",style:h,children:[Object(i.jsx)(n.a,{prevPage:c,page:l,pageName:"Item",color:"#ffffff"===m[a].text?"light":"dark"}),Object(i.jsxs)("div",{className:"item-image",style:{backgroundColor:m[a].color},children:[Object(i.jsx)("h1",{style:{color:m[a].text},children:d[a].name}),Object(i.jsx)("img",{src:d[a].mainImage,alt:"Project Image"})]}),Object(i.jsxs)("div",{className:"item-details",children:[Object(i.jsxs)("div",{className:"header",children:[Object(i.jsx)("h2",{children:"Roles"}),Object(i.jsx)("ul",{children:d[a].roles.map((function(e,t){return Object(i.jsx)("li",{children:e},t)}))}),d[a].description.map((function(e,t){return Object(i.jsx)("p",{children:e},t)}))]}),Object(i.jsx)("div",{className:"item-links",children:u?m[a].links.map((function(e,t){return Object(i.jsx)("a",{href:e.link,target:"_blank",className:"item-link",children:e.name},t)})):Object(i.jsx)("div",{})})]}),Object(i.jsx)("div",{className:"item-image-section",children:d[a].images.map((function(e,t){return Object(i.jsx)("div",{className:"item-image",style:{backgroundColor:"".concat(e[a].color)},children:Object(i.jsx)("img",{src:e,alt:"Project Image"})},t)}))})]})}}}]);
  //# sourceMappingURL=3.9d863feb.chunk.js.map