Closed AVGVSTVS96 closed 1 month ago
Latest commit: |
62cf04d
|
Status: | ✅ Deploy successful! |
Preview URL: | https://6775998d.astrosite-aid.pages.dev |
Branch Preview URL: | https://activelinkhighlight-bas-107.astrosite-aid.pages.dev |
Open the branch in Web Editor • VS Code • Insiders
Open Preview
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @AVGVSTVS96 and the rest of your teammates on Graphite
feat: Add isActiveLink utility function
isActiveLink
to thesrc/utils/isActiveLink.ts
file. This function is used to determine if a link is active based on the current path and the link's href. The function returns Tailwind CSS class names based on the result, which are then used to highlight the active linksfeat: Update
ReactHeader
component to useisActiveLink
utilityisActiveLink
utility to highlight page links if the page is active.feat: Update
ProjectsDropdown
component to useisActiveLink
utilityisActiveLink
utility to highlight page links if the page is active.