Skip to content

Commit

Permalink
feat: copywriting update
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfromyeg committed May 26, 2024
1 parent 9a48325 commit 0afe6d1
Show file tree
Hide file tree
Showing 2 changed files with 1,470 additions and 1,415 deletions.
50 changes: 25 additions & 25 deletions src/components/Homepage/Homepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ import Projects from "../Resume/Projects/Projects";
import Extracurriculars from "../Resume/Activities/Activities";

import Redirects from "../Redirects/Redirects";
import Footer from "../Footer/Footer"
import Footer from "../Footer/Footer";

import Logo from "../../../content/assets/mjd-logo-black.svg";
import { UNIVERSITY_YEAR_AS_STRING } from "../../data/Constants";

const Homepage: React.FC = (): ReactElement => {
const [index, setIndex] = useState(0);

const strings = [
"Michael DeMarco",
"an aspiring software developer",
`a UBC ${UNIVERSITY_YEAR_AS_STRING}`,
"a software engineer at Notion",
"passionate about teaching, mentorship, and research",
"excited to meet you!",
];

Expand All @@ -42,28 +41,29 @@ const Homepage: React.FC = (): ReactElement => {
<Links location={Locations.HOMEPAGE} />
<SEO title="Home" />
<div className="logo-text-wrapper">
<LogoComponent
alt="Michael's logo"
className="background-logo shadow"
/>
<h1 className="title-text">
Hi, {`I'm`}
<Typist
className="typist"
onTypingDone={onComplete}
stdTypingDelay={25}
key={index}
>
{`>`}{strings[index]}
<Typist.Backspace
count={strings[index].length}
delay={3000}
/>
</Typist>
</h1>
<LogoComponent
alt="Michael's logo"
className="background-logo shadow"
/>
<h1 className="title-text">
Hi, {`I'm`}
<Typist
className="typist"
onTypingDone={onComplete}
stdTypingDelay={25}
key={index}
>
{`>`}
{strings[index]}
<Typist.Backspace
count={strings[index].length}
delay={3000}
/>
</Typist>
</h1>
</div>
{/* <Arrow /> */}
<br /><br />
<br />
<br />
<Redirects />
<div className="resume">
<Education />
Expand Down
Loading

0 comments on commit 0afe6d1

Please sign in to comment.