Skip to content

Commit

Permalink
add pong animation
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamz12345 committed Jul 11, 2024
1 parent b5c2c6e commit ecff1b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Binary file added portfolio/src/Assets/0001-1200.mp4
Binary file not shown.
Binary file added portfolio/src/Assets/pong_animation0000-0120.mp4
Binary file not shown.
8 changes: 5 additions & 3 deletions portfolio/src/Pages/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "./Projects.css";
import myPhoto from "../Assets/placeholder_portrait4.png";
import pongSquare from "../Assets/pong_square_size.jpg";

import pongVideo from "../Assets/pong_animation0000-0120.mp4"
import renderPhoto from "../Assets/TT-SU2_700_samples_transparen_background.png";
import { NavLink } from "react-router-dom";

Expand All @@ -32,14 +33,15 @@ const Home = () => {
</NavLink>
</div>



<div className="homeDivOuter">

<div className="homeDivMid">
<NavLink to="/about">
<div className="homeDivInner">
<span className="boldTxt">About Me</span>
<span className="homePhotoTxt">CLick here to learn more about me.</span>
<span className="homePhotoTxt">Click here to learn more about me.</span>

</div>
</NavLink>
Expand All @@ -49,7 +51,7 @@ const Home = () => {
<NavLink to="/projects">
<div className="homeDivInner">
<span className="boldTxt">Projects</span>
<img src={pongSquare} alt="projectsPhoto" className="homePhoto"></img>
<video src={pongVideo} alt="projectsPhoto" className="homePhoto" video loop autoPlay muted />
</div>
</NavLink>
</div>
Expand All @@ -68,7 +70,7 @@ const Home = () => {
<NavLink to="/projects">
<div className="homeDivInner">
<span className="boldTxt">Contact</span>
<img src={pongSquare} alt="projectsPhoto" className="homePhoto"></img>
<video src={pongVideo} alt="projectsPhoto" className="homePhoto" video loop autoPlay muted />
</div>
</NavLink>
</div>
Expand Down

0 comments on commit ecff1b2

Please sign in to comment.