{"version":3,"sources":["Components/Header.js","Components/Footer.js","Components/About.js","Components/Resume.js","Components/Contact.js","Components/Testimonials.js","Components/Portfolio.js","App.js","registerServiceWorker.js","index.js"],"names":["Header","this","props","data","name","occupation","description","city","address","networks","social","map","network","key","href","url","className","id","title","Component","Footer","About","profilepic","image","bio","street","state","zip","phone","email","resumeDownload","resumedownload","src","alt","Resume","skillmessage","education","school","degree","graduated","work","company","years","skills","toLowerCase","style","width","level","Contact","useState","setName","subject","setSubject","setEmail","message","setMessage","console","log","htmlFor","value","type","defaultValue","size","onChange","e","target","cols","rows","onClick","preventDefault","window","open","Testimonials","testimonials","user","text","Portfolio","projects","projectImage","category","App","foo","resumeData","ReactGA","initialize","pageview","location","pathname","$","ajax","dataType","cache","success","setState","bind","error","xhr","status","err","alert","getResumeData","main","resume","portfolio","isLocalhost","Boolean","hostname","match","registerValidSW","swUrl","navigator","serviceWorker","register","then","registration","onupdatefound","installingWorker","installing","onstatechange","controller","catch","ReactDOM","render","document","getElementById","URL","process","origin","addEventListener","fetch","response","headers","get","indexOf","ready","unregister","reload","checkValidServiceWorker","registerServiceWorker"],"mappings":"gTAsDeA,G,uLAjDX,GAAGC,KAAKC,MAAMC,KACZ,IAAIC,EAAOH,KAAKC,MAAMC,KAAKC,KACvBC,EAAYJ,KAAKC,MAAMC,KAAKE,WAC5BC,EAAaL,KAAKC,MAAMC,KAAKG,YAC7BC,EAAMN,KAAKC,MAAMC,KAAKK,QAAQD,KAC9BE,EAAUR,KAAKC,MAAMC,KAAKO,OAAOC,KAAI,SAASC,GAChD,OAAO,wBAAIC,IAAKD,EAAQR,MAAM,uBAAGU,KAAMF,EAAQG,KAAK,uBAAGC,UAAWJ,EAAQI,iBAI9E,OACE,4BAAQC,GAAG,QAEX,yBAAKA,GAAG,YAEL,uBAAGD,UAAU,aAAaF,KAAK,YAAYI,MAAM,mBAAjD,mBACF,uBAAGF,UAAU,aAAaF,KAAK,QAAQI,MAAM,mBAA7C,mBAEE,wBAAID,GAA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AiB1F,QACfoF,UAAUC,cAAcQ,WAK1B/D,QAAQC,IAAI,6CAKZD,QAAQC,IAAI,4CAMrB+D,OAAM,SAAAzB,GACLvC,QAAQuC,MAAM,4CAA6CA,MChEjE0B,IAASC,OAAO,kBAAC,EAAD,MAASC,SAASC,eAAe,SDclC,WACb,GAA6C,kBAAmBd,UAAW,CAGzE,GADkB,IAAIe,IAAIC,GAAwBxD,OAAOgB,UAC3CyC,SAAWzD,OAAOgB,SAASyC,OAIvC,OAGFzD,OAAO0D,iBAAiB,QAAQ,WAC9B,IAAMnB,EAAK,UAAMiB,GAAN,sBAEPtB,EAwCV,SAAiCK,GAE/BoB,MAAMpB,GACHI,MAAK,SAAAiB,GAGkB,MAApBA,EAASjC,SACuD,IAAhEiC,EAASC,QAAQC,IAAI,gBAAgBC,QAAQ,cAG7CvB,UAAUC,cAAcuB,MAAMrB,MAAK,SAAAC,GACjCA,EAAaqB,aAAatB,MAAK,WAC7B3C,OAAOgB,SAASkD,eAKpB5B,EAAgBC,MAGnBW,OAAM,WACLhE,QAAQC,IACN,oEA5DAgF,CAAwB5B,GAGxBD,EAAgBC,OChCxB6B,K","file":"static/js/main.03c3b452.chunk.js","sourcesContent":["import React, { Component } from 'react';\n\nclass Header extends Component {\n render() {\n\n if(this.props.data){\n var name = this.props.data.name;\n var occupation= this.props.data.occupation;\n var description= this.props.data.description;\n var city= this.props.data.address.city;\n var networks= this.props.data.social.map(function(network){\n return
  • \n })\n }\n\n return (\n
    \n\n \n\n
    \n
    \n

    I'm {name}.

    \n

    I'm a {city} based {occupation}. {description}.

    \n
    \n
      \n {networks}\n
    \n
    \n
    \n\n

    \n \n

    \n\n
    \n );\n }\n}\n\nexport default Header;\n","import React, { Component } from 'react';\n\nclass Footer extends Component {\n render() {\n\n if(this.props.data){\n var networks= this.props.data.social.map(function(network){\n return
  • \n })\n }\n\n return (\n \n );\n }\n}\n\nexport default Footer;\n","import React, { Component } from 'react';\n\nclass About extends Component {\n render() {\n\n if(this.props.data){\n var name = this.props.data.name;\n var profilepic= \"images/\"+this.props.data.image;\n var bio = this.props.data.bio;\n var street = this.props.data.address.street;\n var city = this.props.data.address.city;\n var state = this.props.data.address.state;\n var zip = this.props.data.address.zip;\n var phone= this.props.data.phone;\n var email = this.props.data.email;\n var resumeDownload = this.props.data.resumedownload;\n }\n\n return (\n
    \n
    \n
    \n \"\"\n
    \n
    \n

    About Me

    \n\n

    {bio}

    \n
    \n
    \n

    Contact Details

    \n

    \n\t\t\t\t\t\t {name}
    \n\t\t\t\t\t\t {street}
    \n\t\t\t\t\t\t {city} {state}, {zip}\n

    \n\t\t\t\t\t\t {phone}
    \n {email}\n\t\t\t\t\t

    \n
    \n
    \n

    \n Download Resume\n

    \n
    \n
    \n
    \n
    \n\n
    \n );\n }\n}\n\nexport default About;\n","import React, { Component } from 'react';\n\nclass Resume extends Component {\n render() {\n\n if(this.props.data){\n var skillmessage = this.props.data.skillmessage;\n var education = this.props.data.education.map(function(education){\n return

    {education.school}

    \n

    {education.degree} {education.graduated}

    \n

    {education.description}

    \n })\n var work = this.props.data.work.map(function(work){\n return

    {work.company}

    \n

    {work.title} {work.years}

    \n

    {work.description}

    \n
    \n })\n var skills = this.props.data.skills.map(function(skills){\n var className = 'bar-expand '+skills.name.toLowerCase();\n return
  • {skills.name}
  • \n })\n }\n\n return (\n
    \n\n
    \n
    \n

    Education

    \n
    \n\n
    \n
    \n
    \n {education}\n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n

    Work

    \n
    \n\n
    \n {work}\n
    \n
    \n\n\n\n
    \n\n
    \n

    Skills

    \n
    \n\n
    \n\n

    {skillmessage}\n

    \n\n\t\t\t\t
    \n\t\t\t\t
      \n\t\t\t\t\t {skills}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n
    \n
    \n );\n }\n}\n\nexport default Resume;\n","import React, { useState } from 'react';\n\nconst Contact = ({ data }) => {\n const [url, setUrl] = useState('mailto:test@example.com?subject=subject&body=body');\n const [name, setName] = useState('');\n const [subject, setSubject] = useState('');\n const [email, setEmail] = useState('');\n const [message, setMessage] = useState('');\n\n console.log(data)\n\n const handleClick = (e) => {\n e.preventDefault();\n window.open(`mailto:${email}?subject=${subject}&body=${name}: ${message}`);\n }\n \n\n return (\n
    \n\n
    \n\n
    \n\n

    Get In Touch.

    \n\n
    \n\n
    \n\n

    {data?.message}

    \n\n
    \n\n
    \n\n
    \n
    \n\n
    \n\t\t\t\t\t
    \n\n
    \n\t\t\t\t\t\t \n\t\t\t\t\t\t setName(e.target.value)}/>\n
    \n\n
    \n\t\t\t\t\t\t \n\t\t\t\t\t\t setEmail(e.target.value)}/>\n
    \n\n
    \n\t\t\t\t\t\t \n\t\t\t\t\t\t setSubject(e.target.value)}/>\n
    \n\n
    \n \n \n
    \n\n
    \n \n \n \"\"\n \n
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n
    Error boy
    \n\t\t\t\t
    \n Your message was sent, thank you!
    \n\t\t\t\t
    \n
    \n\n\n \n
    \n
    \n );\n}\n\nexport default Contact;\n","import React, { Component } from 'react';\n\nclass Testimonials extends Component {\n render() {\n\n if(this.props.data){\n var testimonials = this.props.data.testimonials.map(function(testimonials){\n return
  • \n
    \n

    {testimonials.text}

    \n {testimonials.user}\n
    \n
  • \n })\n }\n\n return (\n
    \n
    \n
    \n\n
    \n

    Client Testimonials

    \n
    \n\n
    \n
      \n {testimonials}\n
    \n
    \n
    \n
    \n
    \n );\n }\n}\n\nexport default Testimonials;\n","import React, { Component } from 'react';\n\nclass Portfolio extends Component {\n render() {\n\n if(this.props.data){\n var projects = this.props.data.projects.map(function(projects){\n var projectImage = 'images/portfolio/'+projects.image;\n return
    \n
    \n \n {projects.title}\n
    \n
    \n
    {projects.title}
    \n

    {projects.category}

    \n
    \n
    \n
    \n
    \n
    \n
    \n })\n }\n\n return (\n
    \n\n
    \n\n
    \n\n

    Check Out Some of My Works.

    \n\n
    \n {projects}\n
    \n
    \n
    \n
    \n );\n }\n}\n\nexport default Portfolio;\n","import React, { Component } from 'react';\nimport ReactGA from 'react-ga';\nimport $ from 'jquery';\nimport './App.css';\nimport Header from './Components/Header';\nimport Footer from './Components/Footer';\nimport About from './Components/About';\nimport Resume from './Components/Resume';\nimport Contact from './Components/Contact';\nimport Testimonials from './Components/Testimonials';\nimport Portfolio from './Components/Portfolio';\n\nclass App extends Component {\n\n constructor(props){\n super(props);\n this.state = {\n foo: 'bar',\n resumeData: {}\n };\n\n ReactGA.initialize('UA-110570651-1');\n ReactGA.pageview(window.location.pathname);\n\n }\n\n getResumeData(){\n $.ajax({\n url:'/resumeData.json',\n dataType:'json',\n cache: false,\n success: function(data){\n this.setState({resumeData: data});\n }.bind(this),\n error: function(xhr, status, err){\n console.log(err);\n alert(err);\n }\n });\n }\n\n componentDidMount(){\n this.getResumeData();\n }\n\n render() {\n return (\n
    \n
    \n \n \n \n \n \n
    \n );\n }\n}\n\nexport default App;\n","// In production, we register a service worker to serve assets from local cache.\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 the \"N+1\" visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\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 default function register() {\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);\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/facebookincubator/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. Lets check if a service worker still exists or not.\n checkValidServiceWorker(swUrl);\n } else {\n // Is not local host. Just register service worker\n registerValidSW(swUrl);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and\n // the fresh content will have been added to the cache.\n // It's the perfect time to display a \"New content is\n // available; please refresh.\" message in your web app.\n console.log('New content is available; please refresh.');\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 }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl) {\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 if (\n response.status === 404 ||\n response.headers.get('content-type').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);\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 './index.css';\nimport App from './App';\nimport registerServiceWorker from './registerServiceWorker';\n\nReactDOM.render(, document.getElementById('root'));\nregisterServiceWorker();\n"],"sourceRoot":""}