BugFix: #90,#86 + Restrictions on seller
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
<div class="container mx-auto px-4 py-16">
|
||||
<h1 class="text-4xl font-bold text-center mb-12">Choose the Right Plan for Your Business</h1>
|
||||
|
||||
<div class="grid md:grid-cols-3 gap-8">
|
||||
<div
|
||||
[ngClass]="{
|
||||
'grid gap-8 mx-auto': true,
|
||||
'md:grid-cols-3 max-w-7xl': !user || !user.subscriptionPlan,
|
||||
'md:grid-cols-2 max-w-4xl': user && user.subscriptionPlan
|
||||
}"
|
||||
>
|
||||
@if(!user || !user.subscriptionPlan) {
|
||||
<!-- Free Plan -->
|
||||
<div class="bg-white rounded-lg shadow-lg overflow-hidden flex flex-col h-full">
|
||||
<div class="px-6 py-8 bg-gray-50 text-center border-b">
|
||||
@@ -30,6 +37,7 @@
|
||||
<button (click)="register()" class="w-full bg-blue-500 text-white rounded-full px-4 py-2 font-semibold hover:bg-blue-600 transition duration-300">Sign Up Now</button>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
<!-- Professional Plan -->
|
||||
<div class="bg-white rounded-lg shadow-lg overflow-hidden flex flex-col h-full">
|
||||
@@ -72,7 +80,6 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="px-6 py-4 mt-auto">
|
||||
<!-- <button routerLink="/payment" class="w-full bg-blue-500 text-white rounded-full px-4 py-2 font-semibold hover:bg-blue-600 transition duration-300">Get Started</button> -->
|
||||
<button (click)="register('price_1PpSkpDjmFBOcNBs9UDPgBos')" class="w-full bg-blue-500 text-white rounded-full px-4 py-2 font-semibold hover:bg-blue-600 transition duration-300">Get Started</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -122,7 +129,6 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="px-6 py-4 mt-auto">
|
||||
<!-- <button routerLink="/payment" class="w-full bg-blue-500 text-white rounded-full px-4 py-2 font-semibold hover:bg-blue-600 transition duration-300">Start Listing Now</button> -->
|
||||
<button (click)="register('price_1PpSmRDjmFBOcNBsaaSp2nk9')" class="w-full bg-blue-500 text-white rounded-full px-4 py-2 font-semibold hover:bg-blue-600 transition duration-300">Start Listing Now</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user