@designcrowd/fe-shared-lib 1.5.9 → 1.5.10-kp-1
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.
- package/.storybook-static/css/tailwind-brandCrowd.css +2472 -0
- package/.storybook-static/css/tailwind-brandPage.css +2156 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2472 -0
- package/.storybook-static/css/tailwind-designCom.css +2472 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2472 -0
- package/.storybook-static/favicon.svg +1 -0
- package/.storybook-static/index.html +156 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +5 -0
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
- package/.storybook-static/sb-common-assets/favicon.svg +1 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/globals-module-info.js +797 -0
- package/.storybook-static/sb-manager/globals-runtime.js +72062 -0
- package/.storybook-static/sb-manager/globals.js +34 -0
- package/.storybook-static/sb-manager/runtime.js +13002 -0
- package/dist/css/tailwind-brandCrowd.css +27 -0
- package/dist/css/tailwind-brandPage.css +27 -0
- package/dist/css/tailwind-crazyDomains.css +27 -0
- package/dist/css/tailwind-designCom.css +27 -0
- package/dist/css/tailwind-designCrowd.css +27 -0
- package/package.json +1 -1
- package/public/css/tailwind-brandCrowd.css +2494 -0
- package/public/css/tailwind-brandPage.css +2178 -0
- package/public/css/tailwind-crazyDomains.css +2494 -0
- package/public/css/tailwind-designCom.css +2494 -0
- package/public/css/tailwind-designCrowd.css +2494 -0
- package/src/bundles/bundled-translations.de-DE.json +3 -1
- package/src/bundles/bundled-translations.es-ES.json +3 -1
- package/src/bundles/bundled-translations.fr-CA.json +3 -1
- package/src/bundles/bundled-translations.fr-FR.json +3 -1
- package/src/bundles/bundled-translations.json +3 -1
- package/src/bundles/bundled-translations.pt-BR.json +3 -1
- package/src/bundles/bundled-translations.pt-PT.json +3 -1
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +5 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +23 -21
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +23 -21
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-CA.json +23 -21
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +23 -21
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +3 -1
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-BR.json +23 -21
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +23 -21
- package/src/experiences/components/PublishBrandPageModal/views/PublishWhenNoDomainsView.vue +14 -1
- package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +133 -0
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "Nein, danke, vielleicht später",
|
|
33
33
|
"selectDomainDropdownPlaceholder": "Domain auswählen",
|
|
34
34
|
"websiteFriendlyName": "Website",
|
|
35
|
-
"digitalBusinessCardFriendlyName": "Digitale Visitenkarte"
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Digitale Visitenkarte",
|
|
36
|
+
"alreadyHaveADomainLabel": "Besitzen Sie bereits eine Domain?",
|
|
37
|
+
"useExistingDomainLabel": "Meine vorhandene Domain verwenden"
|
|
36
38
|
},
|
|
37
39
|
"sellDomainNameList": {
|
|
38
40
|
"freeDomainButtonLabel": "Kostenlose Domain",
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "No gracias, quizás más tarde",
|
|
33
33
|
"selectDomainDropdownPlaceholder": "Selecciona un nombre de dominio",
|
|
34
34
|
"websiteFriendlyName": "Sitio web",
|
|
35
|
-
"digitalBusinessCardFriendlyName": "Tarjeta de visita digital"
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Tarjeta de visita digital",
|
|
36
|
+
"alreadyHaveADomainLabel": "¿Ya tienes un dominio?",
|
|
37
|
+
"useExistingDomainLabel": "Usa mi dominio existente"
|
|
36
38
|
},
|
|
37
39
|
"sellDomainNameList": {
|
|
38
40
|
"freeDomainButtonLabel": "Dominio gratis",
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "Non merci, peut-être plus tard",
|
|
33
33
|
"selectDomainDropdownPlaceholder": "Sélectionner un nom de domaine",
|
|
34
34
|
"websiteFriendlyName": "Site Web",
|
|
35
|
-
"digitalBusinessCardFriendlyName": "Carte professionnelle numérique"
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Carte professionnelle numérique",
|
|
36
|
+
"alreadyHaveADomainLabel": "Vous avez déjà un domaine?",
|
|
37
|
+
"useExistingDomainLabel": "Utiliser mon nom de domaine existant"
|
|
36
38
|
},
|
|
37
39
|
"sellDomainNameList": {
|
|
38
40
|
"freeDomainButtonLabel": "Domaine gratuit",
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "Non merci, peut-être plus tard",
|
|
33
33
|
"selectDomainDropdownPlaceholder": "Sélectionner un nom de domaine",
|
|
34
34
|
"websiteFriendlyName": "Site Web",
|
|
35
|
-
"digitalBusinessCardFriendlyName": "Carte de visite numérique"
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Carte de visite numérique",
|
|
36
|
+
"alreadyHaveADomainLabel": "Vous avez déjà un domaine ?",
|
|
37
|
+
"useExistingDomainLabel": "Utiliser mon nom de domaine existant"
|
|
36
38
|
},
|
|
37
39
|
"sellDomainNameList": {
|
|
38
40
|
"freeDomainButtonLabel": "Domaine gratuit",
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
|
|
33
33
|
"selectDomainDropdownPlaceholder": "Select domain name",
|
|
34
34
|
"websiteFriendlyName": "Website",
|
|
35
|
-
"digitalBusinessCardFriendlyName": "Digital Business Card"
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Digital Business Card",
|
|
36
|
+
"alreadyHaveADomainLabel": "Already have a domain?",
|
|
37
|
+
"useExistingDomainLabel": "Use my existing domain"
|
|
36
38
|
},
|
|
37
39
|
"sellDomainNameList": {
|
|
38
40
|
"freeDomainButtonLabel": "Free Domain",
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado. Talvez depois",
|
|
33
33
|
"selectDomainDropdownPlaceholder": "Selecionar nome de domínio",
|
|
34
34
|
"websiteFriendlyName": "Site",
|
|
35
|
-
"digitalBusinessCardFriendlyName": "Cartão de visita digital"
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Cartão de visita digital",
|
|
36
|
+
"alreadyHaveADomainLabel": "Já tem um domínio?",
|
|
37
|
+
"useExistingDomainLabel": "Usar meu domínio existente"
|
|
36
38
|
},
|
|
37
39
|
"sellDomainNameList": {
|
|
38
40
|
"freeDomainButtonLabel": "Domínio gratuito",
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado, talvez mais tarde",
|
|
33
33
|
"selectDomainDropdownPlaceholder": "Selecionar nome de domínio",
|
|
34
34
|
"websiteFriendlyName": "Website",
|
|
35
|
-
"digitalBusinessCardFriendlyName": "Cartão de visita digital"
|
|
35
|
+
"digitalBusinessCardFriendlyName": "Cartão de visita digital",
|
|
36
|
+
"alreadyHaveADomainLabel": "Já tem um domínio?",
|
|
37
|
+
"useExistingDomainLabel": "Utilizar o meu domínio existente"
|
|
36
38
|
},
|
|
37
39
|
"sellDomainNameList": {
|
|
38
40
|
"freeDomainButtonLabel": "Domínio gratuito",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
:brand-page-type="brandPageType"
|
|
43
43
|
@on-slug-changed="onSlugChanged"
|
|
44
44
|
@internal-publish-brand-page="onInternalPublishBrandPage"
|
|
45
|
+
@on-use-existing-domain="onUseExistingDomain"
|
|
45
46
|
>
|
|
46
47
|
<template #recommended>
|
|
47
48
|
<slot name="recommended" />
|
|
@@ -287,6 +288,7 @@ export default {
|
|
|
287
288
|
'on-view-more-domains',
|
|
288
289
|
'on-slug-changed',
|
|
289
290
|
'on-show-domain-modal',
|
|
291
|
+
'on-use-existing-domain',
|
|
290
292
|
],
|
|
291
293
|
setup() {
|
|
292
294
|
return {
|
|
@@ -387,6 +389,9 @@ export default {
|
|
|
387
389
|
onSlugChanged(e) {
|
|
388
390
|
this.$emit('on-slug-changed', e);
|
|
389
391
|
},
|
|
392
|
+
onUseExistingDomain() {
|
|
393
|
+
this.$emit('on-use-existing-domain');
|
|
394
|
+
},
|
|
390
395
|
onInternalPublishBrandPage(slug, customdomain) {
|
|
391
396
|
this.$emit('internal-publish-brand-page', slug, customdomain);
|
|
392
397
|
},
|
package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"publishBrandPageModal"
|
|
3
|
-
"firstTimePublishHeaderLabel"
|
|
4
|
-
"sitePublishedLabel"
|
|
5
|
-
"publishSuccessLabel"
|
|
6
|
-
"freePublishCardTitleLabel"
|
|
7
|
-
"freePublishCardDescriptionLabel"
|
|
8
|
-
"slugInputPlaceholderYourNameLabel"
|
|
9
|
-
"slugInputPlaceholderYourBusinessNameLabel"
|
|
10
|
-
"freeDomainLabel"
|
|
11
|
-
"purchasedDomainLabel"
|
|
12
|
-
"setUrlLabel"
|
|
13
|
-
"publishLabel"
|
|
14
|
-
"viewMoreDomainLabel"
|
|
15
|
-
"viewMyWebsiteLabel"
|
|
16
|
-
"copyLabel"
|
|
17
|
-
"copySuccessLabel"
|
|
18
|
-
"publishedSuccessDescriptionLabel"
|
|
19
|
-
"hasAlreadyPurchasedDomainCloseButtonLabel"
|
|
20
|
-
"selectDomainDropdownPlaceholder"
|
|
21
|
-
"websiteFriendlyName"
|
|
22
|
-
"digitalBusinessCardFriendlyName"
|
|
2
|
+
"publishBrandPageModal": {
|
|
3
|
+
"firstTimePublishHeaderLabel": "Legen Sie die URL für {{brandPageDisplayName}} fest",
|
|
4
|
+
"sitePublishedLabel": "Seite veröffentlicht!",
|
|
5
|
+
"publishSuccessLabel": "Ihr {{brandPageDisplayName}} ist live! Beginnen Sie mit der Nutzung Ihres Links:",
|
|
6
|
+
"freePublishCardTitleLabel": "Freie Adresse",
|
|
7
|
+
"freePublishCardDescriptionLabel": "Wählen Sie jetzt eine kostenlose Adresse zur Veröffentlichung aus. Sie können die URL später jederzeit bearbeiten",
|
|
8
|
+
"slugInputPlaceholderYourNameLabel": "ihr-name",
|
|
9
|
+
"slugInputPlaceholderYourBusinessNameLabel": "ihr-firmen-name",
|
|
10
|
+
"freeDomainLabel": "Kostenlose Domain",
|
|
11
|
+
"purchasedDomainLabel": "Erworbene Domain",
|
|
12
|
+
"setUrlLabel": "URL festlegen",
|
|
13
|
+
"publishLabel": "Veröffentlichen",
|
|
14
|
+
"viewMoreDomainLabel": "WEITERE DOMAINS ANZEIGEN",
|
|
15
|
+
"viewMyWebsiteLabel": "{{brandPageDisplayName}} anzeigen",
|
|
16
|
+
"copyLabel": "Kopieren",
|
|
17
|
+
"copySuccessLabel": "Kopiert!",
|
|
18
|
+
"publishedSuccessDescriptionLabel": "Kaufen Sie eine passende Domain für Ihre Marke",
|
|
19
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "Nein, danke, vielleicht später",
|
|
20
|
+
"selectDomainDropdownPlaceholder": "Domain auswählen",
|
|
21
|
+
"websiteFriendlyName": "Website",
|
|
22
|
+
"digitalBusinessCardFriendlyName": "Digitale Visitenkarte",
|
|
23
|
+
"alreadyHaveADomainLabel": "Besitzen Sie bereits eine Domain?",
|
|
24
|
+
"useExistingDomainLabel": "Meine vorhandene Domain verwenden"
|
|
23
25
|
}
|
|
24
26
|
}
|
package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"publishBrandPageModal"
|
|
3
|
-
"firstTimePublishHeaderLabel"
|
|
4
|
-
"sitePublishedLabel"
|
|
5
|
-
"publishSuccessLabel"
|
|
6
|
-
"freePublishCardTitleLabel"
|
|
7
|
-
"freePublishCardDescriptionLabel"
|
|
8
|
-
"slugInputPlaceholderYourNameLabel"
|
|
9
|
-
"slugInputPlaceholderYourBusinessNameLabel"
|
|
10
|
-
"freeDomainLabel"
|
|
11
|
-
"purchasedDomainLabel"
|
|
12
|
-
"setUrlLabel"
|
|
13
|
-
"publishLabel"
|
|
14
|
-
"viewMoreDomainLabel"
|
|
15
|
-
"viewMyWebsiteLabel"
|
|
16
|
-
"copyLabel"
|
|
17
|
-
"copySuccessLabel"
|
|
18
|
-
"publishedSuccessDescriptionLabel"
|
|
19
|
-
"hasAlreadyPurchasedDomainCloseButtonLabel"
|
|
20
|
-
"selectDomainDropdownPlaceholder"
|
|
21
|
-
"websiteFriendlyName"
|
|
22
|
-
"digitalBusinessCardFriendlyName"
|
|
2
|
+
"publishBrandPageModal": {
|
|
3
|
+
"firstTimePublishHeaderLabel": "Establece la URL para {{brandPageDisplayName}}",
|
|
4
|
+
"sitePublishedLabel": "¡Sitio publicado!",
|
|
5
|
+
"publishSuccessLabel": "¡Tu {{brandPageDisplayName}} está activo! Comienza a usar tu enlace:",
|
|
6
|
+
"freePublishCardTitleLabel": "Dirección gratuita",
|
|
7
|
+
"freePublishCardDescriptionLabel": "Elige una dirección gratuita para publicar ahora. Siempre puedes editar la URL más tarde",
|
|
8
|
+
"slugInputPlaceholderYourNameLabel": "tu-nombre",
|
|
9
|
+
"slugInputPlaceholderYourBusinessNameLabel": "nombre-de-tu-negocio",
|
|
10
|
+
"freeDomainLabel": "Dominio gratis",
|
|
11
|
+
"purchasedDomainLabel": "Dominio adquirido",
|
|
12
|
+
"setUrlLabel": "Establece URL",
|
|
13
|
+
"publishLabel": "Publicar",
|
|
14
|
+
"viewMoreDomainLabel": "VER MÁS DOMINIOS",
|
|
15
|
+
"viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
|
|
16
|
+
"copyLabel": "Copiar",
|
|
17
|
+
"copySuccessLabel": "¡Copiado!",
|
|
18
|
+
"publishedSuccessDescriptionLabel": "Compra un nombre de dominio que coincida con tu marca",
|
|
19
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "No gracias, quizás más tarde",
|
|
20
|
+
"selectDomainDropdownPlaceholder": "Selecciona un nombre de dominio",
|
|
21
|
+
"websiteFriendlyName": "Sitio web",
|
|
22
|
+
"digitalBusinessCardFriendlyName": "Tarjeta de visita digital",
|
|
23
|
+
"alreadyHaveADomainLabel": "¿Ya tienes un dominio?",
|
|
24
|
+
"useExistingDomainLabel": "Usa mi dominio existente"
|
|
23
25
|
}
|
|
24
26
|
}
|
package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-CA.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"publishBrandPageModal"
|
|
3
|
-
"firstTimePublishHeaderLabel"
|
|
4
|
-
"sitePublishedLabel"
|
|
5
|
-
"publishSuccessLabel"
|
|
6
|
-
"freePublishCardTitleLabel"
|
|
7
|
-
"freePublishCardDescriptionLabel"
|
|
8
|
-
"slugInputPlaceholderYourNameLabel"
|
|
9
|
-
"slugInputPlaceholderYourBusinessNameLabel"
|
|
10
|
-
"freeDomainLabel"
|
|
11
|
-
"purchasedDomainLabel"
|
|
12
|
-
"setUrlLabel"
|
|
13
|
-
"publishLabel"
|
|
14
|
-
"viewMoreDomainLabel"
|
|
15
|
-
"viewMyWebsiteLabel"
|
|
16
|
-
"copyLabel"
|
|
17
|
-
"copySuccessLabel"
|
|
18
|
-
"publishedSuccessDescriptionLabel"
|
|
19
|
-
"hasAlreadyPurchasedDomainCloseButtonLabel"
|
|
20
|
-
"selectDomainDropdownPlaceholder"
|
|
21
|
-
"websiteFriendlyName"
|
|
22
|
-
"digitalBusinessCardFriendlyName"
|
|
2
|
+
"publishBrandPageModal": {
|
|
3
|
+
"firstTimePublishHeaderLabel": "Définissez l'URL pour {{brandPageDisplayName}}",
|
|
4
|
+
"sitePublishedLabel": "Site publié !",
|
|
5
|
+
"publishSuccessLabel": "Votre {{brandPageDisplayName}} est en ligne ! Commencez à utiliser votre lien :",
|
|
6
|
+
"freePublishCardTitleLabel": "Adresse libre",
|
|
7
|
+
"freePublishCardDescriptionLabel": "Choisissez une adresse gratuite pour publier maintenant. Vous pouvez toujours modifier l'URL plus tard",
|
|
8
|
+
"slugInputPlaceholderYourNameLabel": "your-name",
|
|
9
|
+
"slugInputPlaceholderYourBusinessNameLabel": "nom-de-votre-entreprise",
|
|
10
|
+
"freeDomainLabel": "Domaine gratuit",
|
|
11
|
+
"purchasedDomainLabel": "Domaine acheté",
|
|
12
|
+
"setUrlLabel": "Définir l'URL",
|
|
13
|
+
"publishLabel": "Publier",
|
|
14
|
+
"viewMoreDomainLabel": "VOIR PLUS DE NOMS DE DOMAINE",
|
|
15
|
+
"viewMyWebsiteLabel": "Voir {{brandPageDisplayName}}",
|
|
16
|
+
"copyLabel": "Copier",
|
|
17
|
+
"copySuccessLabel": "Copié !",
|
|
18
|
+
"publishedSuccessDescriptionLabel": "Achetez un nom de domaine correspondant à votre marque",
|
|
19
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "Non merci, peut-être plus tard",
|
|
20
|
+
"selectDomainDropdownPlaceholder": "Sélectionner un nom de domaine",
|
|
21
|
+
"websiteFriendlyName": "Site Web",
|
|
22
|
+
"digitalBusinessCardFriendlyName": "Carte professionnelle numérique",
|
|
23
|
+
"alreadyHaveADomainLabel": "Vous avez déjà un domaine?",
|
|
24
|
+
"useExistingDomainLabel": "Utiliser mon nom de domaine existant"
|
|
23
25
|
}
|
|
24
26
|
}
|
package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"publishBrandPageModal"
|
|
3
|
-
"firstTimePublishHeaderLabel"
|
|
4
|
-
"sitePublishedLabel"
|
|
5
|
-
"publishSuccessLabel"
|
|
6
|
-
"freePublishCardTitleLabel"
|
|
7
|
-
"freePublishCardDescriptionLabel"
|
|
8
|
-
"slugInputPlaceholderYourNameLabel"
|
|
9
|
-
"slugInputPlaceholderYourBusinessNameLabel"
|
|
10
|
-
"freeDomainLabel"
|
|
11
|
-
"purchasedDomainLabel"
|
|
12
|
-
"setUrlLabel"
|
|
13
|
-
"publishLabel"
|
|
14
|
-
"viewMoreDomainLabel"
|
|
15
|
-
"viewMyWebsiteLabel"
|
|
16
|
-
"copyLabel"
|
|
17
|
-
"copySuccessLabel"
|
|
18
|
-
"publishedSuccessDescriptionLabel"
|
|
19
|
-
"hasAlreadyPurchasedDomainCloseButtonLabel"
|
|
20
|
-
"selectDomainDropdownPlaceholder"
|
|
21
|
-
"websiteFriendlyName"
|
|
22
|
-
"digitalBusinessCardFriendlyName"
|
|
2
|
+
"publishBrandPageModal": {
|
|
3
|
+
"firstTimePublishHeaderLabel": "Définissez l'URL pour {{brandPageDisplayName}}",
|
|
4
|
+
"sitePublishedLabel": "Site publié !",
|
|
5
|
+
"publishSuccessLabel": "Votre {{brandPageDisplayName}} est en ligne ! Commencez à utiliser votre lien :",
|
|
6
|
+
"freePublishCardTitleLabel": "Adresse libre",
|
|
7
|
+
"freePublishCardDescriptionLabel": "Choisissez une adresse gratuite pour publier maintenant. Vous pouvez toujours modifier l'URL plus tard",
|
|
8
|
+
"slugInputPlaceholderYourNameLabel": "your-name",
|
|
9
|
+
"slugInputPlaceholderYourBusinessNameLabel": "nom-de-votre-entreprise",
|
|
10
|
+
"freeDomainLabel": "Domaine gratuit",
|
|
11
|
+
"purchasedDomainLabel": "Domaine acheté",
|
|
12
|
+
"setUrlLabel": "Définir l'URL",
|
|
13
|
+
"publishLabel": "Publier",
|
|
14
|
+
"viewMoreDomainLabel": "VOIR PLUS DE NOMS DE DOMAINE",
|
|
15
|
+
"viewMyWebsiteLabel": "Voir {{brandPageDisplayName}}",
|
|
16
|
+
"copyLabel": "Copier",
|
|
17
|
+
"copySuccessLabel": "Copié !",
|
|
18
|
+
"publishedSuccessDescriptionLabel": "Achetez un nom de domaine correspondant à votre marque",
|
|
19
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "Non merci, peut-être plus tard",
|
|
20
|
+
"selectDomainDropdownPlaceholder": "Sélectionner un nom de domaine",
|
|
21
|
+
"websiteFriendlyName": "Site Web",
|
|
22
|
+
"digitalBusinessCardFriendlyName": "Carte de visite numérique",
|
|
23
|
+
"alreadyHaveADomainLabel": "Vous avez déjà un domaine ?",
|
|
24
|
+
"useExistingDomainLabel": "Utiliser mon nom de domaine existant"
|
|
23
25
|
}
|
|
24
26
|
}
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
"hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
|
|
20
20
|
"selectDomainDropdownPlaceholder": "Select domain name",
|
|
21
21
|
"websiteFriendlyName": "Website",
|
|
22
|
-
"digitalBusinessCardFriendlyName": "Digital Business Card"
|
|
22
|
+
"digitalBusinessCardFriendlyName": "Digital Business Card",
|
|
23
|
+
"alreadyHaveADomainLabel": "Already have a domain?",
|
|
24
|
+
"useExistingDomainLabel": "Use my existing domain"
|
|
23
25
|
}
|
|
24
26
|
}
|
package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-BR.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"publishBrandPageModal"
|
|
3
|
-
"firstTimePublishHeaderLabel"
|
|
4
|
-
"sitePublishedLabel"
|
|
5
|
-
"publishSuccessLabel"
|
|
6
|
-
"freePublishCardTitleLabel"
|
|
7
|
-
"freePublishCardDescriptionLabel"
|
|
8
|
-
"slugInputPlaceholderYourNameLabel"
|
|
9
|
-
"slugInputPlaceholderYourBusinessNameLabel"
|
|
10
|
-
"freeDomainLabel"
|
|
11
|
-
"purchasedDomainLabel"
|
|
12
|
-
"setUrlLabel"
|
|
13
|
-
"publishLabel"
|
|
14
|
-
"viewMoreDomainLabel"
|
|
15
|
-
"viewMyWebsiteLabel"
|
|
16
|
-
"copyLabel"
|
|
17
|
-
"copySuccessLabel"
|
|
18
|
-
"publishedSuccessDescriptionLabel"
|
|
19
|
-
"hasAlreadyPurchasedDomainCloseButtonLabel"
|
|
20
|
-
"selectDomainDropdownPlaceholder"
|
|
21
|
-
"websiteFriendlyName"
|
|
22
|
-
"digitalBusinessCardFriendlyName"
|
|
2
|
+
"publishBrandPageModal": {
|
|
3
|
+
"firstTimePublishHeaderLabel": "Defina o URL para {{brandPageDisplayName}}",
|
|
4
|
+
"sitePublishedLabel": "Site publicado!",
|
|
5
|
+
"publishSuccessLabel": "Seu {{brandPageDisplayName}} está ativo! Comece a usar seu link:",
|
|
6
|
+
"freePublishCardTitleLabel": "Endereço gratuito",
|
|
7
|
+
"freePublishCardDescriptionLabel": "Escolha um endereço gratuito para publicar agora. Você pode editar o URL depois",
|
|
8
|
+
"slugInputPlaceholderYourNameLabel": "Seu nome",
|
|
9
|
+
"slugInputPlaceholderYourBusinessNameLabel": "nome-da-sua-empresa",
|
|
10
|
+
"freeDomainLabel": "Domínio gratuito",
|
|
11
|
+
"purchasedDomainLabel": "Domínio comprado",
|
|
12
|
+
"setUrlLabel": "Definir URL",
|
|
13
|
+
"publishLabel": "Publicar",
|
|
14
|
+
"viewMoreDomainLabel": "Ver mais domínios",
|
|
15
|
+
"viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
|
|
16
|
+
"copyLabel": "Copiar",
|
|
17
|
+
"copySuccessLabel": "Copiado!",
|
|
18
|
+
"publishedSuccessDescriptionLabel": "Compre um nome de domínio que corresponda à sua marca",
|
|
19
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado. Talvez depois",
|
|
20
|
+
"selectDomainDropdownPlaceholder": "Selecionar nome de domínio",
|
|
21
|
+
"websiteFriendlyName": "Site",
|
|
22
|
+
"digitalBusinessCardFriendlyName": "Cartão de visita digital",
|
|
23
|
+
"alreadyHaveADomainLabel": "Já tem um domínio?",
|
|
24
|
+
"useExistingDomainLabel": "Usar meu domínio existente"
|
|
23
25
|
}
|
|
24
26
|
}
|
package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"publishBrandPageModal"
|
|
3
|
-
"firstTimePublishHeaderLabel"
|
|
4
|
-
"sitePublishedLabel"
|
|
5
|
-
"publishSuccessLabel"
|
|
6
|
-
"freePublishCardTitleLabel"
|
|
7
|
-
"freePublishCardDescriptionLabel"
|
|
8
|
-
"slugInputPlaceholderYourNameLabel"
|
|
9
|
-
"slugInputPlaceholderYourBusinessNameLabel"
|
|
10
|
-
"freeDomainLabel"
|
|
11
|
-
"purchasedDomainLabel"
|
|
12
|
-
"setUrlLabel"
|
|
13
|
-
"publishLabel"
|
|
14
|
-
"viewMoreDomainLabel"
|
|
15
|
-
"viewMyWebsiteLabel"
|
|
16
|
-
"copyLabel"
|
|
17
|
-
"copySuccessLabel"
|
|
18
|
-
"publishedSuccessDescriptionLabel"
|
|
19
|
-
"hasAlreadyPurchasedDomainCloseButtonLabel"
|
|
20
|
-
"selectDomainDropdownPlaceholder"
|
|
21
|
-
"websiteFriendlyName"
|
|
22
|
-
"digitalBusinessCardFriendlyName"
|
|
2
|
+
"publishBrandPageModal": {
|
|
3
|
+
"firstTimePublishHeaderLabel": "Defina o URL para {{brandPageDisplayName}}",
|
|
4
|
+
"sitePublishedLabel": "Site publicado!",
|
|
5
|
+
"publishSuccessLabel": "A sua página {{brandPageDisplayName}} está ativa! Comece a utilizar o link:",
|
|
6
|
+
"freePublishCardTitleLabel": "Endereço gratuito",
|
|
7
|
+
"freePublishCardDescriptionLabel": "Escolha um endereço gratuito para publicar agora. Pode sempre editar o URL mais tarde",
|
|
8
|
+
"slugInputPlaceholderYourNameLabel": "o-seu-nome",
|
|
9
|
+
"slugInputPlaceholderYourBusinessNameLabel": "nome-da-sua-empresa",
|
|
10
|
+
"freeDomainLabel": "Domínio gratuito",
|
|
11
|
+
"purchasedDomainLabel": "Domínio comprado",
|
|
12
|
+
"setUrlLabel": "Definir URL",
|
|
13
|
+
"publishLabel": "Publicar",
|
|
14
|
+
"viewMoreDomainLabel": "VER MAIS DOMÍNIOS",
|
|
15
|
+
"viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
|
|
16
|
+
"copyLabel": "Copiar",
|
|
17
|
+
"copySuccessLabel": "Copiado!",
|
|
18
|
+
"publishedSuccessDescriptionLabel": "Compre um nome de domínio que corresponda à sua marca",
|
|
19
|
+
"hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado, talvez mais tarde",
|
|
20
|
+
"selectDomainDropdownPlaceholder": "Selecionar nome de domínio",
|
|
21
|
+
"websiteFriendlyName": "Website",
|
|
22
|
+
"digitalBusinessCardFriendlyName": "Cartão de visita digital",
|
|
23
|
+
"alreadyHaveADomainLabel": "Já tem um domínio?",
|
|
24
|
+
"useExistingDomainLabel": "Utilizar o meu domínio existente"
|
|
23
25
|
}
|
|
24
26
|
}
|
|
@@ -46,6 +46,14 @@
|
|
|
46
46
|
<div class="tw-mt-4">
|
|
47
47
|
<slot name="recommended" />
|
|
48
48
|
</div>
|
|
49
|
+
<div class="tw-m-4 tw-text-center">
|
|
50
|
+
<p :class="{ 'tw-text-grayscale-600': isDesignCom }">
|
|
51
|
+
{{ alreadyHaveADomainLabel }}
|
|
52
|
+
<a href="#" class="tw-text-primary-500 hover:tw-text-primary-600" @click.prevent="onUseExistingDomain">{{
|
|
53
|
+
useExistingDomainLabel
|
|
54
|
+
}}</a>
|
|
55
|
+
</p>
|
|
56
|
+
</div>
|
|
49
57
|
</div>
|
|
50
58
|
</template>
|
|
51
59
|
<script>
|
|
@@ -107,7 +115,7 @@ export default {
|
|
|
107
115
|
default: '',
|
|
108
116
|
},
|
|
109
117
|
},
|
|
110
|
-
emits: ['internal-publish-brand-page', 'on-slug-changed'],
|
|
118
|
+
emits: ['internal-publish-brand-page', 'on-slug-changed', 'on-use-existing-domain'],
|
|
111
119
|
setup() {
|
|
112
120
|
return {
|
|
113
121
|
publishBrandPageModalTr,
|
|
@@ -116,6 +124,8 @@ export default {
|
|
|
116
124
|
slugInputPlaceholderYourNameLabel: publishBrandPageModalTr('slugInputPlaceholderYourNameLabel'),
|
|
117
125
|
slugInputPlaceholderYourBusinessNameLabel: publishBrandPageModalTr('slugInputPlaceholderYourBusinessNameLabel'),
|
|
118
126
|
publishLabel: publishBrandPageModalTr('publishLabel'),
|
|
127
|
+
alreadyHaveADomainLabel: publishBrandPageModalTr('alreadyHaveADomainLabel'),
|
|
128
|
+
useExistingDomainLabel: publishBrandPageModalTr('useExistingDomainLabel'),
|
|
119
129
|
};
|
|
120
130
|
},
|
|
121
131
|
data() {
|
|
@@ -163,6 +173,9 @@ export default {
|
|
|
163
173
|
onPublish() {
|
|
164
174
|
this.$emit('internal-publish-brand-page', this.internalSlug);
|
|
165
175
|
},
|
|
176
|
+
onUseExistingDomain() {
|
|
177
|
+
this.$emit('on-use-existing-domain');
|
|
178
|
+
},
|
|
166
179
|
},
|
|
167
180
|
};
|
|
168
181
|
</script>
|
package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
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-8 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-2 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
|
+
classes="tw-w-full"
|
|
60
|
+
@on-click="closeUpgradeModal"
|
|
61
|
+
/>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</Modal>
|
|
67
|
+
</template>
|
|
68
|
+
<script setup lang="ts">
|
|
69
|
+
import { Ref, ref } from 'vue';
|
|
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
|
+
|
|
75
|
+
const titleText: Ref<string> = ref('');
|
|
76
|
+
const descriptionText: Ref<string> = ref('');
|
|
77
|
+
const iconName: Ref<string> = ref('');
|
|
78
|
+
const upgradeButtonText: Ref<string> = ref('');
|
|
79
|
+
const features: Ref<string[]> = ref([]);
|
|
80
|
+
|
|
81
|
+
const props = defineProps<{
|
|
82
|
+
isUpgradeModalVisible: boolean;
|
|
83
|
+
isDesignCom: boolean;
|
|
84
|
+
upgradeUrl: string;
|
|
85
|
+
brandPageType: string;
|
|
86
|
+
contentType: string | 'ContactForm' | 'Videos' | 'Maps' | 'AddPage' | 'Publish' | 'RemoveWatermark';
|
|
87
|
+
}>();
|
|
88
|
+
const toKebabCase = (value: string) =>
|
|
89
|
+
value
|
|
90
|
+
.replace(/([a-z0-9])([A-Z])/g, '$1-$2')
|
|
91
|
+
.replace(/([A-Z])([A-Z][a-z])/g, '$1-$2')
|
|
92
|
+
.toLowerCase();
|
|
93
|
+
|
|
94
|
+
const initModalContent = (websiteName: string) => {
|
|
95
|
+
const titleForIcon = `upgradeTo${props.contentType}`;
|
|
96
|
+
iconName.value = `websites-${toKebabCase(titleForIcon)}`;
|
|
97
|
+
|
|
98
|
+
titleText.value = websiteContextualUpgradeModalTr(`${titleForIcon}Title`);
|
|
99
|
+
descriptionText.value = websiteContextualUpgradeModalTr(`upgradeTo${props.contentType}Description`);
|
|
100
|
+
upgradeButtonText.value = websiteContextualUpgradeModalTr('upgradeButtonText');
|
|
101
|
+
|
|
102
|
+
features.value = [
|
|
103
|
+
websiteContextualUpgradeModalTr('featureCustomerCare'),
|
|
104
|
+
websiteContextualUpgradeModalTr('featureCustomDomain'),
|
|
105
|
+
websiteContextualUpgradeModalTr('featureNoWatermark', { websiteName }),
|
|
106
|
+
websiteContextualUpgradeModalTr('featureUnlimitedPages'),
|
|
107
|
+
websiteContextualUpgradeModalTr('featurePremiumContent'),
|
|
108
|
+
`<div class="tw-text-success-500"><strong>${websiteContextualUpgradeModalTr('featureCancelAnytime')}</strong></div>`,
|
|
109
|
+
websiteContextualUpgradeModalTr('featureStore'),
|
|
110
|
+
];
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
const websiteName = props.isDesignCom ? 'Design.com' : 'BrandCrowd';
|
|
114
|
+
initModalContent(websiteName);
|
|
115
|
+
|
|
116
|
+
const emit = defineEmits<{
|
|
117
|
+
'on-close-upgrade-modal': [];
|
|
118
|
+
'on-upgrade-button-clicked': [];
|
|
119
|
+
}>();
|
|
120
|
+
|
|
121
|
+
const closeUpgradeModal = () => {
|
|
122
|
+
emit('on-close-upgrade-modal');
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
const onUpgradeClick = () => {
|
|
126
|
+
emit('on-upgrade-button-clicked');
|
|
127
|
+
};
|
|
128
|
+
</script>
|
|
129
|
+
<style scoped>
|
|
130
|
+
.button-size {
|
|
131
|
+
@apply tw-w-full md:tw-max-w-40;
|
|
132
|
+
}
|
|
133
|
+
</style>
|