Closed avalucianelson closed 7 hours ago
Awesome work @avalucianelson! Very easy to understand all the changes you have done, and how they contribute to the project, great PR!
Prettier Check: It seems there are code style issues in src/app/_components/Navbar.tsx. Maybe try running npx prettier --write . to fix formatting automatically to ensure consistency across the codebase.
Gradient Issue: You mentioned the icons lack the same gradient as the Figma design. Experimenting with background-clip: text CSS property could help.
@FlaIespa I revisited this and now all the checks passed -- I think the issue you flagged with prettier should be resolved :) plz lmk! :)
Overall, LGTM! Here are a few points to consider:
Overall, LGTM! Here are a few points to consider:
- Each navigation item uses the same structure, so it might be helpful to create a separate NavItem component and import it here to reduce repetition.
- Agree with Flavia that we can handle rerouting to the correct pages later, so we can ignore it for now.
- Should we add the NavBar directly to the layout file, or continue importing it into individual pages? Something for us to consider.
- Lastly, I checked the responsiveness, and it looks a bit off on mobile devices. We might want to discuss with Saleh to confirm the expected behavior for phones. (See photo below for iPhone 14 Pro Max.)
I agree that we can introduce the navItems. Created issue https://github.com/ucey-star/ID8/issues/23 to keep track of this.
Description
I created the Navbar component based on our Figma designs. This component includes navigation links with icons and a gradient background. It is designed to be consistent across the website. It is not yet added to anybody's pages.
Type of Change
Testing Instructions
Please follow these steps to verify the changes. Let me know if you encounter any issues or have suggestions for improvements.
Screenshots (if applicable)
Here's the Navbar in Figma:
Here's the Navbar I made:
As you might notice, the icons don't have the same gradient in my code as they do in Figma. Me and all of my AI tools couldn't puzzle that one out -- if you can, that'd be incredible! But I think this works for now, so that we have a Navbar more similar to what we had in Figma. I think we now need to delete the "Header" component in the codebase right now, but I'm not sure (wanted to check before doing so).