diff --git a/.gitignore b/.gitignore index 4d29575..343c9dd 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +.dccache diff --git a/src/components/About.js b/src/components/About.js index dc01c58..d7e1f38 100644 --- a/src/components/About.js +++ b/src/components/About.js @@ -31,7 +31,7 @@ class About extends React.Component { I am a computer science student at Marist College in Poughkeepsie, NY. I'm closing in on my Bachelors Degree in Computer Science. I went to Orange County Community College for my Associates Degree in Computer Science. You can find a few of my projects on my Github or look through a list in the - Github Page. You can email me at camerin@camsprojects.online + Github Page. You can email me at cam@camcodes.com
diff --git a/src/components/Home.js b/src/components/Home.js index f35d515..55aee09 100644 --- a/src/components/Home.js +++ b/src/components/Home.js @@ -10,7 +10,7 @@ const Home = (props) => { This website helps you access the projects that I've worked on. You can navigate at the top to different locations in the site. Within you can find information about me, my github repositories, and some youtube videos I've posted. This website is coded with - React/Redux and hosted over Vercel. You can email me at camerin@camsprojects.online. + React/Redux and hosted over Vercel. You can email me at cam@camcodes.com.
; return ( diff --git a/src/components/Intro.js b/src/components/Intro.js index 84696e5..5d37ac4 100644 --- a/src/components/Intro.js +++ b/src/components/Intro.js @@ -54,12 +54,15 @@ class Intro extends React.Component { // Wait 500 ms until the transition is finished setTimeout(()=>{ // Once timeout finishes, place topics in correct location without transition + let prevloc = this.state.prevLoc-1; + let currloc = this.state.currLoc-1; + let nextloc = this.state.nextLoc-1; this.setState({ prev: 'previous notrans', curr: 'current notrans', - prevLoc: this.state.prevLoc-1, // Move correct topics into necessary divs - currLoc: this.state.currLoc-1, - nextLoc: this.state.nextLoc-1, + prevLoc: prevloc, // Move correct topics into necessary divs + currLoc: currloc, + nextLoc: nextloc, }); // wait another 20 ms to @@ -82,12 +85,15 @@ class Intro extends React.Component { // wait 500 ms before placing all topics into correct divs setTimeout(()=>{ // move all topics into correct divs + let prevloc = this.state.prevLoc+1; + let currloc = this.state.currLoc+1; + let nextloc = this.state.nextLoc+1; this.setState({ curr: 'current notrans', next: 'next notrans', - prevLoc: this.state.prevLoc+1, - currLoc: this.state.currLoc+1, - nextLoc: this.state.nextLoc+1, + prevLoc: prevloc, // Move correct topics into necessary divs + currLoc: currloc, + nextLoc: nextloc, }); // wait 20ms and remove notrans @@ -127,7 +133,7 @@ class Intro extends React.Component { This website helps you access the projects that I've worked on. You can navigate at the top to different locations in the site. Within you can find information about me, my github repositories, and some youtube videos I've posted. This website is coded with - React/Redux and hosted over Vercel. You can email me at camerin@camsprojects.online. + React/Redux and hosted over Vercel. You can email me at cam@camcodes.com. , diff --git a/src/components/subcomponents/ContactModal.js b/src/components/subcomponents/ContactModal.js index 3943325..f3daf3a 100644 --- a/src/components/subcomponents/ContactModal.js +++ b/src/components/subcomponents/ContactModal.js @@ -17,7 +17,7 @@ const ContactModal = props => { const onSubmit = (e) => { e.preventDefault(); // Prevent default submit function - window.open(`mailto:camerin@camsprojects.online?body=${props.body}`); // Open the message in user's email client + window.open(`mailto:cam@camcodes.com?body=${props.body}`); // Open the message in user's email client props.toggleContactModal(); // Close the contact modal };