@designcrowd/fe-shared-lib 1.2.20 → 1.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
  3. package/public/css/tailwind-brandCrowd.css +30 -0
  4. package/public/css/tailwind-brandPage.css +30 -0
  5. package/public/css/tailwind-crazyDomains.css +30 -0
  6. package/public/css/tailwind-designCom.css +30 -0
  7. package/public/css/tailwind-designCrowd.css +30 -0
  8. package/src/atoms/components/Modal/Modal.vue +6 -1
  9. package/src/atoms/components/Upsell/DigitalBusinessCard.vue +63 -0
  10. package/src/atoms/components/Upsell/LinkInBio.vue +62 -0
  11. package/src/atoms/components/Upsell/UpgradeWebsite.vue +60 -0
  12. package/src/atoms/components/Upsell/WebDesignSupport.vue +63 -0
  13. package/src/atoms/components/Upsell/i18n/upsell-modal-components.de-DE.json +17 -0
  14. package/src/atoms/components/Upsell/i18n/upsell-modal-components.es-ES.json +17 -0
  15. package/src/atoms/components/Upsell/i18n/upsell-modal-components.fr-FR.json +17 -0
  16. package/src/atoms/components/Upsell/i18n/upsell-modal-components.json +17 -0
  17. package/src/atoms/components/Upsell/i18n/upsell-modal-components.pt-PT.json +17 -0
  18. package/src/bundles/bundled-translations.de-DE.json +15 -0
  19. package/src/bundles/bundled-translations.es-ES.json +15 -0
  20. package/src/bundles/bundled-translations.fr-FR.json +15 -0
  21. package/src/bundles/bundled-translations.json +15 -0
  22. package/src/bundles/bundled-translations.pt-PT.json +15 -0
  23. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +41 -0
  24. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +47 -25
  25. package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +24 -0
  26. package/src/useSharedLibTranslate.js +8 -0
  27. package/dist/css/tailwind-brandCrowd.css +0 -2493
  28. package/dist/css/tailwind-brandPage.css +0 -2177
  29. package/dist/css/tailwind-crazyDomains.css +0 -2493
  30. package/dist/css/tailwind-designCom.css +0 -2493
  31. package/dist/css/tailwind-designCrowd.css +0 -2493
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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-px-2 md:tw-px-8"
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="showUpsellRotation && !isCustomDomainActive && !hasPurchasedDomains"
11
+ :class="{
12
+ 'tw-px-2 md:tw-px-8': !showUpsellRotation && 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 v-if="isPublished && !isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8">
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
+ >
17
27
  <p class="tw-font-bold tw-text-black tw-mb-2 tw-text-4xl">{{ sitePublishedLabel }}</p>
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>
28
+ <div v-if="!showUpsellRotation">
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>
@@ -188,24 +200,21 @@
188
200
  </div>
189
201
  <div v-else class="tw-font-sans">
190
202
  <div v-if="!isCustomDomainActive && !hasPurchasedDomains" class="tw-mb-6 tw-text-left">
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
- />
203
+ <div v-if="!showUpsellRotation">
204
+ <div class="tw-mb-6">
205
+ <SellDomainNameSearchWithResults
206
+ :is-design-com="isDesignCom"
207
+ :initial-search-term="searchText"
208
+ :currency="userCurrency"
209
+ :display-result-limit="4"
210
+ :domain-search-location="sitePublishedModal"
211
+ show-view-more-button
212
+ @on-change-search="onSearchTextChanged"
213
+ @on-buy-now-click="onBuyNowClick"
214
+ @on-view-more="onViewMore"
215
+ />
216
+ </div>
201
217
  </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
218
  </div>
210
219
  <div class="tw-px-4 tw-text-center" :class="{ 'lg:tw-px-20': hasPurchasedDomains }">
211
220
  <TextCopyField
@@ -230,6 +239,9 @@
230
239
  @on-click="onBrandPageUrlClick"
231
240
  />
232
241
  </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>
233
245
  </div>
234
246
  </template>
235
247
  </Modal>
@@ -403,6 +415,16 @@ export default {
403
415
  required: true,
404
416
  default: '',
405
417
  },
418
+ showUpsellRotation: {
419
+ type: Boolean,
420
+ required: true,
421
+ default: false,
422
+ },
423
+ selectedUpsellProp: {
424
+ type: Object,
425
+ required: true,
426
+ default: null,
427
+ },
406
428
  },
407
429
  emits: [
408
430
  'close-modal',
@@ -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>
@@ -63,8 +63,12 @@ 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
+ =======
66
69
  const uploadLogoSearchResultCardTr = (key, valuesToInterpolate = {}) =>
67
70
  tr(`uploadLogoSearchResultCard.${key}`, valuesToInterpolate);
71
+ >>>>>>> 1cacd59c8edc8358417754913e88f2e620000d69
68
72
 
69
73
  const getCurrentLocale = () => {
70
74
  return i18next.language || 'en-US';
@@ -120,6 +124,10 @@ export {
120
124
  uploadYourLogoTr,
121
125
  sharedPaymentConfigTr,
122
126
  priceTr,
127
+ <<<<<<< HEAD
128
+ upsellModalComponentsTr,
129
+ =======
123
130
  uploadLogoSearchResultCardTr,
124
131
  formatCurrency,
132
+ >>>>>>> 1cacd59c8edc8358417754913e88f2e620000d69
125
133
  };