@designcrowd/fe-shared-lib 1.2.21 → 1.2.22
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/index.js +0 -4
- package/package.json +1 -1
- package/src/atoms/components/Icon/icons/maker/twitter.vue +2 -1
- package/src/atoms/components/Modal/Modal.vue +1 -6
- package/src/bundles/bundled-translations.de-DE.json +0 -15
- package/src/bundles/bundled-translations.es-ES.json +0 -15
- package/src/bundles/bundled-translations.fr-FR.json +0 -15
- package/src/bundles/bundled-translations.json +0 -15
- package/src/bundles/bundled-translations.pt-PT.json +0 -15
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +0 -41
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +25 -47
- package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +0 -24
- package/src/useSharedLibTranslate.js +0 -8
- package/src/atoms/components/Upsell/DigitalBusinessCard.vue +0 -63
- package/src/atoms/components/Upsell/LinkInBio.vue +0 -62
- package/src/atoms/components/Upsell/UpgradeWebsite.vue +0 -60
- package/src/atoms/components/Upsell/WebDesignSupport.vue +0 -63
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.de-DE.json +0 -17
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.es-ES.json +0 -17
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.fr-FR.json +0 -17
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.json +0 -17
- package/src/atoms/components/Upsell/i18n/upsell-modal-components.pt-PT.json +0 -17
package/index.js
CHANGED
|
@@ -54,7 +54,3 @@ export { default as HashRouteModal } from './src/atoms/components/Modal/HashRout
|
|
|
54
54
|
export { default as Select } from './src/atoms/components/Select/Select.vue';
|
|
55
55
|
export { default as NumberStepper } from './src/atoms/components/NumberStepper/NumberStepper.vue';
|
|
56
56
|
export { default as CopyToClipboardText } from './src/atoms/components/CopyToClipboardText/CopyToClipboardText.vue';
|
|
57
|
-
export { default as WebDesignSupportUpsell } from './src/atoms/components/Upsell/WebDesignSupport.vue';
|
|
58
|
-
export { default as DigitalBusinessCardUpsell } from './src/atoms/components/Upsell/DigitalBusinessCard.vue';
|
|
59
|
-
export { default as LinkInBioUpsell } from './src/atoms/components/Upsell/LinkInBio.vue';
|
|
60
|
-
export { default as UpgradeWebsiteUpsell } from './src/atoms/components/Upsell/UpgradeWebsite.vue';
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<path
|
|
3
|
-
d="
|
|
3
|
+
d="M12.1655 1H14.5349L9.35972 6.93021L15.4483 15H10.6815L6.94786 10.1048L2.67545 15H0.305103L5.84041 8.65655L0 1H4.88841L8.2629 5.47324L12.1655 1ZM11.3352 13.5788H12.6483L4.17393 2.3469H2.76621L11.3352 13.5788Z"
|
|
4
|
+
fill="black"
|
|
4
5
|
/>
|
|
5
6
|
</template>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
:class="[
|
|
16
16
|
{
|
|
17
17
|
'tw-w-full': !isImageMode,
|
|
18
|
-
'tw-p-4': !
|
|
18
|
+
'tw-p-4': !simple,
|
|
19
19
|
'tw-max-w-md': size === 'md',
|
|
20
20
|
'tw-max-w-xl': size === 'xl',
|
|
21
21
|
'tw-max-w-2xl': !size && !isImageMode,
|
|
@@ -91,11 +91,6 @@ export default {
|
|
|
91
91
|
required: false,
|
|
92
92
|
default: false,
|
|
93
93
|
},
|
|
94
|
-
removeHorizontalPadding: {
|
|
95
|
-
type: Boolean,
|
|
96
|
-
required: false,
|
|
97
|
-
default: false,
|
|
98
|
-
},
|
|
99
94
|
visible: {
|
|
100
95
|
type: Boolean,
|
|
101
96
|
required: false,
|
|
@@ -3,21 +3,6 @@
|
|
|
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
|
-
},
|
|
21
6
|
"sharedPaymentConfig": {
|
|
22
7
|
"onboardingIncomplete": "Das Onboarding wurde noch nicht abgeschlossen.",
|
|
23
8
|
"pendingVerification": "Ausstehende Verifizierung",
|
|
@@ -3,21 +3,6 @@
|
|
|
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
|
-
},
|
|
21
6
|
"sharedPaymentConfig": {
|
|
22
7
|
"onboardingIncomplete": "Incorporación incompleta",
|
|
23
8
|
"pendingVerification": "Pendiente de verificación",
|
|
@@ -3,21 +3,6 @@
|
|
|
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
|
-
},
|
|
21
6
|
"sharedPaymentConfig": {
|
|
22
7
|
"onboardingIncomplete": "Inscription incomplète",
|
|
23
8
|
"pendingVerification": "Vérification en attente",
|
|
@@ -3,21 +3,6 @@
|
|
|
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
|
-
},
|
|
21
6
|
"sharedPaymentConfig": {
|
|
22
7
|
"onboardingIncomplete": "Onboarding Incomplete",
|
|
23
8
|
"pendingVerification": "Pending Verification",
|
|
@@ -3,21 +3,6 @@
|
|
|
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
|
-
},
|
|
21
6
|
"sharedPaymentConfig": {
|
|
22
7
|
"onboardingIncomplete": "Integração incompleta",
|
|
23
8
|
"pendingVerification": "Verificação Pendente",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Card from './PublishBrandPageCard.vue';
|
|
2
2
|
import PublishBrandPageModal from './PublishBrandPageModal.vue';
|
|
3
|
-
import UpgradeWebsite from '../../../atoms/components/Upsell/UpgradeWebsite.vue';
|
|
4
3
|
import { domains } from './__fixtures__/data';
|
|
5
4
|
import { setSharedLibLocaleAsync } from '../../../useSharedLibTranslate';
|
|
6
5
|
|
|
@@ -225,43 +224,3 @@ export const Free = () => {
|
|
|
225
224
|
};
|
|
226
225
|
|
|
227
226
|
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,38 +1,26 @@
|
|
|
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-px-2 md:tw-px-8"
|
|
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="showUpsellRotation && !isCustomDomainActive && !hasPurchasedDomains"
|
|
11
|
-
:class="{
|
|
12
|
-
'tw-px-2 md:tw-px-8': !showUpsellRotation && isCustomDomainActive && hasPurchasedDomains,
|
|
13
|
-
}"
|
|
14
10
|
@close-modal="onCloseModal"
|
|
15
11
|
>
|
|
16
12
|
<template #header>
|
|
17
13
|
<div v-if="isNotPublished || isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8 tw-text-4xl">
|
|
18
14
|
<span>{{ firstTimePublishHeaderLabel }}</span>
|
|
19
15
|
</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 ': !showUpsellRotation,
|
|
25
|
-
}"
|
|
26
|
-
>
|
|
16
|
+
<div v-if="isPublished && !isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8">
|
|
27
17
|
<p class="tw-font-bold tw-text-black tw-mb-2 tw-text-4xl">{{ sitePublishedLabel }}</p>
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</p>
|
|
35
|
-
</div>
|
|
18
|
+
<p v-if="hasPurchasedDomains || isCustomDomainActive" class="tw-text-grayscale-600 tw-mb-8">
|
|
19
|
+
{{ publishSuccessLabel }}
|
|
20
|
+
</p>
|
|
21
|
+
<p v-else class="tw-text-grayscale-600 tw-mb-8 tw-font-normal">
|
|
22
|
+
{{ publishedSuccessDescriptionLabel }}
|
|
23
|
+
</p>
|
|
36
24
|
</div>
|
|
37
25
|
</template>
|
|
38
26
|
<template #default>
|
|
@@ -200,21 +188,24 @@
|
|
|
200
188
|
</div>
|
|
201
189
|
<div v-else class="tw-font-sans">
|
|
202
190
|
<div v-if="!isCustomDomainActive && !hasPurchasedDomains" class="tw-mb-6 tw-text-left">
|
|
203
|
-
<div
|
|
204
|
-
<
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
@on-buy-now-click="onBuyNowClick"
|
|
214
|
-
@on-view-more="onViewMore"
|
|
215
|
-
/>
|
|
216
|
-
</div>
|
|
191
|
+
<div class="tw-mb-6">
|
|
192
|
+
<SellDomainNameSearchWithResults
|
|
193
|
+
:is-design-com="isDesignCom"
|
|
194
|
+
:initial-search-term="searchText"
|
|
195
|
+
:currency="userCurrency"
|
|
196
|
+
:display-result-limit="4"
|
|
197
|
+
:domain-search-location="sitePublishedModal"
|
|
198
|
+
@on-change-search="onSearchTextChanged"
|
|
199
|
+
@on-buy-now-click="onBuyNowClick"
|
|
200
|
+
/>
|
|
217
201
|
</div>
|
|
202
|
+
<Button
|
|
203
|
+
:label="viewMoreDomainLabel"
|
|
204
|
+
variant="no-border"
|
|
205
|
+
size="small-medium"
|
|
206
|
+
class="tw-text-center"
|
|
207
|
+
@on-click="onViewMore"
|
|
208
|
+
/>
|
|
218
209
|
</div>
|
|
219
210
|
<div class="tw-px-4 tw-text-center" :class="{ 'lg:tw-px-20': hasPurchasedDomains }">
|
|
220
211
|
<TextCopyField
|
|
@@ -239,9 +230,6 @@
|
|
|
239
230
|
@on-click="onBrandPageUrlClick"
|
|
240
231
|
/>
|
|
241
232
|
</div>
|
|
242
|
-
<div v-if="showUpsellRotation" class="tw-border-t tw-border-solid tw-border-grayscale-500 tw-p-5">
|
|
243
|
-
<slot name="upsellContainer" />
|
|
244
|
-
</div>
|
|
245
233
|
</div>
|
|
246
234
|
</template>
|
|
247
235
|
</Modal>
|
|
@@ -415,16 +403,6 @@ export default {
|
|
|
415
403
|
required: true,
|
|
416
404
|
default: '',
|
|
417
405
|
},
|
|
418
|
-
showUpsellRotation: {
|
|
419
|
-
type: Boolean,
|
|
420
|
-
required: true,
|
|
421
|
-
default: false,
|
|
422
|
-
},
|
|
423
|
-
selectedUpsellProp: {
|
|
424
|
-
type: Object,
|
|
425
|
-
required: true,
|
|
426
|
-
default: null,
|
|
427
|
-
},
|
|
428
406
|
},
|
|
429
407
|
emits: [
|
|
430
408
|
'close-modal',
|
|
@@ -22,14 +22,6 @@
|
|
|
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
|
-
/>
|
|
33
25
|
</div>
|
|
34
26
|
</template>
|
|
35
27
|
<script>
|
|
@@ -38,8 +30,6 @@ import SellDomainNameSearchResult from '../SellDomainNameSearchResult/SellDomain
|
|
|
38
30
|
|
|
39
31
|
import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
|
|
40
32
|
import Events from '../../constants/event-constants';
|
|
41
|
-
import { publishBrandPageModalTr } from '../../../useSharedLibTranslate';
|
|
42
|
-
import Button from '../../../atoms/components/Button/Button.vue';
|
|
43
33
|
|
|
44
34
|
const TEXT_CHANGED_PARAM = 'textChanged';
|
|
45
35
|
|
|
@@ -47,7 +37,6 @@ export default {
|
|
|
47
37
|
components: {
|
|
48
38
|
SellDomainNameSearch,
|
|
49
39
|
SellDomainNameSearchResult,
|
|
50
|
-
Button,
|
|
51
40
|
},
|
|
52
41
|
props: {
|
|
53
42
|
currency: {
|
|
@@ -112,16 +101,6 @@ export default {
|
|
|
112
101
|
type: Number,
|
|
113
102
|
default: undefined,
|
|
114
103
|
},
|
|
115
|
-
showViewMoreButton: {
|
|
116
|
-
type: Boolean,
|
|
117
|
-
default: false,
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
setup() {
|
|
121
|
-
return {
|
|
122
|
-
publishBrandPageModalTr,
|
|
123
|
-
viewMoreDomainLabel: publishBrandPageModalTr('viewMoreDomainLabel'),
|
|
124
|
-
};
|
|
125
104
|
},
|
|
126
105
|
data: () => ({
|
|
127
106
|
domainNameItems: undefined,
|
|
@@ -205,9 +184,6 @@ export default {
|
|
|
205
184
|
const urlParams = new URLSearchParams(window.location.search);
|
|
206
185
|
return urlParams.get(TEXT_CHANGED_PARAM)?.toUpperCase() === 'TRUE' || false;
|
|
207
186
|
},
|
|
208
|
-
onViewMore() {
|
|
209
|
-
this.$emit('on-view-more');
|
|
210
|
-
},
|
|
211
187
|
},
|
|
212
188
|
};
|
|
213
189
|
</script>
|
|
@@ -63,12 +63,8 @@ const sharedPaymentConfigTr = (key, valuesToInterpolate = {}) => tr(`sharedPayme
|
|
|
63
63
|
|
|
64
64
|
const priceTr = (key, valuesToInterpolate = {}) => tr(`price.${key}`, valuesToInterpolate);
|
|
65
65
|
|
|
66
|
-
<<<<<<< HEAD
|
|
67
|
-
const upsellModalComponentsTr = (key, valuesToInterpolate = {}) => tr(`upsellModalComponents.${key}`, valuesToInterpolate);
|
|
68
|
-
=======
|
|
69
66
|
const uploadLogoSearchResultCardTr = (key, valuesToInterpolate = {}) =>
|
|
70
67
|
tr(`uploadLogoSearchResultCard.${key}`, valuesToInterpolate);
|
|
71
|
-
>>>>>>> 1cacd59c8edc8358417754913e88f2e620000d69
|
|
72
68
|
|
|
73
69
|
const getCurrentLocale = () => {
|
|
74
70
|
return i18next.language || 'en-US';
|
|
@@ -124,10 +120,6 @@ export {
|
|
|
124
120
|
uploadYourLogoTr,
|
|
125
121
|
sharedPaymentConfigTr,
|
|
126
122
|
priceTr,
|
|
127
|
-
<<<<<<< HEAD
|
|
128
|
-
upsellModalComponentsTr,
|
|
129
|
-
=======
|
|
130
123
|
uploadLogoSearchResultCardTr,
|
|
131
124
|
formatCurrency,
|
|
132
|
-
>>>>>>> 1cacd59c8edc8358417754913e88f2e620000d69
|
|
133
125
|
};
|
|
@@ -1,63 +0,0 @@
|
|
|
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('digitalBusinessCardTitle') || 'Create your digital business card';
|
|
38
|
-
},
|
|
39
|
-
subtitle() {
|
|
40
|
-
return (
|
|
41
|
-
upsellModalComponentsTr('digitalBusinessCardSubtitle') ||
|
|
42
|
-
'Launch a digital business card that drives connections and elevates your brand'
|
|
43
|
-
);
|
|
44
|
-
},
|
|
45
|
-
imageUrl() {
|
|
46
|
-
const locale = getCurrentLocale().toLowerCase();
|
|
47
|
-
return `https://bcassetcdn.com/assets/images/modal/website-xsell-digital-business-card@2x.${locale}.png`;
|
|
48
|
-
},
|
|
49
|
-
buttonLabel() {
|
|
50
|
-
return upsellModalComponentsTr('getStartedLabel') || 'Get Started';
|
|
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>
|
|
@@ -1,62 +0,0 @@
|
|
|
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('linkInBioTitle') || 'Create your Link in Bio';
|
|
38
|
-
},
|
|
39
|
-
subtitle() {
|
|
40
|
-
return (
|
|
41
|
-
upsellModalComponentsTr('linkInBioSubtitle') || 'Launch a link in bio that drives connections and elevates'
|
|
42
|
-
);
|
|
43
|
-
},
|
|
44
|
-
imageUrl() {
|
|
45
|
-
const locale = getCurrentLocale().toLowerCase();
|
|
46
|
-
return `https://bcassetcdn.com/assets/images/modal/website-xsell-link-in-bio@2x.${locale}.png`;
|
|
47
|
-
},
|
|
48
|
-
buttonLabel() {
|
|
49
|
-
return upsellModalComponentsTr('getStartedLabel') || 'Get Started';
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
methods: {
|
|
53
|
-
onClick() {
|
|
54
|
-
this.$emit('on-button-click');
|
|
55
|
-
|
|
56
|
-
if (this.buttonUrl) {
|
|
57
|
-
window.location.href = this.buttonUrl;
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
};
|
|
62
|
-
</script>
|
|
@@ -1,60 +0,0 @@
|
|
|
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('upgradeWebsiteTitle') || 'Upgrade to premium website';
|
|
38
|
-
},
|
|
39
|
-
subtitle() {
|
|
40
|
-
return upsellModalComponentsTr('upgradeWebsiteSubtitle') || 'Unlock all advanced features for more flexibility';
|
|
41
|
-
},
|
|
42
|
-
imageUrl() {
|
|
43
|
-
const locale = getCurrentLocale().toLowerCase();
|
|
44
|
-
return `https://bcassetcdn.com/assets/images/modal/onboarding-upsell-website@2x.${locale}.png`;
|
|
45
|
-
},
|
|
46
|
-
buttonLabel() {
|
|
47
|
-
return upsellModalComponentsTr('upgradeNowLabel') || 'Upgrade Now';
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
methods: {
|
|
51
|
-
onClick() {
|
|
52
|
-
this.$emit('on-button-click');
|
|
53
|
-
|
|
54
|
-
if (this.buttonUrl) {
|
|
55
|
-
window.location.href = this.buttonUrl;
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
|
-
</script>
|
|
@@ -1,63 +0,0 @@
|
|
|
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>
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|