-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-js-8d30ce176a8fd166ae13.js.map
1 lines (1 loc) · 22.5 KB
/
component---src-pages-index-js-8d30ce176a8fd166ae13.js.map
1
{"version":3,"sources":["webpack:///./node_modules/react-reveal/Fade.js","webpack:///./src/components/hints.js","webpack:///./src/components/Home.js","webpack:///./src/components/Links.js","webpack:///./src/components/Footer.js","webpack:///./src/pages/index.js","webpack:///./src/images/step2.svg","webpack:///./src/images/step2-dark.svg"],"names":["_objectWithoutProperties","o","e","r","t","indexOf","Object","prototype","hasOwnProperty","call","make","distance","left","p","right","a","up","l","down","i","top","u","bottom","n","big","s","mirror","d","opposite","_","toString","lookup","f","y","b","v","c","_globals","animation","Fade","arguments","length","defaults","children","out","forever","timeout","duration","delay","count","style","animationFillMode","reverse","_wrap2","default","defineProperty","exports","value","_propTypes","_wrap","__esModule","propTypes","bool","number","string","module","Float","styled","div","withConfig","displayName","componentId","Message","Avatar","img","Hints","_ref","msg","index","setIndex","useState","React","createElement","Fragment","ReactCSSTransitionGroup","transitionName","transitionAppear","transitionAppearTimeout","transitionEnterTimeout","transitionLeaveTimeout","transitionEnter","transitionLeave","onClick","increasePointer","className","src","Box","posed","props","width","Text","Home","_React$Component","_this","state","stage","_inheritsLoose","_proto","componentDidMount","this","setState","setTimeout","componentDidCatch","error","errorInfo","console","log","render","darkMode","toggleDarkMode","Sidebar","active","perspective","maxWidth","margin","position","display","placeItems","svgDark","svg","height","maxHeight","transformOrigin","transform","marginBottom","DarkMode","Component","Modal","ModalContext","Links","href","aria-hidden","Footer","Index","mode","safeSetLocalStorage","firstVisit","loader","getDarkMode","safeGetLocalStorage","Layout","SEO","title","keywords","Header","Projects","data"],"mappings":"8FAOA,SAASA,EAAyBC,EAAGC,GACnC,IAAIC,EAAI,GACR,IAAK,IAAIC,KAAKH,EAAGC,EAAEG,QAAQD,IAAM,GAAKE,OAAOC,UAAUC,eAAeC,KAAKR,EAAGG,KAAOD,EAAEC,GAAK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NzC,EAEDyC,YAAA,WACE,IAAIJ,GACiC,IAArCK,YAAoB,aACpBxC,KAAKC,SAAS,CAAEQ,SAAU0B,KAC3BrC,EAODU,OAAA,WACE,OACEpC,IAAAC,cAACoE,IAAM,CAAChC,SAAUT,KAAKL,MAAMc,UAC3BrC,IAAAC,cAACqE,IAAG,CAACC,MAAM,OAAOC,SAAU,CAAC,SAAU,cAAe,WACtDxE,IAAAC,cAAA,OAAKY,UAAU,uBACbb,IAAAC,cAACwE,IAAM,CAACjC,OAAQ,OAAQH,SAAUT,KAAKL,MAAMc,WAC7CrC,IAAAC,cAACmB,EAAI,CACHP,UAAU,MACVwB,SAAUT,KAAKL,MAAMc,SACrBC,eAAgBV,KAAKU,iBAEvBtC,IAAAC,cAAC4D,EAAM,CAACxB,SAAUT,KAAKL,MAAMc,YAG/BrC,IAAAC,cAACyE,UAAQ,CAACC,KAAM/C,KAAKX,MAAM0D,SAIhCb,EA3CQ,CAAS9D,IAAMuD,WAqMXO,a,qBC9Mf9E,EAAOT,QAAU,IAA0B,qD,qBCA3CS,EAAOT,QAAU,IAA0B","file":"component---src-pages-index-js-8d30ce176a8fd166ae13.js","sourcesContent":["\"use strict\";\n\nfunction _interopRequireDefault(o) {\n return o && o.__esModule ? o : {\n default: o\n };\n}\nfunction _objectWithoutProperties(o, e) {\n var r = {};\n for (var t in o) e.indexOf(t) >= 0 || Object.prototype.hasOwnProperty.call(o, t) && (r[t] = o[t]);\n return r;\n}\nfunction make(o, e) {\n var r = e.distance,\n t = e.left,\n p = e.right,\n a = e.up,\n l = e.down,\n i = e.top,\n u = e.bottom,\n n = e.big,\n s = e.mirror,\n d = e.opposite,\n _ = (r ? r.toString() : 0) + ((t ? 1 : 0) | (p ? 2 : 0) | (i || l ? 4 : 0) | (u || a ? 8 : 0) | (s ? 16 : 0) | (d ? 32 : 0) | (o ? 64 : 0) | (n ? 128 : 0));\n if (lookup.hasOwnProperty(_)) return lookup[_];\n var f = t || p || a || l || i || u,\n y = void 0,\n b = void 0;\n if (f) {\n if (!s != !(o && d)) {\n var v = [p, t, u, i, l, a];\n t = v[0], p = v[1], i = v[2], u = v[3], a = v[4], l = v[5];\n }\n var c = r || (n ? \"2000px\" : \"100%\");\n y = t ? \"-\" + c : p ? c : \"0\", b = l || i ? \"-\" + c : a || u ? c : \"0\";\n }\n return lookup[_] = (0, _globals.animation)((o ? \"to\" : \"from\") + \" {opacity: 0;\" + (f ? \" transform: translate3d(\" + y + \", \" + b + \", 0);\" : \"\") + \"}\\n \" + (o ? \"from\" : \"to\") + \" {opacity: 1;transform: none;} \"), lookup[_];\n}\nfunction Fade() {\n var o = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : _globals.defaults,\n e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n r = o.children,\n t = (o.out, o.forever),\n p = o.timeout,\n a = o.duration,\n l = void 0 === a ? _globals.defaults.duration : a,\n i = o.delay,\n u = void 0 === i ? _globals.defaults.delay : i,\n n = o.count,\n s = void 0 === n ? _globals.defaults.count : n,\n d = _objectWithoutProperties(o, [\"children\", \"out\", \"forever\", \"timeout\", \"duration\", \"delay\", \"count\"]),\n _ = {\n make: make,\n duration: void 0 === p ? l : p,\n delay: u,\n forever: t,\n count: s,\n style: {\n animationFillMode: \"both\"\n },\n reverse: d.left\n };\n return e ? (0, _wrap2.default)(d, _, _, r) : _;\n}\nObject.defineProperty(exports, \"__esModule\", {\n value: !0\n});\nvar _propTypes = require(\"prop-types\"),\n _globals = require(\"./globals\"),\n _wrap = require(\"./wrap\"),\n _wrap2 = _interopRequireDefault(_wrap),\n propTypes = {\n out: _propTypes.bool,\n left: _propTypes.bool,\n right: _propTypes.bool,\n top: _propTypes.bool,\n bottom: _propTypes.bool,\n big: _propTypes.bool,\n mirror: _propTypes.bool,\n opposite: _propTypes.bool,\n duration: _propTypes.number,\n timeout: _propTypes.number,\n distance: _propTypes.string,\n delay: _propTypes.number,\n count: _propTypes.number,\n forever: _propTypes.bool\n },\n lookup = {};\nFade.propTypes = propTypes, exports.default = Fade, module.exports = exports.default;","import React, { useState, useEffect } from 'react';\r\nimport ReactCSSTransitionGroup from 'react-addons-css-transition-group';\r\nimport styled from 'styled-components';\r\n \r\nconst Hints = ({msg} )=> {\r\n const [index, setIndex ] = useState(0);\r\n\r\n const increasePointer = () =>{\r\n if(index < msg.length - 1) setIndex(index + 1);\r\n else setIndex(0);\r\n }\r\n\r\n return (<>\r\n {index <= msg.length ?\r\n <ReactCSSTransitionGroup\r\n transitionName=\"hints\"\r\n transitionAppear={true}\r\n transitionAppearTimeout={550}\r\n transitionEnterTimeout={550}\r\n transitionLeaveTimeout={300}\r\n transitionEnter={true}\r\n transitionLeave={true}>\r\n <Float onClick={increasePointer} className=\"pointer\">\r\n <Message>{msg[index]}</Message>\r\n <div>\r\n <Avatar src={\"https://f0.pngfuel.com/png/136/22/profile-icon-illustration-user-profile-computer-icons-girl-customer-avatar-png-clip-art-thumbnail.png\"} />\r\n </div>\r\n </Float>\r\n </ReactCSSTransitionGroup> : null}\r\n </>\r\n );\r\n}\r\n\r\nconst Float = styled.div`\r\n position: fixed;\r\n bottom: 1em;\r\n right: 10px;\r\n\r\n display: grid;\r\n grid-template-columns: auto auto;\r\n @media (max-width: ${860}px) {\r\n display: none;\r\n }s`;\r\n\r\n const Message = styled.div`\r\n background: white;\r\n width: 9em;\r\n color: dodgerblue;\r\n border: 1px solid;\r\n padding: .3em .8em;\r\n border-radius: 1em;\r\n vertical-align: middle;\r\n display: grid;\r\n box-shadow: 0 .25em .5em rgba(0,0,0,.5);\r\n max-width: 15em;\r\n align-items: center;`;\r\n\r\n const Avatar = styled.img`\r\n border: .1em solid white;\r\n width: 4em;\r\n border-radius: 50%;\r\n margin-left: .2em;\r\n height: auto;`;\r\n\r\nexport default Hints;","import React from \"react\";\r\nimport styled from \"styled-components\";\r\nimport { Link } from \"gatsby\";\r\nimport posed from \"react-pose\";\r\nimport Fade from \"react-reveal/Fade\";\r\nimport { Sidebar, DarkMode, Modal } from \"./\";\r\nimport svg from \"./../images/step2.svg\";\r\nimport svgDark from \"./../images/step2-dark.svg\";\r\nimport { ModalConsumer, ModalContext } from \"../context/modal-context\";\r\nimport Hints from \"./hints\";\r\n\r\n\r\nconst Box = styled(posed.div({}))`\r\n font-size: 1.18em;\r\n font-family: \"Montserrat\", sans-serif;\r\n padding-right: 1em;\r\n line-height: 165%;\r\n &:before {\r\n content: \"\";\r\n width: ${(props) => props.width};\r\n height: 100%;\r\n position: absolute;\r\n background: #30abe8;\r\n transition: 0.37s;\r\n transition-timing-function: cubic-bezier(2, 0.5, 0.1, 0.5);\r\n }\r\n`;\r\n\r\nconst Text = styled.div`\r\n font-size: 40px;\r\n font-weigt: bold;\r\n`;\r\n\r\nclass Home extends React.Component {\r\n static Modal = ModalContext;\r\n constructor(props) {\r\n super(props);\r\n this.state = { stage: \"end\", width: \"100%\" };\r\n }\r\n\r\n componentDidMount() {\r\n this.setState({ stage: \"end\" });\r\n\r\n setTimeout(() => this.setState({ width: \"0%\" }), 50);\r\n }\r\n componentDidCatch(error, errorInfo) {\r\n console.log(error);\r\n console.log(errorInfo);\r\n }\r\n render() {\r\n let { darkMode, toggleDarkMode } = this.props;\r\n return (\r\n <>\r\n <Sidebar active={\"home\"} darkMode={darkMode} />\r\n <div className=\"home grid align-center\" style={{\r\n perspective: \"100rem\",\r\n maxWidth: '93%',\r\n margin: 'auto',\r\n position: \"relative\"\r\n }}>\r\n <div\r\n style={{\r\n display: \"grid\",\r\n placeItems: \"center\",\r\n\r\n }}\r\n >\r\n <img\r\n src={darkMode ? svgDark : svg}\r\n className=\"svg-glow\"\r\n style={{ height: \"60vh\", maxHeight: \"50vw\" }}\r\n />\r\n </div>\r\n <div className=\"content-container align-left\"\r\n style={{\r\n position: \"relative\",\r\n transformOrigin: 'left',\r\n transform: 'rotateY(-25deg)'\r\n }}\r\n\r\n >\r\n <Fade left>\r\n <Box>\r\n <h1 style={{ margin: 0, marginBottom: \"9px\" }}>\r\n Hello, I am Aayush!\r\n </h1>\r\n I’m a Software Engineer at <b>PayPal</b>, focusing on building enterprise applications. Previously, I worked at <b>ParkStash</b>, solving real-world challenges through technology. I’m passionate about creating scalable solutions, learning new technologies, and driving impactful innovation.\r\n <br />\r\n <br /> Feel free to reach out via email!\r\n <div>\r\n </div>\r\n <Text></Text>\r\n </Box>\r\n\r\n </Fade>\r\n </div>\r\n\r\n </div>\r\n <Hints msg={[\"Hello\"]} />\r\n <DarkMode toggleDarkMode={toggleDarkMode} darkMode={darkMode} />\r\n </>\r\n );\r\n }\r\n}\r\nexport default Home;\r\n","import React from 'react';\r\n\r\nlet Links =({darkMode})=> {\r\n return(\r\n <div className=\"grid-mobile align-left-on-lg\">\r\n <a href=\"https://github.com/aayush6194\">\r\n <button className={`bt bt-custom lift center-sm expand-sm ${darkMode? \"dark-btn\" : \"\"}`} >\r\n <i className=\"fab fa-github md-icon\"></i>\r\n GitHub</button>\r\n </a>\r\n\r\n <a href=\"mailto:[email protected]\">\r\n <button className={`bt bt-custom lift center-sm expand-sm ${darkMode? \"dark-btn\" : \"\"}`} > <i className=\"fa fa-envelope md-icon\" aria-hidden=\"true\"></i> Email</button>\r\n </a>\r\n\r\n <a href=\"https://www.linkedin.com/in/aayush-shrestha-b4b1b9158/\">\r\n \r\n <button className={`bt bt-custom lift center-sm expand-sm ${darkMode? \"dark-btn\" : \"\"}`} >\r\n <i className=\"fab fa-linkedin-in md-icon\"></i> LinkedIn </button>\r\n \r\n </a>\r\n </div>);\r\n}\r\n\r\nexport default Links;\r\n","import React from 'react';\r\nimport { Link } from 'gatsby';\r\nimport Links from './Links.js';\r\nlet Footer =({darkMode})=> {\r\n return(\r\n <div className=\"grid link-grid\">\r\n <Links className=\"align-left align-center\" darkMode={darkMode}/>\r\n <div className=\"align-left align-end\">\r\n \r\n </div>\r\n </div>\r\n);\r\n}\r\n\r\nexport default Footer;\r\n","import React from \"react\";\r\nimport Home from \"../components/Home\";\r\nimport Header from \"../components/header\";\r\nimport Footer from \"../components/Footer\";\r\nimport Layout from \"../components/layout\";\r\nimport SEO from \"../components/seo\";\r\nimport Projects from \"./Projects\";\r\nimport { safeGetLocalStorage, safeSetLocalStorage } from \"../utils/localstorage\";\r\n\r\nclass Index extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = { darkMode: false, firstVisit: true, loader: true };\r\n }\r\n\r\n componentDidCatch(error, errorInfo) {\r\n console.log(error);\r\n console.log(errorInfo);\r\n }\r\n componentDidMount() {\r\n this.getDarkMode();\r\n }\r\n\r\n getDarkMode() {\r\n let mode =\r\n safeGetLocalStorage(\"dark-mode\") !== true;\r\n this.setState({ darkMode: mode });\r\n }\r\n\r\n toggleDarkMode = (mode) => {\r\n safeSetLocalStorage(\"dark-mode\", mode === \"dark\" ? true : false);\r\n this.setState({ darkMode: mode === \"dark\" ? true : false });\r\n };\r\n\r\n render() {\r\n return (\r\n <Layout darkMode={this.state.darkMode}>\r\n <SEO title=\"Home\" keywords={[`gatsby`, `application`, `react`]} />\r\n <div className=\"container main-grid\">\r\n <Header active={\"home\"} darkMode={this.state.darkMode} />\r\n <Home\r\n className=\"row\"\r\n darkMode={this.state.darkMode}\r\n toggleDarkMode={this.toggleDarkMode}\r\n />\r\n <Footer darkMode={this.state.darkMode} />\r\n \r\n </div>\r\n <Projects data={this.props.data}/>\r\n \r\n </Layout>\r\n );\r\n }\r\n}\r\n\r\nexport const pageQuery = graphql`\r\n query {\r\n image1: file(relativePath: { eq: \"pj-1.JPG\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n ...GatsbyImageSharpFluid\r\n }\r\n }\r\n }\r\n image2: file(relativePath: { eq: \"pj-2.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n ...GatsbyImageSharpFluid\r\n }\r\n }\r\n }\r\n image3: file(relativePath: { eq: \"pj-3.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n base64\r\n tracedSVG\r\n aspectRatio\r\n src\r\n srcSet\r\n srcWebp\r\n srcSetWebp\r\n sizes\r\n originalImg\r\n originalName\r\n }\r\n }\r\n }\r\n image4: file(relativePath: { eq: \"pj-4.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n base64\r\n tracedSVG\r\n aspectRatio\r\n src\r\n srcSet\r\n srcWebp\r\n srcSetWebp\r\n sizes\r\n originalImg\r\n originalName\r\n }\r\n }\r\n }\r\n image5: file(relativePath: { eq: \"pj-5.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n base64\r\n tracedSVG\r\n aspectRatio\r\n src\r\n srcSet\r\n srcWebp\r\n srcSetWebp\r\n sizes\r\n originalImg\r\n originalName\r\n }\r\n }\r\n }\r\n\r\n image6: file(relativePath: { eq: \"pj-6.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n base64\r\n tracedSVG\r\n aspectRatio\r\n src\r\n srcSet\r\n srcWebp\r\n srcSetWebp\r\n sizes\r\n originalImg\r\n originalName\r\n }\r\n }\r\n }\r\n\r\n image7: file(relativePath: { eq: \"pj-7.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n base64\r\n tracedSVG\r\n aspectRatio\r\n src\r\n srcSet\r\n srcWebp\r\n srcSetWebp\r\n sizes\r\n originalImg\r\n originalName\r\n }\r\n }\r\n }\r\n\r\n image8: file(relativePath: { eq: \"pj-8.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n base64\r\n tracedSVG\r\n aspectRatio\r\n src\r\n srcSet\r\n srcWebp\r\n srcSetWebp\r\n sizes\r\n originalImg\r\n originalName\r\n }\r\n }\r\n }\r\n\r\n image11: file(relativePath: { eq: \"pj-11.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n base64\r\n tracedSVG\r\n aspectRatio\r\n src\r\n srcSet\r\n srcWebp\r\n srcSetWebp\r\n sizes\r\n originalImg\r\n originalName\r\n }\r\n }\r\n }\r\n\r\n image9: file(relativePath: { eq: \"pj-9.png\" }) {\r\n childImageSharp {\r\n fluid(maxWidth: 1000) {\r\n base64\r\n tracedSVG\r\n aspectRatio\r\n src\r\n srcSet\r\n srcWebp\r\n srcSetWebp\r\n sizes\r\n originalImg\r\n originalName\r\n }\r\n }\r\n }\r\n }\r\n`;\r\nexport default Index;\r\n","module.exports = __webpack_public_path__ + \"static/step2-dcde152e7c0e526d44568376d83d6733.svg\";","module.exports = __webpack_public_path__ + \"static/step2-dark-6240af5d94298ed5ebb8e2431c7eabdb.svg\";"],"sourceRoot":""}