Transitioned to new domain

This commit is contained in:
Camerin Figueroa 2021-10-19 20:52:30 -04:00
parent 4cef257a24
commit 63f7650f1b
5 changed files with 17 additions and 10 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
.dccache

View File

@ -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 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 I went to Orange County Community College for my Associates Degree in Computer Science. You can find a few of my projects on my
<a href="https://github.com/RaspberryProgramming" target="_blank" rel="noreferrer"> Github</a> or look through a list in the <a href="https://github.com/RaspberryProgramming" target="_blank" rel="noreferrer"> Github</a> or look through a list in the
<Link to="/github"> Github Page</Link>. You can email me at <a href="mailto:camerin@camsprojects.online">camerin@camsprojects.online</a> <Link to="/github"> Github Page</Link>. You can email me at <a href="mailto:cam@camcodes.com">cam@camcodes.com</a>
</Card> </Card>
<div className="social"> <div className="social">

View File

@ -10,7 +10,7 @@ const Home = (props) => {
This website helps you access the projects that I've worked on. You can navigate 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, 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 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 <a href="mailto:camerin@camsprojects.online">camerin@camsprojects.online</a>. React/Redux and hosted over Vercel. You can email me at <a href="mailto:cam@camcodes.com">cam@camcodes.com</a>.
</div>; </div>;
return ( return (

View File

@ -54,12 +54,15 @@ class Intro extends React.Component {
// Wait 500 ms until the transition is finished // Wait 500 ms until the transition is finished
setTimeout(()=>{ setTimeout(()=>{
// Once timeout finishes, place topics in correct location without transition // 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({ this.setState({
prev: 'previous notrans', prev: 'previous notrans',
curr: 'current notrans', curr: 'current notrans',
prevLoc: this.state.prevLoc-1, // Move correct topics into necessary divs prevLoc: prevloc, // Move correct topics into necessary divs
currLoc: this.state.currLoc-1, currLoc: currloc,
nextLoc: this.state.nextLoc-1, nextLoc: nextloc,
}); });
// wait another 20 ms to // wait another 20 ms to
@ -82,12 +85,15 @@ class Intro extends React.Component {
// wait 500 ms before placing all topics into correct divs // wait 500 ms before placing all topics into correct divs
setTimeout(()=>{ setTimeout(()=>{
// move all topics into correct divs // 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({ this.setState({
curr: 'current notrans', curr: 'current notrans',
next: 'next notrans', next: 'next notrans',
prevLoc: this.state.prevLoc+1, prevLoc: prevloc, // Move correct topics into necessary divs
currLoc: this.state.currLoc+1, currLoc: currloc,
nextLoc: this.state.nextLoc+1, nextLoc: nextloc,
}); });
// wait 20ms and remove notrans // 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 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, 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 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 <a href="mailto:camerin@camsprojects.online">camerin@camsprojects.online</a>. React/Redux and hosted over Vercel. You can email me at <a href="mailto:cam@camcodes.com">cam@camcodes.com</a>.
</div> </div>
</Topic>, </Topic>,
<Topic title="Studied at Marist College" background="img/marist.webp"> <Topic title="Studied at Marist College" background="img/marist.webp">

View File

@ -17,7 +17,7 @@ const ContactModal = props => {
const onSubmit = (e) => { const onSubmit = (e) => {
e.preventDefault(); // Prevent default submit function 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 props.toggleContactModal(); // Close the contact modal
}; };