Skip to content

Commit

Permalink
feat:purchase url
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval-hazaz committed Jun 11, 2024
1 parent 9fb7aab commit b1868f5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ NEXT_PRIVATE_HUBSPOT_PAT=''
NEXT_PRIVATE_BLOG_SERVER_URL='https://blog-api.amplication-staging.com'
#NEXT_PRIVATE_BLOG_SERVER_URL='http://localhost:3000'
NEXT_PRIVATE_PLUGIN_API_URL='https://plugin-api.amplication.com'
NEXT_PUBLIC_BILLING_API_KEY='client-d3f38201-ed3a-4aea-af1d-1db1ad976ec0:415fb9ff-a378-42d0-a849-dae7daf49646'
NEXT_PUBLIC_BILLING_API_KEY='\$2b\$10\$kvZ2zkq7onj/oyxH4vZLKuO1P3E9QKuRmo9z72pzggRtYWv4fkElC:415fb9ff-a378-42d0-a849-dae7daf49646'
NEXT_PUBLIC_BOOK_MEETING_URL='https://meetings-eu1.hubspot.com/muly/product-review-with-amplication-vp-engineering'
NEXT_PUBLIC_PURCHASE_URL='http://localhost:3001/purchase'
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ NEXT_PRIVATE_BLOG_SERVER_URL='https://blog-api.amplication.com'
NEXT_PRIVATE_PLUGIN_API_URL='https://plugin-api.amplication.com'
NEXT_PUBLIC_BILLING_API_KEY='client-d3f38201-ed3a-4aea-af1d-1db1ad976ec0:415fb9ff-a378-42d0-a849-dae7daf49646'
NEXT_PUBLIC_BOOK_MEETING_URL='https://meetings-eu1.hubspot.com/muly/product-review-with-amplication-vp-engineering'

NEXT_PUBLIC_PURCHASE_URL='https://app.amplication.com/purchase'


2 changes: 1 addition & 1 deletion components/Sections/Pricing/PricingPlans/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const PricingPlans = () => {
buttonLocation: 'website-pricing',
},
});
window.location.href = 'https://app.amplication.com/purchase';
window.location.href = `${process.env.NEXT_PUBLIC_PURCHASE_URL}?plan=essential`;
} else {
analytics.event({
action: 'enterpriseContactUsClicked',
Expand Down
16 changes: 8 additions & 8 deletions styles/stigg-custom-css-backup.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ they are saved here for backup.
font-weight: bold;
}

.stigg-plan-amplication-free.stigg-current-plan .stigg-plan-header::before {
color: var(--stigg-plan-free-color);
.stigg-plan-amplication-essential.stigg-current-plan
.stigg-plan-header::before {
color: var(--stigg-plan-essential-color);
}

.stigg-current-plan .stigg-paywall-plan-button {
visibility: hidden;
.stigg-plan-amplication-free.stigg-current-plan .stigg-plan-header::before {
color: var(--stigg-plan-free-color);
}

/* plan header */
Expand Down Expand Up @@ -113,7 +114,7 @@ they are saved here for backup.
text-align: center;
color: white;
font-family: Poppins, sans-serif;
height: 130px;
min-height: 130px;
position: relative;
}

Expand Down Expand Up @@ -275,7 +276,6 @@ they are saved here for backup.
.stigg-trial-days-left-text {
color: var(--stigg-plan-enterprise-color);
}
.stigg-plan-amplication-enterprise.stigg-current-plan
.stigg-paywall-plan-button {
visibility: visible;
.stigg-plan-amplication-essential .stigg-trial-days-left-text {
color: var(--stigg-plan-essential-color);
}

0 comments on commit b1868f5

Please sign in to comment.