As a user I want a consistent top page banner for various pages of the website.
Description
As seen on the designs (link below), there are various pages that share a similar top banner which we'll call the "hero section". The hero section is the first view when a user lands on a page. We need one component that can be reused for every page that needs a top banner.
The contents of the hero will be passed as inputs to the component and will include:
1. A subtitle
2. A main tittle
3. An optional footer text
4. A background image link
The hero section needs to appear as shown below (but Image and text will vary based on page)
Your assignment is to implement the component to appear as above.
Create a reusable hero (Top page banner) component for the website
Quick links: Summary | Description | Technical-Analysis | Acceptance-Criteria
Summary
As a user I want a consistent top page banner for various pages of the website.
Description
As seen on the designs (link below), there are various pages that share a similar top banner which we'll call the "hero section". The hero section is the first view when a user lands on a page. We need one component that can be reused for every page that needs a top banner.
The contents of the hero will be passed as inputs to the component and will include:
The hero section needs to appear as shown below (but Image and text will vary based on page)
Your assignment is to implement the component to appear as above.
Please take note of all the design features
Link to full design:
Technical Analysis
This component will be created in libs/elements/layout
The name of the component will be "elewa-hero"
Acceptance Criteria