hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
206 stars 263 forks source link

[FEATURE] 🗺️ User Dashboard & Products Pages > Dashboard > implement a reusable linear gradient background component #27

Closed Manlikevee closed 3 months ago

Manlikevee commented 3 months ago

Figma Link-

### Description Develop a reusable Linear Gradient Generator component. This component will be used to create and apply linear gradient backgrounds to various elements on the website. The Linear Gradient Generator should be flexible, allowing customization of gradient colors, directions, and stops. It should include the following features:

Acceptance Criteria

The Linear Gradient Generator component is implemented according to the design. The component should allow customization of gradient colors, directions, and stops. Ensure the component is fully responsive and works well across different screen sizes. The generated gradients should be smooth and visually appealing.

### Requirements The component should receive the following props: colors: An array of color values to be used in the gradient. direction: The direction of the gradient (e.g., "to right", "to bottom", "45deg"). stops: An optional array of stop positions for each color in the gradient.

Tasks

Sales

oghene-ella commented 3 months ago

there should be a dealine for this. like friday 10am