fix: Add Back button to Pricing page#398
Conversation
travis
left a comment
There was a problem hiding this comment.
there's a lot of unnecessary reformatting, please remove it to better highlight the change you'd like to make.
if you'd like to reformat the code, please introduce a new PR proposing the changes you'd like to make
|
Sorry for the inconvenience caused by the unnecessary reformatting from the Prettier lint. I’ve cleaned it up, and the PR is now ready for review. |
Dhruv-Varshney-developer
left a comment
There was a problem hiding this comment.
I noticed the lockfile shows webpack downgrades from 5.99.6 to 5.88.0 across multiple entries. Can you use the latest version of pnpm and regenerate the lockfile?
| <Logo /> | ||
| </div> | ||
| <Link | ||
| href="https://storacha.console.network/logout" |
There was a problem hiding this comment.
this URL should be different per-environment - in fact, does it even need to be an absolute URL? why not use a relative URL here?
| href="https://storacha.console.network/logout" | ||
| className="absolute top-4 right-4 bg-hot-red text-white px-4 py-2 rounded-full shadow-md hover:border-white transition" | ||
| > | ||
| ← Back |
There was a problem hiding this comment.
"Back" doesn't feel like it gives the user enough context here - I think it would be better to have this button say "Nevermind, Log Me Out" or something along those lines - I get that the only sensible thing to do if they want to leave this page is to log out, but "Back" makes it sound like we're going to do something else and I want to be super clear with the user about what they're doing.

Description
This PR introduces a Back button to the top-right corner of the subscription (pricing) page.
Linkcomponent.https://storacha.console.network/logoutabsolute top-4 right-4).bg-hot-red,text-white, rounded-full corners, and hover state for better UX.Motivation
This change enhances usability, giving users a clear and accessible way to exit the subscription flow.
Fixes: #353