forked from mrwyndham/fastpocket
feature - added purchase management for single payments
This commit is contained in:
parent
a166bf088a
commit
665bb33475
|
@ -165,12 +165,20 @@ function AccountContent({ user }: ManageSubscriptionProps) {
|
||||||
<p className="text-lg text-base-content mb-4">
|
<p className="text-lg text-base-content mb-4">
|
||||||
{"You haven’t upgraded your workflow yet"}
|
{"You haven’t upgraded your workflow yet"}
|
||||||
</p>
|
</p>
|
||||||
<button
|
<div className="flex flex-row gap-x-2">
|
||||||
onClick={() => router.push("/pricing")}
|
<button
|
||||||
className="px-10 py-2 text-base capitalize !rounded-3xl text-primary-content bg-gradient-to-r from-primary to-secondary hover:bg-gray-900 w-full sm:w-auto"
|
onClick={() => router.push("/pricing")}
|
||||||
>
|
className="btn btn-neutral text-primary-content capitalize bg-gradient-to-r from-primary to-secondary border-none"
|
||||||
Upgrade
|
>
|
||||||
</button>
|
Upgrade
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
onClick={manageSubscription}
|
||||||
|
className="btn btn-neutral text-base-content capitalize border-none"
|
||||||
|
>
|
||||||
|
Manage Purchases
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue