-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update index hyperlinks, text decorations, menu button animation
- Loading branch information
Showing
11 changed files
with
111 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
- Created hyperlinks in the dates.json and implement them in the dates.js | ||
- Inser 3D hero above the about section (Three.js?) | ||
- Inser 3D hero in the art page (Three.js?) | ||
- Images on the web? | ||
- Hyperlinks for "Value" in the bio + also link somewhere at the bottom? | ||
- bio read more button expand+collapse animation for the text? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
function toggleMenu() { | ||
var menuContent = document.getElementById("menuContent"); | ||
var overlay = document.getElementById("pageOverlay"); | ||
var menuIcon = document.getElementById("menuIcon"); // Ensure this matches your icon's ID | ||
|
||
if (menuContent.classList.contains('active')) { | ||
menuContent.classList.remove('active'); | ||
overlay.style.display = "none"; | ||
menuIcon.src = "assets/images/hamburger-menu-open.png"; | ||
} else { | ||
menuContent.classList.add('active'); | ||
overlay.style.display = "block"; | ||
menuIcon.src = "assets/images/hamburger-menu-close.png"; | ||
} | ||
// Reduce opacity to start fade out | ||
menuIcon.style.opacity = 0; | ||
|
||
// Wait for fade out, then switch icon and fade in | ||
setTimeout(() => { | ||
if (menuContent.classList.contains('active')) { | ||
menuContent.classList.remove('active'); | ||
overlay.style.display = "none"; | ||
menuIcon.src = "assets/images/hamburger-menu-open.png"; | ||
} else { | ||
menuContent.classList.add('active'); | ||
overlay.style.display = "block"; | ||
menuIcon.src = "assets/images/hamburger-menu-close-D67DB3.png"; | ||
} | ||
// Fade icon back in | ||
menuIcon.style.opacity = 1; | ||
}, 150); // duration matches the CSS transition duration | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
File renamed without changes.
Oops, something went wrong.