Skip to content

Commit

Permalink
embedded systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Jwiggiff committed Dec 21, 2023
1 parent 2d2e45b commit 354a102
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions src/Landing.jsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
import { useEffect, useRef } from "react";

export default function Landing({ onScrollIn }) {
const backdropRef = useRef(null);
const pRef = useRef(null);

useEffect(() => {
backdropRef.current.children.forEach((child) => {
child.onmouseenter = () => child.classList.add("animating");
child.onanimationend = () => child.classList.remove("animating");
});
}, []);

return (
<section className="landing" id="landing">
<h1>
<div className="backdrop" ref={backdropRef}>
<span>J</span>
<span>O</span>
<span>S</span>
<span>H</span>
</div>
<span>Josh Friedman</span>
</h1>
<p>
<span>👋</span> Hey! I'm Josh, a full stack developer based in Toronto. I'm currently
studying Computer Engineering at Queen's University in Kingston.
</p>
</section>
);
}
import { useEffect, useRef } from "react";

export default function Landing({ onScrollIn }) {
const backdropRef = useRef(null);
const pRef = useRef(null);

useEffect(() => {
backdropRef.current.children.forEach((child) => {
child.onmouseenter = () => child.classList.add("animating");
child.onanimationend = () => child.classList.remove("animating");
});
}, []);

return (
<section className="landing" id="landing">
<h1>
<div className="backdrop" ref={backdropRef}>
<span>J</span>
<span>O</span>
<span>S</span>
<span>H</span>
</div>
<span>Josh Friedman</span>
</h1>
<p>
<span>👋</span> Hey! I'm Josh, a full stack & embedded systems engineer based in Toronto. I'm currently
studying Computer Engineering at Queen's University in Kingston.
</p>
</section>
);
}

0 comments on commit 354a102

Please sign in to comment.