Create a Custom Confirmation Component for Trip Deletion #5
Labels
frontend
good first issue
Good for newcomers
IWOC2025
for the iwoc competition
medium
nextjs
tailwindcss
Description
The current implementation for deleting a trip on the
/dashboard
page uses the default JavaScriptconfirm
dialog. We would like to replace this with a custom confirmation component for a better user experience. The new confirmation box should be visually appealing, reusable, and align with the overall theme of the application.The custom confirmation component will:
Current Version:
Task
confirm
, in the 'components' directory./dashboard
page for the trip deletion functionality.Requirements
confirm
for the delete button on the/dashboard
page (for reference, line number - 220 in app>dashboard>page.jsx).Notes
Submission
/dashboard
page uses the new component for trip deletion confirmation.We are excited to see your contributions!
The text was updated successfully, but these errors were encountered: