@designcrowd/fe-shared-lib 1.5.9-kp-4550-1 → 1.5.9-kp-4550-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/index.js +1 -0
  2. package/package.json +1 -1
  3. package/public/css/tailwind-brandCrowd.css +22 -0
  4. package/public/css/tailwind-brandPage.css +22 -0
  5. package/public/css/tailwind-crazyDomains.css +22 -0
  6. package/public/css/tailwind-designCom.css +22 -0
  7. package/public/css/tailwind-designCrowd.css +22 -0
  8. package/src/atoms/components/Icon/Icon.vue +1 -0
  9. package/src/bundles/bundled-translations.de-DE.json +24 -0
  10. package/src/bundles/bundled-translations.es-ES.json +24 -0
  11. package/src/bundles/bundled-translations.fr-CA.json +24 -0
  12. package/src/bundles/bundled-translations.fr-FR.json +24 -0
  13. package/src/bundles/bundled-translations.json +24 -0
  14. package/src/bundles/bundled-translations.pt-BR.json +24 -0
  15. package/src/bundles/bundled-translations.pt-PT.json +24 -0
  16. package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.stories.js +157 -0
  17. package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +135 -0
  18. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.de-DE.json +26 -0
  19. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.es-ES.json +26 -0
  20. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.fr-CA.json +26 -0
  21. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.fr-FR.json +26 -0
  22. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.json +26 -0
  23. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.pt-BR.json +26 -0
  24. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.pt-PT.json +26 -0
  25. package/src/useSharedLibTranslate.js +4 -0
package/index.js CHANGED
@@ -18,6 +18,7 @@ export { default as SellDomainNameList } from './src/experiences/components/Sell
18
18
  export { default as SellDomainNameWidget } from './src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue';
19
19
  export { default as PublishBrandPageModal } from './src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue';
20
20
  export { default as PublishBrandPageCard } from './src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue';
21
+ export { default as WebsiteContextualUpgradeModal } from './src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue';
21
22
 
22
23
  export { setSharedLibLocaleAsync, tr } from './src/useSharedLibTranslate';
23
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.5.9-kp-4550-1",
3
+ "version": "1.5.9-kp-4550-3",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -956,6 +956,9 @@ video {
956
956
  .theme-brandCrowd .tw-max-w-2xl {
957
957
  max-width: 42rem;
958
958
  }
959
+ .theme-brandCrowd .tw-max-w-3xl {
960
+ max-width: 48rem;
961
+ }
959
962
  .theme-brandCrowd .tw-max-w-full {
960
963
  max-width: 100%;
961
964
  }
@@ -1814,6 +1817,10 @@ video {
1814
1817
  font-size: 1.5rem;
1815
1818
  line-height: 2rem;
1816
1819
  }
1820
+ .theme-brandCrowd .tw-text-3xl {
1821
+ font-size: 1.875rem;
1822
+ line-height: 2.25rem;
1823
+ }
1817
1824
  .theme-brandCrowd .tw-text-4xl {
1818
1825
  font-size: 2.25rem;
1819
1826
  line-height: 2.5rem;
@@ -2273,6 +2280,9 @@ video {
2273
2280
  .theme-brandCrowd .md\:tw-right-6 {
2274
2281
  right: 1.5rem;
2275
2282
  }
2283
+ .theme-brandCrowd .md\:tw-order-first {
2284
+ order: -9999;
2285
+ }
2276
2286
  .theme-brandCrowd .md\:tw-mb-0 {
2277
2287
  margin-bottom: 0px;
2278
2288
  }
@@ -2321,15 +2331,24 @@ video {
2321
2331
  .theme-brandCrowd .md\:tw-w-24 {
2322
2332
  width: 6rem;
2323
2333
  }
2334
+ .theme-brandCrowd .md\:tw-w-3\/4 {
2335
+ width: 75%;
2336
+ }
2324
2337
  .theme-brandCrowd .md\:tw-w-auto {
2325
2338
  width: auto;
2326
2339
  }
2327
2340
  .theme-brandCrowd .md\:tw-w-full {
2328
2341
  width: 100%;
2329
2342
  }
2343
+ .theme-brandCrowd .md\:tw-max-w-40 {
2344
+ max-width: 10rem;
2345
+ }
2330
2346
  .theme-brandCrowd .md\:tw-max-w-full {
2331
2347
  max-width: 100%;
2332
2348
  }
2349
+ .theme-brandCrowd .md\:tw-flex-1 {
2350
+ flex: 1 1 0%;
2351
+ }
2333
2352
  .theme-brandCrowd .md\:tw-grow {
2334
2353
  flex-grow: 1;
2335
2354
  }
@@ -2403,6 +2422,9 @@ video {
2403
2422
  padding-top: 0.5rem;
2404
2423
  padding-bottom: 0.5rem;
2405
2424
  }
2425
+ .theme-brandCrowd .md\:tw-pb-0 {
2426
+ padding-bottom: 0px;
2427
+ }
2406
2428
  .theme-brandCrowd .md\:tw-pl-4 {
2407
2429
  padding-left: 1rem;
2408
2430
  }
@@ -956,6 +956,9 @@ video {
956
956
  .theme-brandPage .tw-max-w-2xl {
957
957
  max-width: 42rem;
958
958
  }
959
+ .theme-brandPage .tw-max-w-3xl {
960
+ max-width: 48rem;
961
+ }
959
962
  .theme-brandPage .tw-max-w-full {
960
963
  max-width: 100%;
961
964
  }
@@ -1662,6 +1665,10 @@ video {
1662
1665
  font-size: 1.5rem;
1663
1666
  line-height: 2rem;
1664
1667
  }
1668
+ .theme-brandPage .tw-text-3xl {
1669
+ font-size: 1.875rem;
1670
+ line-height: 2.25rem;
1671
+ }
1665
1672
  .theme-brandPage .tw-text-4xl {
1666
1673
  font-size: 2.25rem;
1667
1674
  line-height: 2.5rem;
@@ -1957,6 +1964,9 @@ video {
1957
1964
  .theme-brandPage .md\:tw-right-6 {
1958
1965
  right: 1.5rem;
1959
1966
  }
1967
+ .theme-brandPage .md\:tw-order-first {
1968
+ order: -9999;
1969
+ }
1960
1970
  .theme-brandPage .md\:tw-mb-0 {
1961
1971
  margin-bottom: 0px;
1962
1972
  }
@@ -2005,15 +2015,24 @@ video {
2005
2015
  .theme-brandPage .md\:tw-w-24 {
2006
2016
  width: 6rem;
2007
2017
  }
2018
+ .theme-brandPage .md\:tw-w-3\/4 {
2019
+ width: 75%;
2020
+ }
2008
2021
  .theme-brandPage .md\:tw-w-auto {
2009
2022
  width: auto;
2010
2023
  }
2011
2024
  .theme-brandPage .md\:tw-w-full {
2012
2025
  width: 100%;
2013
2026
  }
2027
+ .theme-brandPage .md\:tw-max-w-40 {
2028
+ max-width: 10rem;
2029
+ }
2014
2030
  .theme-brandPage .md\:tw-max-w-full {
2015
2031
  max-width: 100%;
2016
2032
  }
2033
+ .theme-brandPage .md\:tw-flex-1 {
2034
+ flex: 1 1 0%;
2035
+ }
2017
2036
  .theme-brandPage .md\:tw-grow {
2018
2037
  flex-grow: 1;
2019
2038
  }
@@ -2087,6 +2106,9 @@ video {
2087
2106
  padding-top: 0.5rem;
2088
2107
  padding-bottom: 0.5rem;
2089
2108
  }
2109
+ .theme-brandPage .md\:tw-pb-0 {
2110
+ padding-bottom: 0px;
2111
+ }
2090
2112
  .theme-brandPage .md\:tw-pl-4 {
2091
2113
  padding-left: 1rem;
2092
2114
  }
@@ -956,6 +956,9 @@ video {
956
956
  .theme-crazyDomains .tw-max-w-2xl {
957
957
  max-width: 42rem;
958
958
  }
959
+ .theme-crazyDomains .tw-max-w-3xl {
960
+ max-width: 48rem;
961
+ }
959
962
  .theme-crazyDomains .tw-max-w-full {
960
963
  max-width: 100%;
961
964
  }
@@ -1814,6 +1817,10 @@ video {
1814
1817
  font-size: 1.5rem;
1815
1818
  line-height: 2rem;
1816
1819
  }
1820
+ .theme-crazyDomains .tw-text-3xl {
1821
+ font-size: 1.875rem;
1822
+ line-height: 2.25rem;
1823
+ }
1817
1824
  .theme-crazyDomains .tw-text-4xl {
1818
1825
  font-size: 2.25rem;
1819
1826
  line-height: 2.5rem;
@@ -2273,6 +2280,9 @@ video {
2273
2280
  .theme-crazyDomains .md\:tw-right-6 {
2274
2281
  right: 1.5rem;
2275
2282
  }
2283
+ .theme-crazyDomains .md\:tw-order-first {
2284
+ order: -9999;
2285
+ }
2276
2286
  .theme-crazyDomains .md\:tw-mb-0 {
2277
2287
  margin-bottom: 0px;
2278
2288
  }
@@ -2321,15 +2331,24 @@ video {
2321
2331
  .theme-crazyDomains .md\:tw-w-24 {
2322
2332
  width: 6rem;
2323
2333
  }
2334
+ .theme-crazyDomains .md\:tw-w-3\/4 {
2335
+ width: 75%;
2336
+ }
2324
2337
  .theme-crazyDomains .md\:tw-w-auto {
2325
2338
  width: auto;
2326
2339
  }
2327
2340
  .theme-crazyDomains .md\:tw-w-full {
2328
2341
  width: 100%;
2329
2342
  }
2343
+ .theme-crazyDomains .md\:tw-max-w-40 {
2344
+ max-width: 10rem;
2345
+ }
2330
2346
  .theme-crazyDomains .md\:tw-max-w-full {
2331
2347
  max-width: 100%;
2332
2348
  }
2349
+ .theme-crazyDomains .md\:tw-flex-1 {
2350
+ flex: 1 1 0%;
2351
+ }
2333
2352
  .theme-crazyDomains .md\:tw-grow {
2334
2353
  flex-grow: 1;
2335
2354
  }
@@ -2403,6 +2422,9 @@ video {
2403
2422
  padding-top: 0.5rem;
2404
2423
  padding-bottom: 0.5rem;
2405
2424
  }
2425
+ .theme-crazyDomains .md\:tw-pb-0 {
2426
+ padding-bottom: 0px;
2427
+ }
2406
2428
  .theme-crazyDomains .md\:tw-pl-4 {
2407
2429
  padding-left: 1rem;
2408
2430
  }
@@ -956,6 +956,9 @@ video {
956
956
  .theme-designCom .tw-max-w-2xl {
957
957
  max-width: 42rem;
958
958
  }
959
+ .theme-designCom .tw-max-w-3xl {
960
+ max-width: 48rem;
961
+ }
959
962
  .theme-designCom .tw-max-w-full {
960
963
  max-width: 100%;
961
964
  }
@@ -1814,6 +1817,10 @@ video {
1814
1817
  font-size: 1.5rem;
1815
1818
  line-height: 2rem;
1816
1819
  }
1820
+ .theme-designCom .tw-text-3xl {
1821
+ font-size: 1.875rem;
1822
+ line-height: 2.25rem;
1823
+ }
1817
1824
  .theme-designCom .tw-text-4xl {
1818
1825
  font-size: 2.25rem;
1819
1826
  line-height: 2.5rem;
@@ -2273,6 +2280,9 @@ video {
2273
2280
  .theme-designCom .md\:tw-right-6 {
2274
2281
  right: 1.5rem;
2275
2282
  }
2283
+ .theme-designCom .md\:tw-order-first {
2284
+ order: -9999;
2285
+ }
2276
2286
  .theme-designCom .md\:tw-mb-0 {
2277
2287
  margin-bottom: 0px;
2278
2288
  }
@@ -2321,15 +2331,24 @@ video {
2321
2331
  .theme-designCom .md\:tw-w-24 {
2322
2332
  width: 6rem;
2323
2333
  }
2334
+ .theme-designCom .md\:tw-w-3\/4 {
2335
+ width: 75%;
2336
+ }
2324
2337
  .theme-designCom .md\:tw-w-auto {
2325
2338
  width: auto;
2326
2339
  }
2327
2340
  .theme-designCom .md\:tw-w-full {
2328
2341
  width: 100%;
2329
2342
  }
2343
+ .theme-designCom .md\:tw-max-w-40 {
2344
+ max-width: 10rem;
2345
+ }
2330
2346
  .theme-designCom .md\:tw-max-w-full {
2331
2347
  max-width: 100%;
2332
2348
  }
2349
+ .theme-designCom .md\:tw-flex-1 {
2350
+ flex: 1 1 0%;
2351
+ }
2333
2352
  .theme-designCom .md\:tw-grow {
2334
2353
  flex-grow: 1;
2335
2354
  }
@@ -2403,6 +2422,9 @@ video {
2403
2422
  padding-top: 0.5rem;
2404
2423
  padding-bottom: 0.5rem;
2405
2424
  }
2425
+ .theme-designCom .md\:tw-pb-0 {
2426
+ padding-bottom: 0px;
2427
+ }
2406
2428
  .theme-designCom .md\:tw-pl-4 {
2407
2429
  padding-left: 1rem;
2408
2430
  }
@@ -956,6 +956,9 @@ video {
956
956
  .theme-designCrowd .tw-max-w-2xl {
957
957
  max-width: 42rem;
958
958
  }
959
+ .theme-designCrowd .tw-max-w-3xl {
960
+ max-width: 48rem;
961
+ }
959
962
  .theme-designCrowd .tw-max-w-full {
960
963
  max-width: 100%;
961
964
  }
@@ -1814,6 +1817,10 @@ video {
1814
1817
  font-size: 1.5rem;
1815
1818
  line-height: 2rem;
1816
1819
  }
1820
+ .theme-designCrowd .tw-text-3xl {
1821
+ font-size: 1.875rem;
1822
+ line-height: 2.25rem;
1823
+ }
1817
1824
  .theme-designCrowd .tw-text-4xl {
1818
1825
  font-size: 2.25rem;
1819
1826
  line-height: 2.5rem;
@@ -2273,6 +2280,9 @@ video {
2273
2280
  .theme-designCrowd .md\:tw-right-6 {
2274
2281
  right: 1.5rem;
2275
2282
  }
2283
+ .theme-designCrowd .md\:tw-order-first {
2284
+ order: -9999;
2285
+ }
2276
2286
  .theme-designCrowd .md\:tw-mb-0 {
2277
2287
  margin-bottom: 0px;
2278
2288
  }
@@ -2321,15 +2331,24 @@ video {
2321
2331
  .theme-designCrowd .md\:tw-w-24 {
2322
2332
  width: 6rem;
2323
2333
  }
2334
+ .theme-designCrowd .md\:tw-w-3\/4 {
2335
+ width: 75%;
2336
+ }
2324
2337
  .theme-designCrowd .md\:tw-w-auto {
2325
2338
  width: auto;
2326
2339
  }
2327
2340
  .theme-designCrowd .md\:tw-w-full {
2328
2341
  width: 100%;
2329
2342
  }
2343
+ .theme-designCrowd .md\:tw-max-w-40 {
2344
+ max-width: 10rem;
2345
+ }
2330
2346
  .theme-designCrowd .md\:tw-max-w-full {
2331
2347
  max-width: 100%;
2332
2348
  }
2349
+ .theme-designCrowd .md\:tw-flex-1 {
2350
+ flex: 1 1 0%;
2351
+ }
2333
2352
  .theme-designCrowd .md\:tw-grow {
2334
2353
  flex-grow: 1;
2335
2354
  }
@@ -2403,6 +2422,9 @@ video {
2403
2422
  padding-top: 0.5rem;
2404
2423
  padding-bottom: 0.5rem;
2405
2424
  }
2425
+ .theme-designCrowd .md\:tw-pb-0 {
2426
+ padding-bottom: 0px;
2427
+ }
2406
2428
  .theme-designCrowd .md\:tw-pl-4 {
2407
2429
  padding-left: 1rem;
2408
2430
  }
@@ -13,6 +13,7 @@
13
13
  'tw-w-12 tw-h-12': size === '2xl',
14
14
  'tw-w-14 tw-h-14': size === '3xl',
15
15
  'tw-w-16 tw-h-16': size === '4xl',
16
+ 'tw-w-24 tw-h-24': size === '5xl',
16
17
  'tw-w-full tw-h-full': size === 'full',
17
18
  'tw-w-fit tw-h-full': size === 'button-icon',
18
19
  }"
@@ -101,5 +101,29 @@
101
101
  "replaceLogo": "Logo ersetzen",
102
102
  "delete": "Löschen",
103
103
  "deleteLogo": "Logo löschen"
104
+ },
105
+ "websiteContextualUpgradeModal": {
106
+ "upgradeButtonText": "Upgrade Now",
107
+ "closeButtonText": "No Thanks",
108
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
109
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
110
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
111
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
112
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
113
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
114
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
115
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
116
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
117
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
118
+ "upgradeToPublishTitle": "Upgrade to publish your site",
119
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
120
+ "featureCustomerCare": "24/7 customer care",
121
+ "featureCustomDomain": "Connect a custom domain",
122
+ "featureNoWatermark": "No {{websiteName}} watermark",
123
+ "featureUnlimitedPages": "Unlimited pages",
124
+ "featurePremiumContent": "Contact forms, videos and maps",
125
+ "featureStore": "Basic online store",
126
+ "featureCancelAnytime": "<div class=\"tw-text-success-500\"><strong>Cancel anytime</strong></div>",
127
+ "premiumUpgradeNote": "With Premium, you'll get:"
104
128
  }
105
129
  }
@@ -101,5 +101,29 @@
101
101
  "replaceLogo": "Reemplaza el logo",
102
102
  "delete": "Eliminar",
103
103
  "deleteLogo": "Elimina el logo"
104
+ },
105
+ "websiteContextualUpgradeModal": {
106
+ "upgradeButtonText": "Upgrade Now",
107
+ "closeButtonText": "No Thanks",
108
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
109
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
110
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
111
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
112
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
113
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
114
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
115
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
116
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
117
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
118
+ "upgradeToPublishTitle": "Upgrade to publish your site",
119
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
120
+ "featureCustomerCare": "24/7 customer care",
121
+ "featureCustomDomain": "Connect a custom domain",
122
+ "featureNoWatermark": "No {{websiteName}} watermark",
123
+ "featureUnlimitedPages": "Unlimited pages",
124
+ "featurePremiumContent": "Contact forms, videos and maps",
125
+ "featureStore": "Basic online store",
126
+ "featureCancelAnytime": "<div class=\"tw-text-success-500\"><strong>Cancel anytime</strong></div>",
127
+ "premiumUpgradeNote": "With Premium, you'll get:"
104
128
  }
105
129
  }
@@ -101,5 +101,29 @@
101
101
  "replaceLogo": "Remplacez le logo",
102
102
  "delete": "Supprimer",
103
103
  "deleteLogo": "Supprimez le logo"
104
+ },
105
+ "websiteContextualUpgradeModal": {
106
+ "upgradeButtonText": "Upgrade Now",
107
+ "closeButtonText": "No Thanks",
108
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
109
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
110
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
111
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
112
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
113
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
114
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
115
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
116
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
117
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
118
+ "upgradeToPublishTitle": "Upgrade to publish your site",
119
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
120
+ "featureCustomerCare": "24/7 customer care",
121
+ "featureCustomDomain": "Connect a custom domain",
122
+ "featureNoWatermark": "No {{websiteName}} watermark",
123
+ "featureUnlimitedPages": "Unlimited pages",
124
+ "featurePremiumContent": "Contact forms, videos and maps",
125
+ "featureStore": "Basic online store",
126
+ "featureCancelAnytime": "<div class=\"tw-text-success-500\"><strong>Cancel anytime</strong></div>",
127
+ "premiumUpgradeNote": "With Premium, you'll get:"
104
128
  }
105
129
  }
@@ -101,5 +101,29 @@
101
101
  "replaceLogo": "Remplacez le logo",
102
102
  "delete": "Supprimer",
103
103
  "deleteLogo": "Supprimez le logo"
104
+ },
105
+ "websiteContextualUpgradeModal": {
106
+ "upgradeButtonText": "Upgrade Now",
107
+ "closeButtonText": "No Thanks",
108
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
109
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
110
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
111
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
112
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
113
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
114
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
115
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
116
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
117
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
118
+ "upgradeToPublishTitle": "Upgrade to publish your site",
119
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
120
+ "featureCustomerCare": "24/7 customer care",
121
+ "featureCustomDomain": "Connect a custom domain",
122
+ "featureNoWatermark": "No {{websiteName}} watermark",
123
+ "featureUnlimitedPages": "Unlimited pages",
124
+ "featurePremiumContent": "Contact forms, videos and maps",
125
+ "featureStore": "Basic online store",
126
+ "featureCancelAnytime": "<div class=\"tw-text-success-500\"><strong>Cancel anytime</strong></div>",
127
+ "premiumUpgradeNote": "With Premium, you'll get:"
104
128
  }
105
129
  }
@@ -101,5 +101,29 @@
101
101
  "replaceLogo": "Replace Logo",
102
102
  "delete": "Delete",
103
103
  "deleteLogo": "Delete Logo"
104
+ },
105
+ "websiteContextualUpgradeModal": {
106
+ "upgradeButtonText": "Upgrade Now",
107
+ "closeButtonText": "No Thanks",
108
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
109
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
110
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
111
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
112
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
113
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
114
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
115
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
116
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
117
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
118
+ "upgradeToPublishTitle": "Upgrade to publish your site",
119
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
120
+ "featureCustomerCare": "24/7 customer care",
121
+ "featureCustomDomain": "Connect a custom domain",
122
+ "featureNoWatermark": "No {{websiteName}} watermark",
123
+ "featureUnlimitedPages": "Unlimited pages",
124
+ "featurePremiumContent": "Contact forms, videos and maps",
125
+ "featureStore": "Basic online store",
126
+ "featureCancelAnytime": "<div class=\"tw-text-success-500\"><strong>Cancel anytime</strong></div>",
127
+ "premiumUpgradeNote": "With Premium, you'll get:"
104
128
  }
105
129
  }
@@ -101,5 +101,29 @@
101
101
  "replaceLogo": "Substituir logotipo",
102
102
  "delete": "Excluir",
103
103
  "deleteLogo": "Excluir logotipo"
104
+ },
105
+ "websiteContextualUpgradeModal": {
106
+ "upgradeButtonText": "Upgrade Now",
107
+ "closeButtonText": "No Thanks",
108
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
109
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
110
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
111
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
112
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
113
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
114
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
115
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
116
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
117
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
118
+ "upgradeToPublishTitle": "Upgrade to publish your site",
119
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
120
+ "featureCustomerCare": "24/7 customer care",
121
+ "featureCustomDomain": "Connect a custom domain",
122
+ "featureNoWatermark": "No {{websiteName}} watermark",
123
+ "featureUnlimitedPages": "Unlimited pages",
124
+ "featurePremiumContent": "Contact forms, videos and maps",
125
+ "featureStore": "Basic online store",
126
+ "featureCancelAnytime": "<div class=\"tw-text-success-500\"><strong>Cancel anytime</strong></div>",
127
+ "premiumUpgradeNote": "With Premium, you'll get:"
104
128
  }
105
129
  }
@@ -101,5 +101,29 @@
101
101
  "replaceLogo": "Substituir logótipo",
102
102
  "delete": "Eliminar",
103
103
  "deleteLogo": "Eliminar Logótipo"
104
+ },
105
+ "websiteContextualUpgradeModal": {
106
+ "upgradeButtonText": "Upgrade Now",
107
+ "closeButtonText": "No Thanks",
108
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
109
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
110
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
111
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
112
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
113
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
114
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
115
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
116
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
117
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
118
+ "upgradeToPublishTitle": "Upgrade to publish your site",
119
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
120
+ "featureCustomerCare": "24/7 customer care",
121
+ "featureCustomDomain": "Connect a custom domain",
122
+ "featureNoWatermark": "No {{websiteName}} watermark",
123
+ "featureUnlimitedPages": "Unlimited pages",
124
+ "featurePremiumContent": "Contact forms, videos and maps",
125
+ "featureStore": "Basic online store",
126
+ "featureCancelAnytime": "<div class=\"tw-text-success-500\"><strong>Cancel anytime</strong></div>",
127
+ "premiumUpgradeNote": "With Premium, you'll get:"
104
128
  }
105
129
  }
@@ -0,0 +1,157 @@
1
+ import WebsiteContextualUpgradeModal from './WebsiteContextualUpgradeModal.vue';
2
+ import { setSharedLibLocaleAsync } from '../../../useSharedLibTranslate';
3
+
4
+ export default {
5
+ title: 'Components/WebsitesContextualUpgradeModal',
6
+ component: WebsiteContextualUpgradeModal,
7
+ };
8
+
9
+ const locale = 'en-US';
10
+
11
+ const loadTranslationAsync = async () => {
12
+ await setSharedLibLocaleAsync(locale);
13
+ };
14
+
15
+ export const UpgradeToAddPage = () => ({
16
+ components: { WebsiteContextualUpgradeModal },
17
+ data() {
18
+ return {
19
+ isUpgradeModalVisible: true,
20
+ isDesignCom: true,
21
+ upgradeUrl: 'https://brand.site/upgrade/add-page',
22
+ brandPageType: 'brandContact',
23
+ contentType: 'AddPage',
24
+ };
25
+ },
26
+ template: `
27
+ <WebsiteContextualUpgradeModal
28
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
29
+ :is-design-com="isDesignCom"
30
+ :upgrade-url="upgradeUrl"
31
+ :brand-page-type="brandPageType"
32
+ :content-type="contentType"
33
+ />
34
+ `,
35
+ });
36
+
37
+ UpgradeToAddPage.loaders = [loadTranslationAsync];
38
+
39
+ export const UpgradeToContactForm = () => ({
40
+ components: { WebsiteContextualUpgradeModal },
41
+ data() {
42
+ return {
43
+ isUpgradeModalVisible: true,
44
+ isDesignCom: true,
45
+ upgradeUrl: 'https://brand.site/upgrade/contact-form',
46
+ brandPageType: 'brandContact',
47
+ contentType: 'ContactForm',
48
+ };
49
+ },
50
+ template: `
51
+ <WebsiteContextualUpgradeModal
52
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
53
+ :is-design-com="isDesignCom"
54
+ :upgrade-url="upgradeUrl"
55
+ :brand-page-type="brandPageType"
56
+ :content-type="contentType"
57
+ />
58
+ `,
59
+ });
60
+
61
+ UpgradeToContactForm.loaders = [loadTranslationAsync];
62
+
63
+ export const UpgradeToMaps = () => ({
64
+ components: { WebsiteContextualUpgradeModal },
65
+ data() {
66
+ return {
67
+ isUpgradeModalVisible: true,
68
+ isDesignCom: true,
69
+ upgradeUrl: 'https://brand.site/upgrade/maps',
70
+ brandPageType: 'brandContact',
71
+ contentType: 'Maps',
72
+ };
73
+ },
74
+ template: `
75
+ <WebsiteContextualUpgradeModal
76
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
77
+ :is-design-com="isDesignCom"
78
+ :upgrade-url="upgradeUrl"
79
+ :brand-page-type="brandPageType"
80
+ :content-type="contentType"
81
+ />
82
+ `,
83
+ });
84
+
85
+ UpgradeToMaps.loaders = [loadTranslationAsync];
86
+
87
+ export const UpgradeToVideos = () => ({
88
+ components: { WebsiteContextualUpgradeModal },
89
+ data() {
90
+ return {
91
+ isUpgradeModalVisible: true,
92
+ isDesignCom: true,
93
+ upgradeUrl: 'https://brand.site/upgrade/videos',
94
+ brandPageType: 'brandContact',
95
+ contentType: 'Videos',
96
+ };
97
+ },
98
+ template: `
99
+ <WebsiteContextualUpgradeModal
100
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
101
+ :is-design-com="isDesignCom"
102
+ :upgrade-url="upgradeUrl"
103
+ :brand-page-type="brandPageType"
104
+ :content-type="contentType"
105
+ />
106
+ `,
107
+ });
108
+
109
+ UpgradeToVideos.loaders = [loadTranslationAsync];
110
+
111
+ export const UpgradeToRemoveWatermark = () => ({
112
+ components: { WebsiteContextualUpgradeModal },
113
+ data() {
114
+ return {
115
+ isUpgradeModalVisible: true,
116
+ isDesignCom: true,
117
+ upgradeUrl: 'https://brand.site/upgrade/remove-watermark',
118
+ brandPageType: 'brandContact',
119
+ contentType: 'RemoveWatermark',
120
+ };
121
+ },
122
+ template: `
123
+ <WebsiteContextualUpgradeModal
124
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
125
+ :is-design-com="isDesignCom"
126
+ :upgrade-url="upgradeUrl"
127
+ :brand-page-type="brandPageType"
128
+ :content-type="contentType"
129
+ />
130
+ `,
131
+ });
132
+
133
+ UpgradeToRemoveWatermark.loaders = [loadTranslationAsync];
134
+
135
+ export const UpgradeToPublish = () => ({
136
+ components: { WebsiteContextualUpgradeModal },
137
+ data() {
138
+ return {
139
+ isUpgradeModalVisible: true,
140
+ isDesignCom: true,
141
+ upgradeUrl: 'https://brand.site/upgrade/publish',
142
+ brandPageType: 'brandContact',
143
+ contentType: 'Publish',
144
+ };
145
+ },
146
+ template: `
147
+ <WebsiteContextualUpgradeModal
148
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
149
+ :is-design-com="isDesignCom"
150
+ :upgrade-url="upgradeUrl"
151
+ :brand-page-type="brandPageType"
152
+ :content-type="contentType"
153
+ />
154
+ `,
155
+ });
156
+
157
+ UpgradeToPublish.loaders = [loadTranslationAsync];
@@ -0,0 +1,135 @@
1
+ <template>
2
+ <Modal
3
+ :visible="props.isUpgradeModalVisible"
4
+ full-screen-breakpoint="sm"
5
+ :show-modal-background-image="!isDesignCom"
6
+ classes="tw-max-w-3xl tw-p-8"
7
+ @close-modal="closeUpgradeModal"
8
+ >
9
+ <div class="tw-flex tw-flex-col tw-text-black">
10
+ <div class="tw-flex tw-flex-col tw-pb-16 md:tw-pb-0">
11
+ <Icon
12
+ v-if="iconName"
13
+ :name="iconName"
14
+ :view-box="'0 0 100 100'"
15
+ size="5xl"
16
+ :class="{
17
+ 'tw-text-primary-500': isDesignCom,
18
+ 'tw-text-white': !isDesignCom,
19
+ }"
20
+ class="tw-mb-4"
21
+ />
22
+ <h2 v-if="titleText" class="tw-font-bold tw-text-3xl tw-mb-2">
23
+ {{ titleText }}
24
+ </h2>
25
+ <span class="tw-text-grayscale-600 tw-mb-2" v-html="descriptionText" />
26
+ <br />
27
+ <p class="tw-font-bold">{{ websiteContextualUpgradeModalTr('premiumUpgradeNote') }}</p>
28
+ <div class="tw-flex tw-flex-col md:tw-flex-row tw-mt-2">
29
+ <div
30
+ class="tw-order-last md:tw-order-first tw-w-full md:tw-w-3/4 tw-grid tw-grid-cols-1 md:tw-grid-cols-2 tw-gap-4"
31
+ >
32
+ <div v-for="(feature, i) in features" :key="i" class="tw-flex tw-items-center tw-text-sm tw-rounded-md">
33
+ <Icon class="tw-text-success-500" name="check" size="sm" />
34
+ <span class="tw-ml-2 tw-text-grayscale-600" v-html="feature" />
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ <div class="bottom-bar tw-mt-4 tw-bg-grayscale-200">
40
+ <div class="bottom-bar tw-mt-6 tw-flex tw-flex-col md:tw-flex-row md:tw-items-center md:tw-gap-2">
41
+ <div class="button-size md:tw-flex-1">
42
+ <Button
43
+ data-test-upgrade-button
44
+ :label="upgradeButtonText"
45
+ size="medium"
46
+ :variant="'primary'"
47
+ icon="chevron-right-wide"
48
+ :url="upgradeUrl"
49
+ classes="tw-w-full"
50
+ @on-click="onUpgradeClick"
51
+ />
52
+ </div>
53
+ <div class="md:tw-flex-1 md:tw-max-w-40 tw-mt-3 md:tw-mt-0">
54
+ <Button
55
+ data-test-upgrade-button
56
+ :label="websiteContextualUpgradeModalTr('closeButtonText')"
57
+ size="medium"
58
+ :variant="'no-border'"
59
+ :url="upgradeUrl"
60
+ classes="tw-w-full"
61
+ @on-click="closeUpgradeModal"
62
+ />
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </Modal>
68
+ </template>
69
+ <script setup lang="ts">
70
+ import Modal from '../../../atoms/components/Modal/Modal.vue';
71
+ import Button from '../../../atoms/components/Button/Button.vue';
72
+ import Icon from '../../../atoms/components/Icon/Icon.vue';
73
+ import { websiteContextualUpgradeModalTr } from '../../../useSharedLibTranslate';
74
+ import { Ref, ref } from 'vue';
75
+ import unescape from 'lodash/unescape';
76
+
77
+ const titleText: Ref<string> = ref('');
78
+ const descriptionText: Ref<string> = ref('');
79
+ const iconName: Ref<string> = ref('');
80
+ const upgradeButtonText: Ref<string> = ref('');
81
+ const features: Ref<string[]> = ref([]);
82
+
83
+ const props = defineProps<{
84
+ isUpgradeModalVisible: boolean;
85
+ isDesignCom: boolean;
86
+ upgradeUrl: string;
87
+ brandPageType: string;
88
+ contentType: string | 'ContactForm' | 'Videos' | 'Maps' | 'AddPage' | 'Publish' | 'RemoveWatermark';
89
+ }>();
90
+ const toKebabCase = (value: string) =>
91
+ value
92
+ .replace(/([a-z0-9])([A-Z])/g, '$1-$2')
93
+ .replace(/([A-Z])([A-Z][a-z])/g, '$1-$2')
94
+ .toLowerCase();
95
+
96
+ const initModalContent = (websiteName: string) => {
97
+ const titleForIcon = `upgradeTo${props.contentType}`;
98
+ iconName.value = `websites-${toKebabCase(titleForIcon)}`;
99
+
100
+ titleText.value = websiteContextualUpgradeModalTr(`${titleForIcon}Title`);
101
+ descriptionText.value = websiteContextualUpgradeModalTr(`upgradeTo${props.contentType}Description`);
102
+ upgradeButtonText.value = websiteContextualUpgradeModalTr('upgradeButtonText');
103
+
104
+ features.value = [
105
+ websiteContextualUpgradeModalTr('featureCustomerCare'),
106
+ websiteContextualUpgradeModalTr('featureCustomDomain'),
107
+ websiteContextualUpgradeModalTr('featureNoWatermark', { websiteName }),
108
+ websiteContextualUpgradeModalTr('featureUnlimitedPages'),
109
+ websiteContextualUpgradeModalTr('featurePremiumContent'),
110
+ unescape(websiteContextualUpgradeModalTr('featureCancelAnytime')),
111
+ websiteContextualUpgradeModalTr('featureStore'),
112
+ ];
113
+ };
114
+
115
+ const websiteName = props.isDesignCom ? 'Design.com' : 'BrandCrowd';
116
+ initModalContent(websiteName);
117
+
118
+ const emit = defineEmits<{
119
+ 'on-close-upgrade-modal': [];
120
+ 'on-upgrade-button-clicked': [];
121
+ }>();
122
+
123
+ const closeUpgradeModal = () => {
124
+ emit('on-close-upgrade-modal');
125
+ };
126
+
127
+ const onUpgradeClick = () => {
128
+ emit('on-upgrade-button-clicked');
129
+ };
130
+ </script>
131
+ <style scoped>
132
+ .button-size {
133
+ @apply tw-w-full md:tw-max-w-40;
134
+ }
135
+ </style>
@@ -0,0 +1,26 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "featureCustomerCare": "24/7 customer care",
18
+ "featureCustomDomain": "Connect a custom domain",
19
+ "featureNoWatermark": "No {{websiteName}} watermark",
20
+ "featureUnlimitedPages": "Unlimited pages",
21
+ "featurePremiumContent": "Contact forms, videos and maps",
22
+ "featureStore": "Basic online store",
23
+ "featureCancelAnytime": "&lt;div class=\"tw-text-success-500\"&gt;&lt;strong&gt;Cancel anytime&lt;/strong&gt;&lt;/div&gt;",
24
+ "premiumUpgradeNote": "With Premium, you'll get:"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "featureCustomerCare": "24/7 customer care",
18
+ "featureCustomDomain": "Connect a custom domain",
19
+ "featureNoWatermark": "No {{websiteName}} watermark",
20
+ "featureUnlimitedPages": "Unlimited pages",
21
+ "featurePremiumContent": "Contact forms, videos and maps",
22
+ "featureStore": "Basic online store",
23
+ "featureCancelAnytime": "&lt;div class=\"tw-text-success-500\"&gt;&lt;strong&gt;Cancel anytime&lt;/strong&gt;&lt;/div&gt;",
24
+ "premiumUpgradeNote": "With Premium, you'll get:"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "featureCustomerCare": "24/7 customer care",
18
+ "featureCustomDomain": "Connect a custom domain",
19
+ "featureNoWatermark": "No {{websiteName}} watermark",
20
+ "featureUnlimitedPages": "Unlimited pages",
21
+ "featurePremiumContent": "Contact forms, videos and maps",
22
+ "featureStore": "Basic online store",
23
+ "featureCancelAnytime": "&lt;div class=\"tw-text-success-500\"&gt;&lt;strong&gt;Cancel anytime&lt;/strong&gt;&lt;/div&gt;",
24
+ "premiumUpgradeNote": "With Premium, you'll get:"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "featureCustomerCare": "24/7 customer care",
18
+ "featureCustomDomain": "Connect a custom domain",
19
+ "featureNoWatermark": "No {{websiteName}} watermark",
20
+ "featureUnlimitedPages": "Unlimited pages",
21
+ "featurePremiumContent": "Contact forms, videos and maps",
22
+ "featureStore": "Basic online store",
23
+ "featureCancelAnytime": "&lt;div class=\"tw-text-success-500\"&gt;&lt;strong&gt;Cancel anytime&lt;/strong&gt;&lt;/div&gt;",
24
+ "premiumUpgradeNote": "With Premium, you'll get:"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "featureCustomerCare": "24/7 customer care",
18
+ "featureCustomDomain": "Connect a custom domain",
19
+ "featureNoWatermark": "No {{websiteName}} watermark",
20
+ "featureUnlimitedPages": "Unlimited pages",
21
+ "featurePremiumContent": "Contact forms, videos and maps",
22
+ "featureStore": "Basic online store",
23
+ "featureCancelAnytime": "&lt;div class=\"tw-text-success-500\"&gt;&lt;strong&gt;Cancel anytime&lt;/strong&gt;&lt;/div&gt;",
24
+ "premiumUpgradeNote": "With Premium, you'll get:"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "featureCustomerCare": "24/7 customer care",
18
+ "featureCustomDomain": "Connect a custom domain",
19
+ "featureNoWatermark": "No {{websiteName}} watermark",
20
+ "featureUnlimitedPages": "Unlimited pages",
21
+ "featurePremiumContent": "Contact forms, videos and maps",
22
+ "featureStore": "Basic online store",
23
+ "featureCancelAnytime": "&lt;div class=\"tw-text-success-500\"&gt;&lt;strong&gt;Cancel anytime&lt;/strong&gt;&lt;/div&gt;",
24
+ "premiumUpgradeNote": "With Premium, you'll get:"
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "featureCustomerCare": "24/7 customer care",
18
+ "featureCustomDomain": "Connect a custom domain",
19
+ "featureNoWatermark": "No {{websiteName}} watermark",
20
+ "featureUnlimitedPages": "Unlimited pages",
21
+ "featurePremiumContent": "Contact forms, videos and maps",
22
+ "featureStore": "Basic online store",
23
+ "featureCancelAnytime": "&lt;div class=\"tw-text-success-500\"&gt;&lt;strong&gt;Cancel anytime&lt;/strong&gt;&lt;/div&gt;",
24
+ "premiumUpgradeNote": "With Premium, you'll get:"
25
+ }
26
+ }
@@ -68,6 +68,9 @@ const priceTr = (key, valuesToInterpolate = {}) => tr(`price.${key}`, valuesToIn
68
68
  const uploadLogoSearchResultCardTr = (key, valuesToInterpolate = {}) =>
69
69
  tr(`uploadLogoSearchResultCard.${key}`, valuesToInterpolate);
70
70
 
71
+ const websiteContextualUpgradeModalTr = (key, valuesToInterpolate = {}) =>
72
+ tr(`websiteContextualUpgradeModal.${key}`, valuesToInterpolate);
73
+
71
74
  const getCurrentLocale = () => {
72
75
  return i18next.language || 'en-US';
73
76
  };
@@ -124,4 +127,5 @@ export {
124
127
  priceTr,
125
128
  uploadLogoSearchResultCardTr,
126
129
  formatCurrency,
130
+ websiteContextualUpgradeModalTr,
127
131
  };