Create your own rewards program for your restaurant.
The task is to create a website with the following UI:
The website should have the following functionality:
- Redirect to when clicked on Logo in the header and footer
- Redirect to when clicked on
Get appbutton in the header - Redirect to when clicked on the cards.
- When
Purchase as giftis toggled onApp exlusiverewards should not be showns
I have used the following technologies:
I chose to use nextjs because it is a framework for building react applications and it was the suggested framework by React.
And for the components I have used antd because it is a UI library for react which is easy to use and has a lot of components.
Install dependencies
npm install
# or
yarnFirst, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the application.
You can also visit the live website to see the application live.
