After discussing with a team member, it was decided that the toast component will only be used in one place this time, so we won't use toast ({ variant: "destructive" }) to display error message. If we need to use the toast component elsewhere in the future, we will refactor.
Assignee Checklist:
[x] The base branch is correct (no accidental merges)
[x] The branch name follows our branch naming rules
[x] The PR title follows our PR title rules
[x] My code follows our coding style
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings or errors in the console
Overview
Add card component in the components/ui folder based on the design on Figma.
Changes
Screenshots or videos
The images of toast in Figma
toast component
Notes
After discussing with a team member, it was decided that the toast component will only be used in one place this time, so we won't use
toast ({ variant: "destructive" })
to display error message. If we need to use the toast component elsewhere in the future, we will refactor.Assignee Checklist:
Reviewer Checklist: