reactdevske-website
reactdevske-website copied to clipboard
Implement Hero Header Section
Depends on
- Logo Component #84
- Button Component #85
What feature are you adding?
Hero Header Section
Describe your issue
Requirements
- Create a component named
HeroHeaderin thecomponentsfolder that implements the screenshots below. - It should make use of the existing
Navbarcomponent - feel free to adjust theNavbarcomponent to match the requirements in this ticket. - The menu items are anchor links which should smoothly scroll to the relevant section when clicked.
- The sections do not need to exist for this ticket, only ensure that the links are correct.
- Reuse the
LogoandButtoncomponents. - Obtain the hero image from the Figma design. Use THIS VIDEO as a guide
- Include the component in
index.page.tsx. - Create a new test file in the
e2efolder namedhero-header.spec.tsand add a test that verifies that clicking each of the 5 links in the component navigates to the correct URLs.
SCREENSHOT
Desktop

Mobile

Acceptance Criteria
- [ ] When the "About Us" menu is clicked, the URL changes to
/#about-us. - [ ] When the "Events" menu is clicked, the URL changes to
/#events. - [ ] When the "Contact" menu is clicked, the URL changes to
/#contact-us. - [ ] When the "Join Community" button is clicked, the page opens
https://bit.ly/joinreactdevskein a new tab. - [ ] When the "Join ReactDevsKE" button is clicked, the page opens
https://bit.ly/joinreactdevskein a new tab. - [ ] The implementation should match the design - text content, typography, capitalization and spacing.
- [ ] The UI should be responsive and work well on both desktop and mobile viewports.
- [ ] The
hero-header.spec.tstest should pass on both Chrome, Firefox and Safari.
Hi @orama254 , please assign me this issue
Hey @devKiratu
Go ahead, remember to go through our contribution guidelines and also evaluate the acceptance criteria before submitting a pull request.
Happy hacking!!!