hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
208 stars 265 forks source link

[FIX] [FE: ANCHOR] [PRICING] Update Button Text to Display "Current Plan" After Successful Payment #1213

Open Tearsmith0 opened 3 months ago

Tearsmith0 commented 3 months ago

Description

Description:

After a successful payment, update the button text to display "Current Plan" rather than "Continue" to indicate the user's current plan. This change should help users easily identify their active plan without confusion.

Acceptance Criteria

Acceptance Criteria:

  1. Ensure that after a successful payment, the system detects the current plan of the user accurately.
  2. The button text should change to "Current Plan" if the user is viewing their active plan.
  3. The button text should remain as "Continue" for any other scenarios where applicable.
  4. Verify that the button text change does not affect the layout or functionality of the user interface.
  5. The updated button text should be clear and easily visible to users.
  6. Test the change across different devices and screen sizes to ensure consistency.
  7. Validate that the text update occurs only after a successful payment and correctly reflects the user's active plan

Links

| FIGMA LINK

Images

image

Feng-09 commented 3 months ago

I will work on this