Skip to content

Commit

Permalink
add animation and transition to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
bronnie313 committed Nov 7, 2023
1 parent 12dfcf3 commit 4c5e76f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.App {
height: 100vh;
padding: 0;
scroll-behavior: smooth;
}

* {
Expand Down Expand Up @@ -50,6 +51,33 @@ ul {
position: absolute;
width: 30%;
z-index: -9999;
opacity: 0.1;
animation: fadeInOut 10s ease-in-out infinite, drift 8s linear infinite;
}

@keyframes fadeInOut {
0%,
100% {
opacity: 0.1;
}

50% {
opacity: 2;
}
}

@keyframes drift {
0% {
transform: translate(0, 0);
}

50% {
transform: translate(20px, 10px);
}

100% {
transform: translate(0, 0);
}
}

.home-background-pic2 {
Expand Down
1 change: 1 addition & 0 deletions src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const Header = () => {
</li>
</ul>
<button type="button" className="btn btn-outline-success btn-sm" aria-label="Download CV"><a className="cv" href="https://docs.google.com/document/d/1BNoFCStYQbHl8Bwq073pdJt1owdG0XDF3TrVxV-KHgE/edit?usp=sharing">Download CV</a></button>
{/* <hr className="header-line" /> */}
</nav>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/data/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const projects = [
{
id: 5,
title: 'Space Traveller',
description: 'pace Traveler offers the users a8 chance to book a Rocket through The Rockets section where a list of rockets available is displayed. Users can book each rocket by clicking the reservation button or cancel the previously made booking',
description: "Space Traveler offers users a chance to book a rocket through the 'The Rockets' section, where a list of available rockets is displayed. Users can book each rocket by clicking the reservation button or cancel the previously made booking",
image: './images/space.PNG',
link: 'https://space-traveler-hmq1.onrender.com/',
github: 'https://github.com/bronnie313/space-traveler',
Expand Down

0 comments on commit 4c5e76f

Please sign in to comment.