Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Navigation.tsx #18

Open
ysh0305 opened this issue Oct 3, 2024 · 0 comments
Open

Implement Navigation.tsx #18

ysh0305 opened this issue Oct 3, 2024 · 0 comments
Assignees

Comments

@ysh0305
Copy link
Collaborator

ysh0305 commented Oct 3, 2024

image

MORE CHALLENGING ISSUE. WORK WITH QUIN IF YOU HAVE ANY QUESTION ON WHAT EACH LINE OF CODE DOES

Number of props: 0
Location: All Pages
Number of Images: 1, logo.webp
React Icon: Yes

Description: When doing this component please rely on the example, there should be a lot of copy and paste from the example. This component should include the logo on the left linked to the home page, all the tabs on the right linked to its corresponding pages and an blue underline. The tabs should be mapped using navigation.js an array that contains all tabs' name and their links (you will implement this). When the user hovers over the logo, the opacity should go down. When the user hovers over the tab, the text should turn brown. When the user select the tab, there should be a brown underline under the text, the text will stay brown, and should switch to the corresponding page. All components with click or hover transition should have duration implemented such as "duration-300" On mobile, the navbar should collapse into an icon. Check example

PATH:

  1. /src/components/Navigation.tsx
  2. /src/data/navigation.js (I forgot to create the file, so just create one yourself)

Example

@ysh0305 ysh0305 transferred this issue from acm-ucr/robosub-website Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants