@designcrowd/fe-shared-lib 1.2.19 → 1.2.20-ast-upsell-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/Dockerfile +1 -1
- package/index.js +4 -0
- package/package.json +1 -1
- package/public/css/tailwind-brandCrowd.css +30 -0
- package/public/css/tailwind-brandPage.css +30 -0
- package/public/css/tailwind-crazyDomains.css +30 -0
- package/public/css/tailwind-designCom.css +30 -0
- package/public/css/tailwind-designCrowd.css +30 -0
- package/src/atoms/components/Modal/Modal.vue +6 -1
- package/src/atoms/components/Upsell/DigitalBusinessCard.vue +63 -0
- package/src/atoms/components/Upsell/LinkInBio.vue +62 -0
- package/src/atoms/components/Upsell/UpgradeWebsite.vue +60 -0
- package/src/atoms/components/Upsell/WebDesignSupport.vue +63 -0
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.de-DE.json +17 -0
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.es-ES.json +17 -0
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.fr-FR.json +17 -0
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.json +17 -0
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.pt-PT.json +17 -0
- package/src/bundles/bundled-translations.de-DE.json +21 -0
- package/src/bundles/bundled-translations.es-ES.json +21 -0
- package/src/bundles/bundled-translations.fr-FR.json +21 -0
- package/src/bundles/bundled-translations.json +21 -0
- package/src/bundles/bundled-translations.pt-PT.json +21 -0
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +41 -0
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +42 -16
- package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +24 -0
- package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue +15 -5
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.de-DE.json +8 -0
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.es-ES.json +8 -0
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.fr-FR.json +8 -0
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.json +8 -0
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.pt-PT.json +8 -0
- package/src/useSharedLibTranslate.js +11 -2
- package/dist/css/tailwind-brandCrowd.css +0 -2459
- package/dist/css/tailwind-brandPage.css +0 -2147
- package/dist/css/tailwind-crazyDomains.css +0 -2459
- package/dist/css/tailwind-designCom.css +0 -2459
- package/dist/css/tailwind-designCrowd.css +0 -2459
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<h3 class="tw-text-center tw-text-2xl tw-font-bold tw-mb-2">
|
|
4
|
+
{{ title }}
|
|
5
|
+
</h3>
|
|
6
|
+
<div class="tw-flex tw-justify-center tw-items-center">
|
|
7
|
+
<figure
|
|
8
|
+
class="tw-relative tw-block tw-overflow-hidden tw-max-h-full group-hover:tw-scale-105 tw-transition-all tw-h-full group-hover:tw-shadow tw-w-72"
|
|
9
|
+
>
|
|
10
|
+
<img :src="imageUrl" alt="" loading="lazy" class="tw-w-full tw-rounded-md tw-h-full" />
|
|
11
|
+
</figure>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="tw-text-center tw-mb-5 tw-text-grayscale-600 tw-mt-2">
|
|
14
|
+
{{ subtitle }}
|
|
15
|
+
</div>
|
|
16
|
+
<div v-if="buttonUrl" class="tw-flex tw-gap-4 tw-mt-5">
|
|
17
|
+
<Button full-width variant="primary" :label="buttonLabel" classes="tw-flex-1" @click="onClick" />
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
<script>
|
|
22
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
23
|
+
import { upsellModalComponentsTr, getCurrentLocale } from '../../../useSharedLibTranslate';
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
components: {
|
|
27
|
+
Button,
|
|
28
|
+
},
|
|
29
|
+
props: {
|
|
30
|
+
buttonUrl: {
|
|
31
|
+
type: String,
|
|
32
|
+
required: true,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
computed: {
|
|
36
|
+
title() {
|
|
37
|
+
return upsellModalComponentsTr('webSupportTitle') || 'Get Professional Web Design Support';
|
|
38
|
+
},
|
|
39
|
+
subtitle() {
|
|
40
|
+
return (
|
|
41
|
+
upsellModalComponentsTr('webSupportSubtitle') ||
|
|
42
|
+
'Our professional web design team will help you build and get the most out of your website'
|
|
43
|
+
);
|
|
44
|
+
},
|
|
45
|
+
imageUrl() {
|
|
46
|
+
const locale = getCurrentLocale().toLowerCase();
|
|
47
|
+
return `https://bcassetcdn.com/assets/images/modal/brandpage-design-support@2x.${locale}.png`;
|
|
48
|
+
},
|
|
49
|
+
buttonLabel() {
|
|
50
|
+
return upsellModalComponentsTr('webDesignButtonLabel') || 'Get Web Design Support';
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
onClick() {
|
|
55
|
+
this.$emit('on-button-click');
|
|
56
|
+
|
|
57
|
+
if (this.buttonUrl) {
|
|
58
|
+
window.location.href = this.buttonUrl;
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
</script>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"upsellModalComponents" : {
|
|
3
|
+
"getStartedLabel" : "Los geht’s",
|
|
4
|
+
"upgradeNowLabel" : "Jetzt upgraden",
|
|
5
|
+
"linkInBioTitle" : "BIO-LINK-SEITE ERSTELLEN",
|
|
6
|
+
"linkInBioSubtitle" : "Erstellen Sie einen Bio-Link, mit dem Sie neue Kontakte knüpfen und Ihre Marke stärken",
|
|
7
|
+
"webSupportTitle" : "Professionelle Unterstützung für Webdesign anfordern",
|
|
8
|
+
"webSupportSubtitle" : "Unser professionelles Webdesign-Team unterstützt Sie beim Aufbau und der Optimierung Ihrer Website",
|
|
9
|
+
"webDesignButtonLabel" : "Webdesign-Unterstützung anfordern",
|
|
10
|
+
"digitalBusinessCardTitle" : "Erstellen Sie Ihre digitale Visitenkarte",
|
|
11
|
+
"digitalBusinessCardSubtitle" : "Erstellen Sie eine digitale Visitenkarte, mit der Sie neue Kontakte knüpfen und Ihre Marke stärken",
|
|
12
|
+
"upgradeWebsiteTitle" : "Auf Premium-Website upgraden",
|
|
13
|
+
"upgradeWebsiteSubtitle" : "Schalten Sie alle erweiterten Funktionen für mehr Flexibilität frei",
|
|
14
|
+
"legalZoomTitle" : "Launchen Sie kostenlos Ihre eigene LLC",
|
|
15
|
+
"legalZoomSubtitle" : "In Zusammenarbeit mit LegalZoom können Sie jetzt kostenlos eine eigene LLC gründen."
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"upsellModalComponents" : {
|
|
3
|
+
"getStartedLabel" : "Comienza",
|
|
4
|
+
"upgradeNowLabel" : "Hazte prémium ya",
|
|
5
|
+
"linkInBioTitle" : "CREA TU ENLACE A LA BIO",
|
|
6
|
+
"linkInBioSubtitle" : "Lanza un enlace en tu biografía que impulse las conexiones y eleve tu presencia",
|
|
7
|
+
"webSupportTitle" : "Obtén soporte profesional en diseño web",
|
|
8
|
+
"webSupportSubtitle" : "Nuestro equipo profesional de diseño web te ayudará a crear y sacar el máximo partido a tu sitio web",
|
|
9
|
+
"webDesignButtonLabel" : "Obtén soporte de diseño web",
|
|
10
|
+
"digitalBusinessCardTitle" : "Crea tu tarjeta de visita digital",
|
|
11
|
+
"digitalBusinessCardSubtitle" : "Lanza una tarjeta de visita digital que impulse las conexiones y eleve tu marca",
|
|
12
|
+
"upgradeWebsiteTitle" : "Pásate a un sitio web prémium",
|
|
13
|
+
"upgradeWebsiteSubtitle" : "Accede a todas las funciones avanzadas para disfrutar de mayor flexibilidad",
|
|
14
|
+
"legalZoomTitle" : "Inicia tu LLC gratis",
|
|
15
|
+
"legalZoomSubtitle" : "En colaboración con LegalZoom, inicia tu LLC gratis"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"upsellModalComponents" : {
|
|
3
|
+
"getStartedLabel" : "Commencez",
|
|
4
|
+
"upgradeNowLabel" : "Mettre à niveau maintenant",
|
|
5
|
+
"linkInBioTitle" : "CRÉEZ VOTRE LIEN DANS LA BIO",
|
|
6
|
+
"linkInBioSubtitle" : "Lancez un lien dans la bio qui favorise les connexions et booste",
|
|
7
|
+
"webSupportTitle" : "Profitez d'une assistance professionnelle à la conception de sites Web",
|
|
8
|
+
"webSupportSubtitle" : "Notre équipe professionnelle de conception de sites Web vous aidera à créer votre site Web et à en tirer le meilleur parti.",
|
|
9
|
+
"webDesignButtonLabel" : "Assistance Web",
|
|
10
|
+
"digitalBusinessCardTitle" : "Créez votre carte de visite numérique",
|
|
11
|
+
"digitalBusinessCardSubtitle" : "Profitez d'une carte de visite numérique qui favorise les connexions et booste votre marque",
|
|
12
|
+
"upgradeWebsiteTitle" : "Passez à un site Web premium",
|
|
13
|
+
"upgradeWebsiteSubtitle" : "Débloquez toutes les fonctionnalités avancées pour plus de flexibilité",
|
|
14
|
+
"legalZoomTitle" : "Créez votre entreprise gratuitement",
|
|
15
|
+
"legalZoomSubtitle" : "En partenariat avec LegalZoom, créez votre entreprise gratuitement"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"upsellModalComponents": {
|
|
3
|
+
"getStartedLabel": "Get Started",
|
|
4
|
+
"upgradeNowLabel": "Upgrade Now",
|
|
5
|
+
"linkInBioTitle": "Create your Link in Bio",
|
|
6
|
+
"linkInBioSubtitle": "Launch a link in bio that drives connections and elevates",
|
|
7
|
+
"webSupportTitle": "Get Professional Web Design Support",
|
|
8
|
+
"webSupportSubtitle": "Our professional web design team will help you build and get the most out of your website",
|
|
9
|
+
"webDesignButtonLabel": "Get Web Design Support",
|
|
10
|
+
"digitalBusinessCardTitle": "Create your digital business card",
|
|
11
|
+
"digitalBusinessCardSubtitle": "Launch a digital business card that drives connections and elevates your brand",
|
|
12
|
+
"upgradeWebsiteTitle": "Upgrade to premium website",
|
|
13
|
+
"upgradeWebsiteSubtitle": "Unlock all advanced features for more flexibility",
|
|
14
|
+
"legalZoomTitle": "Start your LLC for free",
|
|
15
|
+
"legalZoomSubtitle": "In partnership with LegalZoom, kickstart your LLC for free"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"upsellModalComponents" : {
|
|
3
|
+
"getStartedLabel" : "Comece",
|
|
4
|
+
"upgradeNowLabel" : "Faça upgrade agora",
|
|
5
|
+
"linkInBioTitle" : "CRIAR LINK NA BIOGRAFIA",
|
|
6
|
+
"linkInBioSubtitle" : "Lance um link na bio que promova ligações e eleve",
|
|
7
|
+
"webSupportTitle" : "Obter apoio profissional ao web design",
|
|
8
|
+
"webSupportSubtitle" : "A nossa equipa profissional de design Web design vai ajudar a construir e a tirar o máximo partido do seu website.",
|
|
9
|
+
"webDesignButtonLabel" : "Obter apoio ao web design",
|
|
10
|
+
"digitalBusinessCardTitle" : "Crie o seu Cartão de Visita Digital",
|
|
11
|
+
"digitalBusinessCardSubtitle" : "Lance um cartão de visita digital que promove ligações e eleva a sua marca",
|
|
12
|
+
"upgradeWebsiteTitle" : "Upgrade para Website premium",
|
|
13
|
+
"upgradeWebsiteSubtitle" : "Desbloqueie todas as funcionalidades avançadas para maior flexibilidade",
|
|
14
|
+
"legalZoomTitle" : "Crie a sua sociedade gratuitamente",
|
|
15
|
+
"legalZoomSubtitle" : "Em parceria com a LegalZoom, crie a sua sociedade gratuitamente"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
"domainCreditUsed": "Verwendetes Domain-Guthaben",
|
|
4
4
|
"free": "Kostenlos"
|
|
5
5
|
},
|
|
6
|
+
"upsellModalComponents": {
|
|
7
|
+
"getStartedLabel": "Los geht’s",
|
|
8
|
+
"upgradeNowLabel": "Jetzt upgraden",
|
|
9
|
+
"linkInBioTitle": "BIO-LINK-SEITE ERSTELLEN",
|
|
10
|
+
"linkInBioSubtitle": "Erstellen Sie einen Bio-Link, mit dem Sie neue Kontakte knüpfen und Ihre Marke stärken",
|
|
11
|
+
"webSupportTitle": "Professionelle Unterstützung für Webdesign anfordern",
|
|
12
|
+
"webSupportSubtitle": "Unser professionelles Webdesign-Team unterstützt Sie beim Aufbau und der Optimierung Ihrer Website",
|
|
13
|
+
"webDesignButtonLabel": "Webdesign-Unterstützung anfordern",
|
|
14
|
+
"digitalBusinessCardTitle": "Erstellen Sie Ihre digitale Visitenkarte",
|
|
15
|
+
"digitalBusinessCardSubtitle": "Erstellen Sie eine digitale Visitenkarte, mit der Sie neue Kontakte knüpfen und Ihre Marke stärken",
|
|
16
|
+
"upgradeWebsiteTitle": "Auf Premium-Website upgraden",
|
|
17
|
+
"upgradeWebsiteSubtitle": "Schalten Sie alle erweiterten Funktionen für mehr Flexibilität frei",
|
|
18
|
+
"legalZoomTitle": "Launchen Sie kostenlos Ihre eigene LLC",
|
|
19
|
+
"legalZoomSubtitle": "In Zusammenarbeit mit LegalZoom können Sie jetzt kostenlos eine eigene LLC gründen."
|
|
20
|
+
},
|
|
6
21
|
"sharedPaymentConfig": {
|
|
7
22
|
"onboardingIncomplete": "Das Onboarding wurde noch nicht abgeschlossen.",
|
|
8
23
|
"pendingVerification": "Ausstehende Verifizierung",
|
|
@@ -92,5 +107,11 @@
|
|
|
92
107
|
"clickToUpload": "klicken Sie hier, um eine Datei hochzuladen.",
|
|
93
108
|
"acceptedFiles": "Wir akzeptieren PNG-, JPG-, SVG- und EPS-Dateien bis zu 25 MB.",
|
|
94
109
|
"wrongUploadType": "Sie können Dateien dieses Typs nicht hochladen."
|
|
110
|
+
},
|
|
111
|
+
"uploadLogoSearchResultCard": {
|
|
112
|
+
"replace": "Ersetzen",
|
|
113
|
+
"replaceLogo": "Logo ersetzen",
|
|
114
|
+
"delete": "Löschen",
|
|
115
|
+
"deleteLogo": "Logo löschen"
|
|
95
116
|
}
|
|
96
117
|
}
|
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
"domainCreditUsed": "Crédito del dominio usado",
|
|
4
4
|
"free": "Gratis"
|
|
5
5
|
},
|
|
6
|
+
"upsellModalComponents": {
|
|
7
|
+
"getStartedLabel": "Comienza",
|
|
8
|
+
"upgradeNowLabel": "Hazte prémium ya",
|
|
9
|
+
"linkInBioTitle": "CREA TU ENLACE A LA BIO",
|
|
10
|
+
"linkInBioSubtitle": "Lanza un enlace en tu biografía que impulse las conexiones y eleve tu presencia",
|
|
11
|
+
"webSupportTitle": "Obtén soporte profesional en diseño web",
|
|
12
|
+
"webSupportSubtitle": "Nuestro equipo profesional de diseño web te ayudará a crear y sacar el máximo partido a tu sitio web",
|
|
13
|
+
"webDesignButtonLabel": "Obtén soporte de diseño web",
|
|
14
|
+
"digitalBusinessCardTitle": "Crea tu tarjeta de visita digital",
|
|
15
|
+
"digitalBusinessCardSubtitle": "Lanza una tarjeta de visita digital que impulse las conexiones y eleve tu marca",
|
|
16
|
+
"upgradeWebsiteTitle": "Pásate a un sitio web prémium",
|
|
17
|
+
"upgradeWebsiteSubtitle": "Accede a todas las funciones avanzadas para disfrutar de mayor flexibilidad",
|
|
18
|
+
"legalZoomTitle": "Inicia tu LLC gratis",
|
|
19
|
+
"legalZoomSubtitle": "En colaboración con LegalZoom, inicia tu LLC gratis"
|
|
20
|
+
},
|
|
6
21
|
"sharedPaymentConfig": {
|
|
7
22
|
"onboardingIncomplete": "Incorporación incompleta",
|
|
8
23
|
"pendingVerification": "Pendiente de verificación",
|
|
@@ -92,5 +107,11 @@
|
|
|
92
107
|
"clickToUpload": "haz clic para subirlo",
|
|
93
108
|
"acceptedFiles": "Aceptamos archivos PNG, JPG, SVG o EPS de hasta 25 MB",
|
|
94
109
|
"wrongUploadType": "No puedes subir archivos de este tipo."
|
|
110
|
+
},
|
|
111
|
+
"uploadLogoSearchResultCard": {
|
|
112
|
+
"replace": "Sustituir",
|
|
113
|
+
"replaceLogo": "Reemplaza el logo",
|
|
114
|
+
"delete": "Eliminar",
|
|
115
|
+
"deleteLogo": "Elimina el logo"
|
|
95
116
|
}
|
|
96
117
|
}
|
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
"domainCreditUsed": "Crédit de domaine utilisé",
|
|
4
4
|
"free": "Gratuit"
|
|
5
5
|
},
|
|
6
|
+
"upsellModalComponents": {
|
|
7
|
+
"getStartedLabel": "Commencez",
|
|
8
|
+
"upgradeNowLabel": "Mettre à niveau maintenant",
|
|
9
|
+
"linkInBioTitle": "CRÉEZ VOTRE LIEN DANS LA BIO",
|
|
10
|
+
"linkInBioSubtitle": "Lancez un lien dans la bio qui favorise les connexions et booste",
|
|
11
|
+
"webSupportTitle": "Profitez d'une assistance professionnelle à la conception de sites Web",
|
|
12
|
+
"webSupportSubtitle": "Notre équipe professionnelle de conception de sites Web vous aidera à créer votre site Web et à en tirer le meilleur parti.",
|
|
13
|
+
"webDesignButtonLabel": "Assistance Web",
|
|
14
|
+
"digitalBusinessCardTitle": "Créez votre carte de visite numérique",
|
|
15
|
+
"digitalBusinessCardSubtitle": "Profitez d'une carte de visite numérique qui favorise les connexions et booste votre marque",
|
|
16
|
+
"upgradeWebsiteTitle": "Passez à un site Web premium",
|
|
17
|
+
"upgradeWebsiteSubtitle": "Débloquez toutes les fonctionnalités avancées pour plus de flexibilité",
|
|
18
|
+
"legalZoomTitle": "Créez votre entreprise gratuitement",
|
|
19
|
+
"legalZoomSubtitle": "En partenariat avec LegalZoom, créez votre entreprise gratuitement"
|
|
20
|
+
},
|
|
6
21
|
"sharedPaymentConfig": {
|
|
7
22
|
"onboardingIncomplete": "Inscription incomplète",
|
|
8
23
|
"pendingVerification": "Vérification en attente",
|
|
@@ -92,5 +107,11 @@
|
|
|
92
107
|
"clickToUpload": "cliquez pour télécharger",
|
|
93
108
|
"acceptedFiles": "Nous acceptons les fichiers PNG, JPG, SVG ou EPS jusqu'à 25 Mo",
|
|
94
109
|
"wrongUploadType": "Vous ne pouvez pas télécharger des fichiers de ce type."
|
|
110
|
+
},
|
|
111
|
+
"uploadLogoSearchResultCard": {
|
|
112
|
+
"replace": "Remplacer",
|
|
113
|
+
"replaceLogo": "Remplacez le logo",
|
|
114
|
+
"delete": "Supprimer",
|
|
115
|
+
"deleteLogo": "Supprimez le logo"
|
|
95
116
|
}
|
|
96
117
|
}
|
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
"domainCreditUsed": "Domain credit used",
|
|
4
4
|
"free": "Free"
|
|
5
5
|
},
|
|
6
|
+
"upsellModalComponents": {
|
|
7
|
+
"getStartedLabel": "Get Started",
|
|
8
|
+
"upgradeNowLabel": "Upgrade Now",
|
|
9
|
+
"linkInBioTitle": "Create your Link in Bio",
|
|
10
|
+
"linkInBioSubtitle": "Launch a link in bio that drives connections and elevates",
|
|
11
|
+
"webSupportTitle": "Get Professional Web Design Support",
|
|
12
|
+
"webSupportSubtitle": "Our professional web design team will help you build and get the most out of your website",
|
|
13
|
+
"webDesignButtonLabel": "Get Web Design Support",
|
|
14
|
+
"digitalBusinessCardTitle": "Create your digital business card",
|
|
15
|
+
"digitalBusinessCardSubtitle": "Launch a digital business card that drives connections and elevates your brand",
|
|
16
|
+
"upgradeWebsiteTitle": "Upgrade to premium website",
|
|
17
|
+
"upgradeWebsiteSubtitle": "Unlock all advanced features for more flexibility",
|
|
18
|
+
"legalZoomTitle": "Start your LLC for free",
|
|
19
|
+
"legalZoomSubtitle": "In partnership with LegalZoom, kickstart your LLC for free"
|
|
20
|
+
},
|
|
6
21
|
"sharedPaymentConfig": {
|
|
7
22
|
"onboardingIncomplete": "Onboarding Incomplete",
|
|
8
23
|
"pendingVerification": "Pending Verification",
|
|
@@ -92,5 +107,11 @@
|
|
|
92
107
|
"clickToUpload": "click to upload",
|
|
93
108
|
"acceptedFiles": "We accept PNG, JPG, SVG or EPS files up to 25MB",
|
|
94
109
|
"wrongUploadType": "You can't upload files of this type."
|
|
110
|
+
},
|
|
111
|
+
"uploadLogoSearchResultCard": {
|
|
112
|
+
"replace": "Replace",
|
|
113
|
+
"replaceLogo": "Replace Logo",
|
|
114
|
+
"delete": "Delete",
|
|
115
|
+
"deleteLogo": "Delete Logo"
|
|
95
116
|
}
|
|
96
117
|
}
|
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
"domainCreditUsed": "Crédito de domínio utilizado",
|
|
4
4
|
"free": "Grátis"
|
|
5
5
|
},
|
|
6
|
+
"upsellModalComponents": {
|
|
7
|
+
"getStartedLabel": "Comece",
|
|
8
|
+
"upgradeNowLabel": "Faça upgrade agora",
|
|
9
|
+
"linkInBioTitle": "CRIAR LINK NA BIOGRAFIA",
|
|
10
|
+
"linkInBioSubtitle": "Lance um link na bio que promova ligações e eleve",
|
|
11
|
+
"webSupportTitle": "Obter apoio profissional ao web design",
|
|
12
|
+
"webSupportSubtitle": "A nossa equipa profissional de design Web design vai ajudar a construir e a tirar o máximo partido do seu website.",
|
|
13
|
+
"webDesignButtonLabel": "Obter apoio ao web design",
|
|
14
|
+
"digitalBusinessCardTitle": "Crie o seu Cartão de Visita Digital",
|
|
15
|
+
"digitalBusinessCardSubtitle": "Lance um cartão de visita digital que promove ligações e eleva a sua marca",
|
|
16
|
+
"upgradeWebsiteTitle": "Upgrade para Website premium",
|
|
17
|
+
"upgradeWebsiteSubtitle": "Desbloqueie todas as funcionalidades avançadas para maior flexibilidade",
|
|
18
|
+
"legalZoomTitle": "Crie a sua sociedade gratuitamente",
|
|
19
|
+
"legalZoomSubtitle": "Em parceria com a LegalZoom, crie a sua sociedade gratuitamente"
|
|
20
|
+
},
|
|
6
21
|
"sharedPaymentConfig": {
|
|
7
22
|
"onboardingIncomplete": "Integração incompleta",
|
|
8
23
|
"pendingVerification": "Verificação Pendente",
|
|
@@ -92,5 +107,11 @@
|
|
|
92
107
|
"clickToUpload": "clique para carregar",
|
|
93
108
|
"acceptedFiles": "Aceitamos ficheiros PNG, JPG, SVG ou EPS até 25 MB",
|
|
94
109
|
"wrongUploadType": "Não pode carregar ficheiros deste tipo."
|
|
110
|
+
},
|
|
111
|
+
"uploadLogoSearchResultCard": {
|
|
112
|
+
"replace": "Substituir",
|
|
113
|
+
"replaceLogo": "Substituir logótipo",
|
|
114
|
+
"delete": "Eliminar",
|
|
115
|
+
"deleteLogo": "Eliminar Logótipo"
|
|
95
116
|
}
|
|
96
117
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Card from './PublishBrandPageCard.vue';
|
|
2
2
|
import PublishBrandPageModal from './PublishBrandPageModal.vue';
|
|
3
|
+
import UpgradeWebsite from '../../../atoms/components/Upsell/UpgradeWebsite.vue';
|
|
3
4
|
import { domains } from './__fixtures__/data';
|
|
4
5
|
import { setSharedLibLocaleAsync } from '../../../useSharedLibTranslate';
|
|
5
6
|
|
|
@@ -224,3 +225,43 @@ export const Free = () => {
|
|
|
224
225
|
};
|
|
225
226
|
|
|
226
227
|
Free.loaders = [loadTranslationAsync];
|
|
228
|
+
|
|
229
|
+
export const PublishedNoDomainsABtestUpgrade = () => {
|
|
230
|
+
return {
|
|
231
|
+
components: {
|
|
232
|
+
PublishBrandPageModal,
|
|
233
|
+
UpgradeWebsite
|
|
234
|
+
},
|
|
235
|
+
data() {
|
|
236
|
+
return {
|
|
237
|
+
domains: [],
|
|
238
|
+
upgradeProps: {
|
|
239
|
+
title: 'Upgrade to premium website',
|
|
240
|
+
subtitle: 'Unlock all advanced features for more flexibility',
|
|
241
|
+
imageUrl: 'https://bcassetcdn.com/assets/images/modal/onboarding-upsell-website@2x.en-us.png',
|
|
242
|
+
},
|
|
243
|
+
};
|
|
244
|
+
},
|
|
245
|
+
template: `
|
|
246
|
+
<PublishBrandPageModal
|
|
247
|
+
visible
|
|
248
|
+
:is-design-com="false"
|
|
249
|
+
is-published
|
|
250
|
+
should-publish
|
|
251
|
+
:domains="domains"
|
|
252
|
+
brand-page-display-name='Website'
|
|
253
|
+
brand-page-slug='test-slug'
|
|
254
|
+
brand-page-base-url="https://brand.site"
|
|
255
|
+
radio-value="slug"
|
|
256
|
+
show-upsell-rotation
|
|
257
|
+
brand-page-url="https://brand.site/test-slug">
|
|
258
|
+
<template #upsellContainer>
|
|
259
|
+
<UpgradeWebsite
|
|
260
|
+
button-url="https://example.com/upgrade"
|
|
261
|
+
/>
|
|
262
|
+
</PublishBrandPageModal>
|
|
263
|
+
`,
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
PublishedNoDomainsABtestUpgrade.loaders = [loadTranslationAsync];
|
|
@@ -1,26 +1,38 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="publish-bp--container">
|
|
3
3
|
<Modal
|
|
4
|
-
classes="publish-bp--modal tw-
|
|
4
|
+
classes="publish-bp--modal tw-pt-4"
|
|
5
5
|
close-on-esc
|
|
6
6
|
:visible="visible"
|
|
7
7
|
:hide-scrollbar="false"
|
|
8
8
|
:show-modal-background-image="showModalBackgroundImage"
|
|
9
9
|
:content-classes="isBusy ? ['tw-overflow-y-hidden'] : []"
|
|
10
|
+
:remove-horizontal-padding="showUpsellRotationContainer && !isCustomDomainActive && !hasPurchasedDomains"
|
|
11
|
+
:class="{
|
|
12
|
+
'tw-px-2 md:tw-px-8': !showUpsellRotationContainer && isCustomDomainActive && hasPurchasedDomains,
|
|
13
|
+
}"
|
|
10
14
|
@close-modal="onCloseModal"
|
|
11
15
|
>
|
|
12
16
|
<template #header>
|
|
13
17
|
<div v-if="isNotPublished || isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8 tw-text-4xl">
|
|
14
18
|
<span>{{ firstTimePublishHeaderLabel }}</span>
|
|
15
19
|
</div>
|
|
16
|
-
<div
|
|
20
|
+
<div
|
|
21
|
+
v-if="isPublished && !isSlugEditMode"
|
|
22
|
+
class="tw-text-center tw-font-bold tw-mt-8"
|
|
23
|
+
:class="{
|
|
24
|
+
'tw-mb-8 ': !showUpsellRotationContainer,
|
|
25
|
+
}"
|
|
26
|
+
>
|
|
17
27
|
<p class="tw-font-bold tw-text-black tw-mb-2 tw-text-4xl">{{ sitePublishedLabel }}</p>
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
<div v-if="!showUpsellRotationContainer">
|
|
29
|
+
<p v-if="hasPurchasedDomains || isCustomDomainActive" class="tw-text-grayscale-600 tw-mb-8">
|
|
30
|
+
{{ publishSuccessLabel }}
|
|
31
|
+
</p>
|
|
32
|
+
<p v-else class="tw-text-grayscale-600 tw-mb-8 tw-font-normal">
|
|
33
|
+
{{ publishedSuccessDescriptionLabel }}
|
|
34
|
+
</p>
|
|
35
|
+
</div>
|
|
24
36
|
</div>
|
|
25
37
|
</template>
|
|
26
38
|
<template #default>
|
|
@@ -187,7 +199,10 @@
|
|
|
187
199
|
</div>
|
|
188
200
|
</div>
|
|
189
201
|
<div v-else class="tw-font-sans">
|
|
190
|
-
<div
|
|
202
|
+
<div
|
|
203
|
+
v-if="!isCustomDomainActive && !hasPurchasedDomains && !showUpsellRotationContainer"
|
|
204
|
+
class="tw-mb-6 tw-text-left"
|
|
205
|
+
>
|
|
191
206
|
<div class="tw-mb-6">
|
|
192
207
|
<SellDomainNameSearchWithResults
|
|
193
208
|
:is-design-com="isDesignCom"
|
|
@@ -195,17 +210,12 @@
|
|
|
195
210
|
:currency="userCurrency"
|
|
196
211
|
:display-result-limit="4"
|
|
197
212
|
:domain-search-location="sitePublishedModal"
|
|
213
|
+
show-view-more-button
|
|
198
214
|
@on-change-search="onSearchTextChanged"
|
|
199
215
|
@on-buy-now-click="onBuyNowClick"
|
|
216
|
+
@on-view-more="onViewMore"
|
|
200
217
|
/>
|
|
201
218
|
</div>
|
|
202
|
-
<Button
|
|
203
|
-
:label="viewMoreDomainLabel"
|
|
204
|
-
variant="no-border"
|
|
205
|
-
size="small-medium"
|
|
206
|
-
class="tw-text-center"
|
|
207
|
-
@on-click="onViewMore"
|
|
208
|
-
/>
|
|
209
219
|
</div>
|
|
210
220
|
<div class="tw-px-4 tw-text-center" :class="{ 'lg:tw-px-20': hasPurchasedDomains }">
|
|
211
221
|
<TextCopyField
|
|
@@ -230,6 +240,9 @@
|
|
|
230
240
|
@on-click="onBrandPageUrlClick"
|
|
231
241
|
/>
|
|
232
242
|
</div>
|
|
243
|
+
<div v-if="showUpsellRotationContainer" class="tw-border-t tw-border-solid tw-border-grayscale-500 tw-p-5">
|
|
244
|
+
<slot name="upsellContainer" />
|
|
245
|
+
</div>
|
|
233
246
|
</div>
|
|
234
247
|
</template>
|
|
235
248
|
</Modal>
|
|
@@ -403,6 +416,16 @@ export default {
|
|
|
403
416
|
required: true,
|
|
404
417
|
default: '',
|
|
405
418
|
},
|
|
419
|
+
showUpsellRotation: {
|
|
420
|
+
type: Boolean,
|
|
421
|
+
required: true,
|
|
422
|
+
default: false,
|
|
423
|
+
},
|
|
424
|
+
selectedUpsellProp: {
|
|
425
|
+
type: Object,
|
|
426
|
+
required: true,
|
|
427
|
+
default: null,
|
|
428
|
+
},
|
|
406
429
|
},
|
|
407
430
|
emits: [
|
|
408
431
|
'close-modal',
|
|
@@ -500,6 +523,9 @@ export default {
|
|
|
500
523
|
? this.slugInputPlaceholderYourNameLabel
|
|
501
524
|
: this.slugInputPlaceholderYourBusinessNameLabel;
|
|
502
525
|
},
|
|
526
|
+
showUpsellRotationContainer() {
|
|
527
|
+
return this.showUpsellRotation && this.selectedUpsellProp;
|
|
528
|
+
},
|
|
503
529
|
},
|
|
504
530
|
watch: {
|
|
505
531
|
brandPageSlug(slug) {
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
:domain-search-location="domainSearchLocation"
|
|
23
23
|
@on-buy-now-click="onBuyNowClick"
|
|
24
24
|
/>
|
|
25
|
+
<Button
|
|
26
|
+
v-if="showViewMoreButton"
|
|
27
|
+
:label="viewMoreDomainLabel"
|
|
28
|
+
variant="no-border"
|
|
29
|
+
size="small-medium"
|
|
30
|
+
class="tw-text-center tw-pt-6"
|
|
31
|
+
@on-click="onViewMore"
|
|
32
|
+
/>
|
|
25
33
|
</div>
|
|
26
34
|
</template>
|
|
27
35
|
<script>
|
|
@@ -30,6 +38,8 @@ import SellDomainNameSearchResult from '../SellDomainNameSearchResult/SellDomain
|
|
|
30
38
|
|
|
31
39
|
import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
|
|
32
40
|
import Events from '../../constants/event-constants';
|
|
41
|
+
import { publishBrandPageModalTr } from '../../../useSharedLibTranslate';
|
|
42
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
33
43
|
|
|
34
44
|
const TEXT_CHANGED_PARAM = 'textChanged';
|
|
35
45
|
|
|
@@ -37,6 +47,7 @@ export default {
|
|
|
37
47
|
components: {
|
|
38
48
|
SellDomainNameSearch,
|
|
39
49
|
SellDomainNameSearchResult,
|
|
50
|
+
Button,
|
|
40
51
|
},
|
|
41
52
|
props: {
|
|
42
53
|
currency: {
|
|
@@ -101,6 +112,16 @@ export default {
|
|
|
101
112
|
type: Number,
|
|
102
113
|
default: undefined,
|
|
103
114
|
},
|
|
115
|
+
showViewMoreButton: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
default: false,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
setup() {
|
|
121
|
+
return {
|
|
122
|
+
publishBrandPageModalTr,
|
|
123
|
+
viewMoreDomainLabel: publishBrandPageModalTr('viewMoreDomainLabel'),
|
|
124
|
+
};
|
|
104
125
|
},
|
|
105
126
|
data: () => ({
|
|
106
127
|
domainNameItems: undefined,
|
|
@@ -184,6 +205,9 @@ export default {
|
|
|
184
205
|
const urlParams = new URLSearchParams(window.location.search);
|
|
185
206
|
return urlParams.get(TEXT_CHANGED_PARAM)?.toUpperCase() === 'TRUE' || false;
|
|
186
207
|
},
|
|
208
|
+
onViewMore() {
|
|
209
|
+
this.$emit('on-view-more');
|
|
210
|
+
},
|
|
187
211
|
},
|
|
188
212
|
};
|
|
189
213
|
</script>
|
package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}"
|
|
56
56
|
>
|
|
57
57
|
<label for="replace-logo-file" class="tw-sr-only">
|
|
58
|
-
|
|
58
|
+
{{ uploadLogoSearchResultCardTr('replaceLogo') }}
|
|
59
59
|
<input
|
|
60
60
|
id="replace-logo-file"
|
|
61
61
|
ref="fileInput"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
/>
|
|
66
66
|
</label>
|
|
67
67
|
<div
|
|
68
|
-
class="tw-flex tw-items-center tw-justify-center"
|
|
68
|
+
class="tw-flex tw-items-center tw-justify-center tw-flex-col tw-gap-4"
|
|
69
69
|
:class="{
|
|
70
70
|
'md:tw-items-center': useLandscapeTile,
|
|
71
71
|
'md:tw-flex-col': aspectRatio > 30 && useLandscapeTile,
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
@on-click="onReplaceButtonClick"
|
|
82
82
|
/>
|
|
83
83
|
<button
|
|
84
|
-
class="tw-uppercase tw-
|
|
84
|
+
class="tw-uppercase tw-text-xs tw-text-secondary tw-font-sans tw-font-bold"
|
|
85
85
|
:class="{
|
|
86
86
|
'md:tw-mt-3': useLandscapeTile && !extraWideLandscape,
|
|
87
87
|
'md:tw-ml-0': useLandscapeTile,
|
|
@@ -102,6 +102,7 @@ import Button from '../../../../src/atoms/components/Button/Button.vue';
|
|
|
102
102
|
import Events from '../../constants/event-constants';
|
|
103
103
|
import API from '../../constants/api';
|
|
104
104
|
import trackEvent from '../../helpers/tracking';
|
|
105
|
+
import { uploadLogoSearchResultCardTr } from '../../../useSharedLibTranslate';
|
|
105
106
|
|
|
106
107
|
export default {
|
|
107
108
|
components: {
|
|
@@ -131,6 +132,11 @@ export default {
|
|
|
131
132
|
default: false,
|
|
132
133
|
},
|
|
133
134
|
},
|
|
135
|
+
setup() {
|
|
136
|
+
return {
|
|
137
|
+
uploadLogoSearchResultCardTr,
|
|
138
|
+
};
|
|
139
|
+
},
|
|
134
140
|
data() {
|
|
135
141
|
return {
|
|
136
142
|
extraWideLandscape: this.useLandscapeTile && this.aspectRatio <= 30,
|
|
@@ -138,10 +144,14 @@ export default {
|
|
|
138
144
|
},
|
|
139
145
|
computed: {
|
|
140
146
|
replaceButtonLabel() {
|
|
141
|
-
return this.alternativeLayout
|
|
147
|
+
return this.alternativeLayout
|
|
148
|
+
? this.uploadLogoSearchResultCardTr('replace')
|
|
149
|
+
: this.uploadLogoSearchResultCardTr('replaceLogo');
|
|
142
150
|
},
|
|
143
151
|
deleteButtonLabel() {
|
|
144
|
-
return this.alternativeLayout
|
|
152
|
+
return this.alternativeLayout
|
|
153
|
+
? this.uploadLogoSearchResultCardTr('delete')
|
|
154
|
+
: this.uploadLogoSearchResultCardTr('deleteLogo');
|
|
145
155
|
},
|
|
146
156
|
},
|
|
147
157
|
methods: {
|