WorkWise is a productivity app that helps users stay focused, manage their work, and improve efficiency. Customizable widgets and kanban boards make it easy to stay on track and be more productive.
Make a new file in the utils folder named Cards.json. In this file, make an array of Objects. The Objects should have the following keys.
id : (String)
category : (String)
tags : (An Array of Strings)
imgUrl : (String)
heading : (String)
desc : (String)
date : (String of format YYYY-MM-DD)
priority : (String)
details : (Leave as an empty String for now).
Make multiple such objects inside the array with random data.
Make a new component inside the components folder called Card.js. Fetch the data from the Cards.json file and display it using cards. Refer to the Figma design of the cards.
The final cards must look like the ones shown in the design. Make sure to display each field from the JSON file as shown in the design.
If the object does not have an imgUrl then don't display the image at all in the card.
Instructions
utils
folder namedCards.json
. In this file, make an array of Objects. The Objects should have the following keys.YYYY-MM-DD
)components
folder calledCard.js
. Fetch the data from theCards.json
file and display it using cards. Refer to the Figma design of the cards.imgUrl
then don't display the image at all in the card.Card Designs
Figma Design Link : Click Here