{"version":3,"sources":["editable-stuff/config.js","components/home/MainBody.jsx","components/home/AboutMe.jsx","components/home/ProjectCard.jsx","components/home/Project.jsx","hooks/useIsomorphicLayoutEffect.js","hooks/useScrollPosition.js","hooks/useResizeObserver.js","components/Navbar.jsx","components/home/Leadership.jsx","components/home/ExperienceCard.jsx","components/home/Experience.jsx","App.js","serviceWorker.js","index.js","editable-stuff/darshit.png","assets/img/bolt-logo.jpeg"],"names":["navBar","mainBody","gradientColors","firstName","middleName","lastName","message","icons","image","url","imageLink","require","imageSizeHeight","imageSizeWidth","getInTouchMessage","email","about","show","heading","resume","repos","gitHubUsername","reposLength","specificRepos","leadership","images","img","label","paragraph","imageSize","width","height","experiences","data","role","companylogo","date","MainBody","React","forwardRef","ref","gradient","title","link","imgSizeWidth","imgSizeHeight","useState","profilePicUrl","setProfilePicUrl","useEffect","Jumbotron","fluid","id","style","background","backgroundSize","className","Container","src","alt","cursor","map","icon","index","key","target","rel","href","aria-label","split","pictureLinkRegex","RegExp","AboutMe","Boolean","showPic","setShowPic","test","handleRequest","a","axios","get","response","graphql","user","profile_pic_url_hd","console","error","CardButtons","svn_url","Language","languages_url","repo_url","setData","useCallback","array","total_count","push","length","language","Math","trunc","CardFooter","star_count","pushed_at","updated_at","setUpdated_at","handleUpdatetime","Date","diff","getTime","hours","measurement","toString","time","Intl","DateTimeFormat","day","month","year","format","ProjectCard","value","name","description","stargazers_count","Col","md","Card","Body","Title","as","Text","count","dummyProject","API","Project","username","specfic","allReposAPI","specficReposAPI","dummyProjectsArr","Array","fill","projectsArray","setProjectsArray","fetchRepos","repoList","slice","repoName","Row","project","useIsomorphicLayoutEffect","window","useLayoutEffect","isBrowser","getScrollPosition","element","useWindow","x","y","position","current","document","body","getBoundingClientRect","scrollX","scrollY","left","top","useScrollPosition","effect","deps","wait","useRef","throttleTimeout","callBack","currPos","prevPos","handleScroll","setTimeout","addEventListener","removeEventListener","clearTimeout","defaultProps","useResizeObserver","dimensions","setDimensions","observeTarget","resizeObserver","ResizeObserver","entries","forEach","entry","contentRect","observe","unobserve","Navigation","props","isTop","setIsTop","scrollPosition","setScrollPosition","navbarMenuRef","navbarDimensions","navBottom","bottom","offsetTop","Navbar","expand","Brand","Toggle","aria-controls","Collapse","Nav","Link","Leadership","backgroundColor","Carousel","Item","Caption","ExperienceCard","lg","Experience","company","Home","App","titleRef","basename","path","exact","component","location","hostname","match","ReactDOM","render","getElementById","navigator","serviceWorker","ready","then","registration","unregister","module","exports"],"mappings":"uMACMA,GACE,EAIFC,EAAW,CACfC,eAAgB,uDAEhBC,UAAW,UACXC,WAAY,GACZC,SAAU,QACVC,QAAQ,4CACRC,MAAO,CACL,CACEC,MAAO,YACPC,IAAK,mCAEP,CACED,MAAO,cACPC,IAAK,8CAEP,CACED,MAAO,aACPC,IAAK,sCAGTC,UAAWC,EAAQ,IACnBC,gBAAiB,IACjBC,eAAgB,IAChBC,kBAAmB,sBACnBC,MAAO,qBAiBHC,EAAQ,CACZC,MAAM,EACNC,QAAS,WACTR,UAAWC,EAAQ,IACnBC,gBAAiB,IACjBC,eAAgB,IAChBP,QACE,2HACFa,OAAQ,oGAQJC,EAAQ,CACZH,MAAM,EACNC,QAAS,kBACTG,eAAgB,eAChBC,YAAa,EACbC,cAAe,IAIXC,EAAa,CACjBP,MAAM,EACNC,QAAS,aACTZ,QACE,6lBACFmB,OAAQ,CACN,CACEC,IAAKf,EAAQ,IACbgB,MAAO,oBACPC,UAAW,8DAEb,CACEF,IAAKf,EAAQ,IACbgB,MAAO,qBACPC,UAAW,+DAGfC,UAAW,CACTC,MAAM,MACNC,OAAO,QAuCLC,EAAc,CAClBf,MAAM,EACNC,QAAS,cACTe,KAAM,CACJ,CACEC,KAAM,2BACNC,YAAaxB,EAAQ,IACrByB,KAAM,8B,wCCpEGC,EAjEEC,IAAMC,YACrB,WAAmGC,GAAW,IAA3GC,EAA0G,EAA1GA,SAAUC,EAAgG,EAAhGA,MAAOpC,EAAyF,EAAzFA,QAASC,EAAgF,EAAh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J,gBACrBgC,aAAc5B,EAAMH,eACpBM,OAAQH,EAAMG,SAIhBa,EAAYf,MACV,kBAAC,EAAD,CAAYe,YAAaA,IAG5BZ,EAAMH,MACL,kBAAC,EAAD,CACEC,QAASE,EAAMF,QACfsH,SAAUpH,EAAMC,eAChB4E,OAAQ7E,EAAME,YACdmH,QAASrH,EAAMG,gBAGlBC,EAAWP,MACV,kBAAC,EAAD,CACEC,QAASM,EAAWN,QACpBZ,QAASkB,EAAWlB,QACpBoB,IAAKF,EAAWC,OAChBI,UAAWL,EAAWK,gBAoBjBoM,GAbH,WACV,IAAMC,EAAW5L,IAAMuI,SAEvB,OACE,kBAAC,IAAD,CAAesD,SAAmC,KAC/CnO,GAAe,kBAAC,EAAD,CAAQwC,IAAK0L,IAC7B,kBAAC,IAAD,CAAOE,KAAK,IAAIC,OAAK,EAACC,UAAW,kBAAM,kBAACN,GAAD,CAAMxL,IAAK0L,SCpEpCzJ,QACW,cAA7B+E,OAAO+E,SAASC,UAEe,UAA7BhF,OAAO+E,SAASC,UAEhBhF,OAAO+E,SAASC,SAASC,MACvB,2DCZNC,IAASC,OAAO,kBAAC,GAAD,MAASzE,SAAS0E,eAAe,SD2H3C,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMC,MAAK,SAAAC,GACjCA,EAAaC,iB,mBEnInBC,EAAOC,QAAU,IAA0B,qC,6ECA3CD,EAAOC,QAAU,IAA0B,yC","file":"static/js/main.9444d682.chunk.js","sourcesContent":["// Navigation Bar SECTION\nconst navBar = {\n show: false,\n};\n\n// Main Body SECTION\nconst mainBody = {\n gradientColors: \"#342F2E, #000000, #ff9b11, #000000, #9b59b6, #000000\",\n // gradientColors: \"#342F2E, #00000, #1ad7c0 #9b59b6, #ff7f7f, #ecf0f1\",\n firstName: \"Darshit\",\n middleName: \"\",\n lastName: \"Doshi\",\n message: ` Software Engineer | Bolt Financial, Inc.`,\n icons: [\n {\n image: \"fa-github\",\n url: \"https://github.com/darshitdoshi\",\n },\n {\n image: \"fa-linkedin\",\n url: \"https://www.linkedin.com/in/darshit-doshi/\",\n },\n {\n image: \"fa-twitter\",\n url: \"https://www.twitter.com/ddos1994/\",\n },\n ],\n imageLink: require(\"../editable-stuff/darshit.png\"),\n imageSizeHeight: 300,\n imageSizeWidth: 275,\n getInTouchMessage: \"Feel free to say hi\",\n email: \"mail@darshitd.com\",\n};\n\n// ABOUT SECTION\n// If you want the About Section to show a profile picture you can fill the profilePictureLink either with:\n//a) your Instagram username\n// i.e:profilePictureLink:\"johnDoe123\",\n//b) a link to an hosted image\n// i.e:profilePictureLink:\"www.picturesonline.com/johnDoeFancyAvatar.jpg\",\n//c) image in \"editable-stuff\" directory and use require(\"\") to import here,\n// i.e: profilePictureLink: require(\"../editable-stuff/hashirshoaeb.png\"),\n//d) If you do not want any picture to be displayed, just leave it empty :)\n// i.e: profilePictureLink: \"\",\n// For Resume either provide link to your resume or import from \"editable-stuff\" directory\n// i.e resume: require(\"../editable-stuff/resume.pdf\"),\n// resume: \"https://docs.google.com/document/d/13_PWdhThMr6roxb-UFiJj4YAFOj8e_bv3Vx9UHQdyBQ/edit?usp=sharing\",\n\nconst about = {\n show: false,\n heading: \"About Me\",\n imageLink: require(\"../editable-stuff/darshit.png\"),\n imageSizeHeight: 300,\n imageSizeWidth: 275,\n message:\n \"My name is Darshit Doshi. I’m a graduate of 2019 from University of Pennsylvania with a degree in Computer Science.\",\n resume: \"https://docs.google.com/document/d/13_PWdhThMr6roxb-UFiJj4YAFOj8e_bv3Vx9UHQdyBQ/edit?usp=sharing\",\n};\n\n// PROJECTS SECTION\n// Setting up project lenght will automatically fetch your that number of recently updated projects, or you can set this field 0 to show none.\n// i.e: reposLength: 0,\n// If you want to display specfic projects, add the repository names,\n// i.e [\"repository-1\", \"repo-2\"]\nconst repos = {\n show: false,\n heading: \"Recent Projects\",\n gitHubUsername: \"darshitdoshi\", //i.e.\"johnDoe12Gh\"\n reposLength: 0,\n specificRepos: [],\n};\n\n// Leadership SECTION\nconst leadership = {\n show: false,\n heading: \"Leadership\",\n message:\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae auctor eu augue ut lectus arcu bibendum at varius. Libero justo laoreet sit amet cursus sit amet. Imperdiet dui accumsan sit amet nulla facilisi morbi. At auctor urna nunc id. Iaculis urna id volutpat lacus laoreet non curabitur gravida. Et magnis dis parturient montes nascetur ridiculus mus mauris. In nisl nisi scelerisque eu ultrices vitae auctor. Mattis nunc sed blandit libero volutpat sed cras ornare. Pulvinar neque laoreet suspendisse interdum consectetur libero.\",\n images: [\n { \n img: require(\"../editable-stuff/darshit.png\"), \n label: \"First slide label\", \n paragraph: \"Nulla vitae elit libero, a pharetra augue mollis interdum.\" \n },\n { \n img: require(\"../editable-stuff/darshit.png\"), \n label: \"Second slide label\", \n paragraph: \"Nulla vitae elit libero, a pharetra augue mollis interdum.\" \n },\n ],\n imageSize: {\n width:\"615\",\n height:\"450\"\n }\n};\n\n// SKILLS SECTION\nconst skills = {\n show: false,\n heading: \"Skills\",\n hardSkills: [\n { name: \"Python\", value: 90 },\n { name: \"SQL\", value: 75 },\n { name: \"Data Structures\", value: 85 },\n { name: \"C/C++\", value: 65 },\n { name: \"JavaScript\", value: 90 },\n { name: \"React\", value: 65 },\n { name: \"HTML/CSS\", value: 55 },\n { name: \"C#\", value: 80 },\n ],\n softSkills: [\n { name: \"Goal-Oriented\", value: 80 },\n { name: \"Collaboration\", value: 90 },\n { name: \"Positivity\", value: 75 },\n { name: \"Adaptability\", value: 85 },\n { name: \"Problem Solving\", value: 75 },\n { name: \"Empathy\", value: 90 },\n { name: \"Organization\", value: 70 },\n { name: \"Creativity\", value: 90 },\n ],\n};\n\n// GET IN TOUCH SECTION\nconst getInTouch = {\n show: false,\n heading: \"Get In Touch\",\n message:\n \"Feel free to say hi\",\n email: \"mail@darshitd.com\",\n};\n\nconst experiences = {\n show: false,\n heading: \"Experiences\",\n data: [\n {\n role: 'Software Engineer @ Bolt',\n companylogo: require('../assets/img/bolt-logo.jpeg'),\n date: 'July 2019 – Present',\n },\n ]\n}\n\n// Blog SECTION\n// const blog = {\n// show: false,\n// };\n\nexport { navBar, mainBody, about, repos, skills, leadership, getInTouch, experiences };\n","import React from \"react\";\nimport Typist from \"react-typist\";\nimport Container from \"react-bootstrap/Container\";\nimport Jumbotron from \"react-bootstrap/Jumbotron\";\n\nconst MainBody = React.forwardRef(\n ({ gradient, title, message, icons, link, imgSizeWidth, imgSizeHeight, getInTouchMessage, email }, ref, ) => {\n const [profilePicUrl, setProfilePicUrl] = React.useState(\"\");\n\n React.useEffect(() => {\n setProfilePicUrl(link);\n }, [link]);\n\n return (\n <>\n \n \n
\n {\n \n }\n
\n

\n {title}\n

\n \n {\" \"}\n {message}\n \n
\n {icons.map((icon, index) => (\n \n \n \n ))}\n
\n\n
\n

\n {getInTouchMessage}, {email}.\n

\n
\n\n
\n \n \n );\n }\n);\n\nexport default MainBody;\n","import React from \"react\";\n\nimport axios from \"axios\";\n\nconst pictureLinkRegex = new RegExp(\n /[(http(s)?):(www.)?a-zA-Z0-9@:%._+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/\n);\n\nconst AboutMe = ({ heading, message, link, imgSizeWidth, imgSizeHeight, resume }) => {\n const [profilePicUrl, setProfilePicUrl] = React.useState(\"\");\n const [showPic, setShowPic] = React.useState(Boolean(link));\n\n React.useEffect(() => {\n if (link && !pictureLinkRegex.test(link)) {\n handleRequest();\n } else {\n setProfilePicUrl(link);\n }\n }, [link]);\n\n const handleRequest = async () => {\n const instaLink = \"https://www.instagram.com/\";\n const instaQuery = \"/?__a=1\";\n try {\n const response = await axios.get(instaLink + link + instaQuery);\n setProfilePicUrl(response.data.graphql.user.profile_pic_url_hd);\n } catch (error) {\n setShowPic(false);\n console.error(error.message);\n }\n };\n\n return (\n
\n
\n
\n
\n {showPic && (\n \n )}\n
\n\n
\n

{heading}

\n

{message}

\n {resume && (\n

\n \n Resume\n \n

\n )}\n
\n
\n
\n
\n );\n};\n\nexport default AboutMe;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport Col from \"react-bootstrap/Col\";\nimport Card from \"react-bootstrap/Card\";\nimport Skeleton from \"react-loading-skeleton\";\nimport axios from \"axios\";\n\nconst ProjectCard = ({ value }) => {\n const {\n name,\n description,\n svn_url,\n stargazers_count,\n languages_url,\n pushed_at,\n } = value;\n return (\n \n \n \n {name || } \n {(!description)?\"\":description || } \n {svn_url ? : }\n
\n {languages_url ? (\n \n ) : (\n \n )}\n {value ? (\n \n ) : (\n \n )}\n
\n
\n \n );\n};\n\nconst CardButtons = ({ svn_url }) => {\n return (\n <>\n \n Clone Project\n \n \n Repo\n \n \n );\n};\n\nconst Language = ({ languages_url, repo_url }) => {\n const [data, setData] = useState([]);\n\n const handleRequest = useCallback(async () => {\n try {\n const response = await axios.get(languages_url);\n return setData(response.data);\n } catch (error) {\n console.error(error.message);\n }\n }, [languages_url]);\n\n useEffect(() => {\n handleRequest();\n }, [handleRequest]);\n\n const array = [];\n let total_count = 0;\n for (let index in data) {\n array.push(index);\n total_count += data[index];\n }\n\n return (\n
\n Languages:{\" \"}\n {array.length\n ? array.map((language) => (\n \n {language}:{\" \"}\n {Math.trunc((data[language] / total_count) * 1000) / 10} %\n \n ))\n : \"code yet to be deployed.\"}\n
\n );\n};\n\nconst CardFooter = ({ star_count, repo_url, pushed_at }) => {\n const [updated_at, setUpdated_at] = useState(\"0 mints\");\n\n const handleUpdatetime = useCallback(() => {\n const date = new Date(pushed_at);\n const nowdate = new Date();\n const diff = nowdate.getTime() - date.getTime();\n const hours = Math.trunc(diff / 1000 / 60 / 60);\n\n if (hours < 24) {\n if (hours < 1) return setUpdated_at(\"just now\");\n let measurement = hours === 1 ? \"hour\" : \"hours\";\n return setUpdated_at(`${hours.toString()} ${measurement} ago`);\n } else {\n const options = { day: \"numeric\", month: \"long\", year: \"numeric\" };\n const time = new Intl.DateTimeFormat(\"en-US\", options).format(date);\n return setUpdated_at(`on ${time}`);\n }\n }, [pushed_at]);\n\n useEffect(() => {\n handleUpdatetime();\n }, [handleUpdatetime]);\n\n return (\n

\n \n \n Stars{\" \"}\n {star_count}\n \n \n Updated {updated_at}\n

\n );\n};\n\nexport default ProjectCard;\n","import React, { useState, useEffect, useCallback } from \"react\";\nimport Container from \"react-bootstrap/Container\";\nimport Jumbotron from \"react-bootstrap/Jumbotron\";\nimport Row from \"react-bootstrap/Row\";\nimport ProjectCard from \"./ProjectCard\";\nimport axios from \"axios\";\n\nconst dummyProject = {\n name: null,\n description: null,\n svn_url: null,\n stargazers_count: null,\n languages_url: null,\n pushed_at: null,\n};\nconst API = \"https://api.github.com\";\n// const gitHubQuery = \"/repos?sort=updated&direction=desc\";\n// const specficQuerry = \"https://api.github.com/repos/hashirshoaeb/\";\n\nconst Project = ({ heading, username, length, specfic }) => {\n const allReposAPI = `${API}/users/${username}/repos?sort=updated&direction=desc`;\n const specficReposAPI = `${API}/repos/${username}`;\n const dummyProjectsArr = new Array(length + specfic.length).fill(\n dummyProject\n );\n\n const [projectsArray, setProjectsArray] = useState([]);\n\n const fetchRepos = useCallback(async () => {\n let repoList = [];\n try {\n // getting all repos\n const response = await axios.get(allReposAPI);\n // slicing to the length\n repoList = [...response.data.slice(0, length)];\n // adding specified repos\n try {\n for (let repoName of specfic) {\n const response = await axios.get(`${specficReposAPI}/${repoName}`);\n repoList.push(response.data);\n }\n } catch (error) {\n console.error(error.message);\n }\n // setting projectArray\n // TODO: remove the duplication.\n setProjectsArray(repoList);\n } catch (error) {\n console.error(error.message);\n }\n }, [allReposAPI, length, specfic, specficReposAPI]);\n\n useEffect(() => {\n fetchRepos();\n }, [fetchRepos]);\n\n return (\n \n \n

{heading}

\n \n {projectsArray.length\n ? projectsArray.map((project, index) => (\n \n ))\n : dummyProjectsArr.map((project, index) => (\n \n ))}\n \n
\n
\n );\n};\n\nexport default Project;\n","import { useLayoutEffect, useEffect } from \"react\"\n\nexport const useIsomorphicLayoutEffect =\n typeof window !== \"undefined\" ? useLayoutEffect : useEffect\n","/* eslint-disable react-hooks/exhaustive-deps */\nimport { useRef } from \"react\";\nimport { useIsomorphicLayoutEffect } from \"./useIsomorphicLayoutEffect\";\n\nconst isBrowser = typeof window !== `undefined`;\n\nfunction getScrollPosition({ element, useWindow }) {\n if (!isBrowser) return { x: 0, y: 0 };\n\n const target = element ? element.current : document.body;\n const position = target.getBoundingClientRect();\n\n return useWindow\n ? { x: window.scrollX, y: window.scrollY }\n : { x: position.left, y: position.top };\n}\n\nexport function useScrollPosition(effect, deps, element, useWindow, wait) {\n const position = useRef(getScrollPosition({ useWindow }));\n\n let throttleTimeout = null;\n\n const callBack = () => {\n const currPos = getScrollPosition({ element, useWindow });\n effect({ prevPos: position.current, currPos });\n position.current = currPos;\n throttleTimeout = null;\n };\n\n useIsomorphicLayoutEffect(() => {\n if (!isBrowser) {\n return;\n }\n\n const handleScroll = () => {\n if (wait) {\n if (throttleTimeout === null) {\n throttleTimeout = setTimeout(callBack, wait);\n }\n } else {\n callBack();\n }\n };\n\n window.addEventListener(\"scroll\", handleScroll);\n\n return () => {\n window.removeEventListener(\"scroll\", handleScroll);\n throttleTimeout && clearTimeout(throttleTimeout);\n };\n }, deps);\n}\n\nuseScrollPosition.defaultProps = {\n deps: [],\n element: false,\n useWindow: false,\n wait: null,\n};\n","import React from \"react\";\n\nconst useResizeObserver = (ref) => {\n const [dimensions, setDimensions] = React.useState(null);\n React.useEffect(() => {\n const observeTarget = ref.current;\n const resizeObserver = new ResizeObserver((entries) => {\n entries.forEach((entry) => {\n setDimensions(entry.contentRect);\n });\n });\n resizeObserver.observe(observeTarget);\n return () => {\n resizeObserver.unobserve(observeTarget);\n };\n }, [ref]);\n return dimensions;\n};\n\nexport default useResizeObserver;\n","import React, { useState } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { useScrollPosition } from \"../hooks/useScrollPosition\";\nimport useResizeObserver from \"../hooks/useResizeObserver\";\nimport Navbar from \"react-bootstrap/Navbar\";\nimport Nav from \"react-bootstrap/Nav\";\nimport { mainBody, repos, about, skills } from \"../editable-stuff/config.js\";\n\nconst Navigation = React.forwardRef((props, ref) => {\n // const { showBlog, FirstName } = config;\n const [isTop, setIsTop] = useState(true);\n const [scrollPosition, setScrollPosition] = useState(0);\n const navbarMenuRef = React.useRef();\n const navbarDimensions = useResizeObserver(navbarMenuRef);\n const navBottom = navbarDimensions ? navbarDimensions.bottom : 0;\n useScrollPosition(\n ({ prevPos, currPos }) => {\n if (!navbarDimensions) return;\n currPos.y + ref.current.offsetTop - navbarDimensions.bottom > 2\n ? setIsTop(true)\n : setIsTop(false);\n setScrollPosition(currPos.y);\n },\n [navBottom]\n );\n\n React.useEffect(() => {\n if (!navbarDimensions) return;\n navBottom - scrollPosition >= ref.current.offsetTop\n ? setIsTop(false)\n : setIsTop(true);\n }, [navBottom, navbarDimensions, ref, scrollPosition]);\n\n return (\n \n \n {`<${mainBody.firstName} />`}\n \n \n \n \n \n \n );\n});\n\nexport default Navigation;\n","import React, { useState, useEffect, Profiler } from \"react\";\nimport Carousel from \"react-bootstrap/Carousel\";\n\nconst Leadership = ({ heading, message, img, imageSize }) => {\n return (\n \n
\n

{heading}

\n
\n
\n

{message}

\n
\n
\n \n {img.map((value, index) => {\n return (\n \n \n \n

{value.label}

\n

\n {value.paragraph}\n

\n
\n
\n );\n })}\n
\n
\n
\n
\n \n );\n};\n\nexport default Leadership;\n","import React from 'react';\n\nimport { \n Col,\n Card\n } from \"react-bootstrap\";\nconst ExperienceCard = ({data}) => {\n return ( \n \n
\n \"\"/\n

\n {data.role}\n
\n {data.date}\n

\n \n
\n \n );\n}\n \nexport default ExperienceCard;","import React from 'react';\nimport ExperienceCard from \"./ExperienceCard\";\nimport {\n Container,\n Row,\n Jumbotron\n} from \"react-bootstrap\";\n\nconst Experience = ({experiences}) => {\n return ( \n
\n \n \n

\n {experiences.heading}\n

\n \n {\n experiences.data.map(data => {\n return \n })\n }\n \n
\n
\n
\n );\n}\n \nexport default Experience;","import React from \"react\";\nimport { BrowserRouter, Route } from \"react-router-dom\";\nimport {\n navBar,\n mainBody,\n about,\n repos,\n leadership,\n skills,\n getInTouch,\n experiences\n} from \"./editable-stuff/config.js\";\nimport MainBody from \"./components/home/MainBody\";\nimport AboutMe from \"./components/home/AboutMe\";\nimport Project from \"./components/home/Project\";\nimport Footer from \"./components/Footer\";\nimport Navbar from \"./components/Navbar\";\n// import { Blog } from \"./components/blog/Blog\";\n// import BlogPost from \"./components/blog/BlogPost\";\nimport GetInTouch from \"./components/home/GetInTouch.jsx\";\nimport Leadership from \"./components/home/Leadership.jsx\";\n\nimport Experience from \"./components/home/Experience\";\n\nconst Home = React.forwardRef((props, ref) => {\n return (\n <>\n \n {about.show && (\n \n )}\n {\n experiences.show && (\n \n )\n }\n {repos.show && (\n \n )}\n {leadership.show && (\n \n )}\n \n );\n});\n\nconst App = () => {\n const titleRef = React.useRef();\n\n return (\n \n {navBar.show && }\n } />\n {/* {false && }\n {false && } */}\n \n );\n};\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === \"localhost\" ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === \"[::1]\" ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === \"production\" && \"serviceWorker\" in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener(\"load\", () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let\"s check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n \"This web app is being served cache-first by a service \" +\n \"worker. To learn more, visit https://bit.ly/CRA-PWA\"\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === \"installed\") {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n \"New content is available and will be used when all \" +\n \"tabs for this page are closed. See https://bit.ly/CRA-PWA.\"\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log(\"Content is cached for offline use.\");\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error(\"Error during service worker registration:\", error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can\"t reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get(\"content-type\");\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf(\"javascript\") === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n \"No internet connection found. App is running in offline mode.\"\n );\n });\n}\n\nexport function unregister() {\n if (\"serviceWorker\" in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./scss/custom.scss\";\nimport App from \"./App\";\nimport * as serviceWorker from \"./serviceWorker\";\n\nReactDOM.render(, document.getElementById(\"root\"));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","module.exports = __webpack_public_path__ + \"static/media/darshit.b175827f.png\";","module.exports = __webpack_public_path__ + \"static/media/bolt-logo.90b9b897.jpeg\";"],"sourceRoot":""}