@designcrowd/fe-shared-lib 1.2.5-ml-jj-2 → 1.2.5-ml-currency
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/dist/css/tailwind-brandCrowd.css +40 -0
- package/dist/css/tailwind-brandPage.css +40 -0
- package/dist/css/tailwind-crazyDomains.css +40 -0
- package/dist/css/tailwind-designCom.css +40 -0
- package/dist/css/tailwind-designCrowd.css +40 -0
- package/package.json +2 -2
- package/src/atoms/components/Price/Price.vue +11 -1
- package/src/bundles/bundled-translations.de-DE.json +2 -49
- package/src/bundles/bundled-translations.es-ES.json +2 -49
- package/src/bundles/bundled-translations.fr-FR.json +2 -49
- package/src/bundles/bundled-translations.json +2 -49
- package/src/bundles/bundled-translations.pt-PT.json +2 -49
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue +10 -14
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +0 -23
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +20 -49
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.de-DE.json +5 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.es-ES.json +5 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.fr-FR.json +5 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.json +5 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.pt-PT.json +5 -0
- package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +7 -15
- package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +8 -12
- package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +9 -13
- package/src/experiences/components/SellDomainNameSearch/SellDomainNameSearch.vue +13 -18
- package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +5 -16
- package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +12 -15
- package/.storybook-static/assets/Auth-CV5AmoX8.css +0 -1
- package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +0 -490
- package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +0 -73
- package/.storybook-static/assets/Button-5UzSGUF6.css +0 -1
- package/.storybook-static/assets/Button-DtVlr_q3.js +0 -1
- package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +0 -1
- package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +0 -503
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +0 -1
- package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +0 -1
- package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +0 -761
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +0 -199
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +0 -1
- package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +0 -203
- package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +0 -88
- package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +0 -39
- package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +0 -73
- package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +0 -32
- package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +0 -159
- package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +0 -1
- package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +0 -1
- package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +0 -1
- package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +0 -64
- package/.storybook-static/assets/HelloBar-z54fob0q.js +0 -1
- package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +0 -342
- package/.storybook-static/assets/Icon-8mZGP41G.js +0 -144
- package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +0 -126
- package/.storybook-static/assets/Icon.stories-D6ECVMta.js +0 -751
- package/.storybook-static/assets/Loader-D61Ki9P1.js +0 -1
- package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +0 -1
- package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +0 -1
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +0 -36
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +0 -1
- package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +0 -71
- package/.storybook-static/assets/Modal-BQrpXSGA.js +0 -1
- package/.storybook-static/assets/Modal-BvVMN71n.css +0 -1
- package/.storybook-static/assets/Modal.stories-BycF7YL6.js +0 -345
- package/.storybook-static/assets/Notice.stories-BufkrC1b.js +0 -222
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +0 -1
- package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +0 -64
- package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +0 -1
- package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +0 -126
- package/.storybook-static/assets/Picture-Cq76CaoK.js +0 -1
- package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +0 -119
- package/.storybook-static/assets/Pill-BsMeJhV9.js +0 -1
- package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +0 -18
- package/.storybook-static/assets/PillBar-os4mJV3M.css +0 -1
- package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +0 -41
- package/.storybook-static/assets/Price-DKOwLeD0.js +0 -1
- package/.storybook-static/assets/Price.stories-DlqrNUWI.js +0 -221
- package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +0 -1
- package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +0 -273
- package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +0 -12
- package/.storybook-static/assets/Select-Dw-zvSUg.css +0 -1
- package/.storybook-static/assets/Select.stories-BWINGxdY.js +0 -108
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +0 -1
- package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +0 -1
- package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +0 -1
- package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +0 -71
- package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +0 -1
- package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +0 -1
- package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +0 -1
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +0 -37
- package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +0 -36
- package/.storybook-static/assets/SignIn-DNYeJu86.css +0 -1
- package/.storybook-static/assets/SignIn-Dt8OJr0J.js +0 -1
- package/.storybook-static/assets/Slider-Cog2FFdj.css +0 -1
- package/.storybook-static/assets/Slider.stories-08DN2SFB.js +0 -141
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +0 -1
- package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +0 -45
- package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +0 -47
- package/.storybook-static/assets/TextCopyField-B04vTGbG.js +0 -1
- package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +0 -47
- package/.storybook-static/assets/TextInput-JK1M0hv6.js +0 -1
- package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +0 -233
- package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +0 -207
- package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +0 -161
- package/.storybook-static/assets/Tooltip-DcSbUh5f.js +0 -1
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +0 -1
- package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +0 -953
- package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +0 -9
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +0 -194
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +0 -1
- package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +0 -24
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +0 -55
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +0 -79
- package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +0 -1
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
- package/.storybook-static/assets/api-lSJGRrF2.js +0 -1
- package/.storybook-static/assets/axe-nGVJxRof.js +0 -30
- package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +0 -1
- package/.storybook-static/assets/bundled-translations-BZ57czTo.js +0 -1
- package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +0 -1
- package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +0 -1
- package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +0 -1
- package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +0 -1
- package/.storybook-static/assets/carousel-CMMZ5MZ-.css +0 -1
- package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +0 -374
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +0 -1
- package/.storybook-static/assets/iframe-C86bI_2U.js +0 -1126
- package/.storybook-static/assets/index-Bw-gCGc_.js +0 -6
- package/.storybook-static/assets/index-DhkYCT1V.js +0 -29
- package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +0 -14
- package/.storybook-static/assets/tracking-ATsLLehC.js +0 -1
- package/.storybook-static/css/tailwind-brandCrowd.css +0 -2404
- package/.storybook-static/css/tailwind-brandPage.css +0 -2088
- package/.storybook-static/css/tailwind-crazyDomains.css +0 -2404
- package/.storybook-static/css/tailwind-designCom.css +0 -2404
- package/.storybook-static/css/tailwind-designCrowd.css +0 -2404
- package/.storybook-static/favicon.svg +0 -1
- package/.storybook-static/iframe.html +0 -694
- package/.storybook-static/index.html +0 -156
- package/.storybook-static/index.json +0 -1
- 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 +0 -1
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +0 -5
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +0 -3
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +0 -3
- package/.storybook-static/sb-common-assets/favicon.svg +0 -1
- 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 +0 -797
- package/.storybook-static/sb-manager/globals-runtime.js +0 -72062
- package/.storybook-static/sb-manager/globals.js +0 -34
- package/.storybook-static/sb-manager/runtime.js +0 -13002
- package/public/css/tailwind-brandCrowd.css +0 -2404
- package/public/css/tailwind-brandPage.css +0 -2088
- package/public/css/tailwind-crazyDomains.css +0 -2404
- package/public/css/tailwind-designCom.css +0 -2404
- package/public/css/tailwind-designCrowd.css +0 -2404
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +0 -22
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +0 -22
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +0 -22
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +0 -22
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +0 -22
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.de-DE.json +0 -8
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.es-ES.json +0 -8
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-FR.json +0 -8
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.json +0 -8
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-PT.json +0 -8
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.de-DE.json +0 -6
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.es-ES.json +0 -6
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-FR.json +0 -6
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.json +0 -6
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-PT.json +0 -6
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.de-DE.json +0 -6
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.es-ES.json +0 -6
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-FR.json +0 -6
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.json +0 -6
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-PT.json +0 -6
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.de-DE.json +0 -8
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.es-ES.json +0 -8
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-FR.json +0 -8
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.json +0 -8
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-PT.json +0 -8
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.de-DE.json +0 -6
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.es-ES.json +0 -6
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-FR.json +0 -6
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.json +0 -6
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-PT.json +0 -6
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json +0 -8
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json +0 -8
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json +0 -8
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.json +0 -8
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json +0 -8
|
@@ -1,52 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
-
},
|
|
22
|
-
"sellDomainNameList": {
|
|
23
|
-
"freeDomainButtonLabel": "Domaine gratuit",
|
|
24
|
-
"buyNowButtonLabel": "Acheter",
|
|
25
|
-
"pricePerYearLabel": "/an",
|
|
26
|
-
"costPriceLabel": "Prix de revient:"
|
|
27
|
-
},
|
|
28
|
-
"sellDomainNameListModal": {
|
|
29
|
-
"domainSearchHeaderTitle": "Rechercher un nom de domaine",
|
|
30
|
-
"domainSearchHeaderSubtitle": "Achetez un nom de domaine correspondant à votre marque"
|
|
31
|
-
},
|
|
32
|
-
"sellDomainNameModalApplication": {
|
|
33
|
-
"domainSearchHeaderTitle": "Rechercher un nom de domaine",
|
|
34
|
-
"domainSearchHeaderSubtitle": "Achetez un nom de domaine correspondant à votre marque"
|
|
35
|
-
},
|
|
36
|
-
"sellDomainNameSearch": {
|
|
37
|
-
"searchButtonLabel": "Rechercher",
|
|
38
|
-
"searchBarLabel": "Rechercher",
|
|
39
|
-
"searchBarPlaceholder": "Rechercher des noms de domaine",
|
|
40
|
-
"searchBarPreText": "Nom de domaine"
|
|
41
|
-
},
|
|
42
|
-
"sellDomainNameListSearchResult": {
|
|
43
|
-
"domainSearchEmptyMessage": "Désolé, nous n’avons pas trouvé de nom de domaine pour \"{domainNameSearchTerm}\".",
|
|
44
|
-
"searchAnotherDomainMessage": "Essayez de faire une recherche avec un autre nom de domaine."
|
|
45
|
-
},
|
|
46
|
-
"sellDomainNameWidget": {
|
|
47
|
-
"searchButtonLabel": "Rechercher",
|
|
48
|
-
"searchBarLabel": "Rechercher",
|
|
49
|
-
"searchBarPlaceholder": "Rechercher des noms de domaine",
|
|
50
|
-
"domainSearchOrConnectHeaderSubtitle": "Achetez un nom de domaine correspondant à votre marque ou connectez votre domaine existant"
|
|
2
|
+
"publishModal": {
|
|
3
|
+
"test": "FR-Publish Brand Page"
|
|
51
4
|
}
|
|
52
5
|
}
|
|
@@ -1,52 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"sitePublishedLabel": "Site published!",
|
|
5
|
-
"publishSuccessLabel": "Your {{brandPageDisplayName}} is live! Start using your link:",
|
|
6
|
-
"freePublishCardTitleLabel": "Free Address",
|
|
7
|
-
"freePublishCardDescriptionLabel": "Choose a free address to publish now. You can always edit the URL later",
|
|
8
|
-
"slugInputPlaceholderYourNameLabel": "your-name",
|
|
9
|
-
"slugInputPlaceholderYourBusinessNameLabel": "your-business-name",
|
|
10
|
-
"freeDomainLabel": "Free domain",
|
|
11
|
-
"purchasedDomainLabel": "Purchased domain",
|
|
12
|
-
"setUrlLabel": "Set URL",
|
|
13
|
-
"publishLabel": "Publish",
|
|
14
|
-
"viewMoreDomainLabel": "VIEW MORE DOMAINS",
|
|
15
|
-
"viewMyWebsiteLabel": "View {{brandPageDisplayName}}",
|
|
16
|
-
"copyLabel": "Copy",
|
|
17
|
-
"copySuccessLabel": "Copied!",
|
|
18
|
-
"publishedSuccessDescriptionLabel": "Buy matching domain name for your brand",
|
|
19
|
-
"hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
|
|
20
|
-
"selectDomainDropdownPlaceholder": "Select domain name"
|
|
21
|
-
},
|
|
22
|
-
"sellDomainNameList": {
|
|
23
|
-
"freeDomainButtonLabel": "Free Domain",
|
|
24
|
-
"buyNowButtonLabel": "Buy Now",
|
|
25
|
-
"pricePerYearLabel": "/yr",
|
|
26
|
-
"costPriceLabel": "Cost Price:"
|
|
27
|
-
},
|
|
28
|
-
"sellDomainNameListModal": {
|
|
29
|
-
"domainSearchHeaderTitle": "Search a domain name",
|
|
30
|
-
"domainSearchHeaderSubtitle": "Buy matching domain name for your brand"
|
|
31
|
-
},
|
|
32
|
-
"sellDomainNameModalApplication": {
|
|
33
|
-
"domainSearchHeaderTitle": "Search a domain name",
|
|
34
|
-
"domainSearchHeaderSubtitle": "Buy matching domain name for your brand"
|
|
35
|
-
},
|
|
36
|
-
"sellDomainNameSearch": {
|
|
37
|
-
"searchButtonLabel": "Search",
|
|
38
|
-
"searchBarLabel": "Search",
|
|
39
|
-
"searchBarPlaceholder": "Search domain names",
|
|
40
|
-
"searchBarPreText": "Domain name"
|
|
41
|
-
},
|
|
42
|
-
"sellDomainNameListSearchResult": {
|
|
43
|
-
"domainSearchEmptyMessage": "Sorry, we couldn't find any domain for \"{domainNameSearchTerm}\".",
|
|
44
|
-
"searchAnotherDomainMessage": "Try searching with another domain name."
|
|
45
|
-
},
|
|
46
|
-
"sellDomainNameWidget": {
|
|
47
|
-
"searchButtonLabel": "Search",
|
|
48
|
-
"searchBarLabel": "Search",
|
|
49
|
-
"searchBarPlaceholder": "Search domain names",
|
|
50
|
-
"domainSearchOrConnectHeaderSubtitle": "Buy matching domain name for your brand or connect your existing domain"
|
|
2
|
+
"publishModal": {
|
|
3
|
+
"test": "EN-Publish Brand Page"
|
|
51
4
|
}
|
|
52
5
|
}
|
|
@@ -1,52 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
-
},
|
|
22
|
-
"sellDomainNameList": {
|
|
23
|
-
"freeDomainButtonLabel": "Domínio gratuito",
|
|
24
|
-
"buyNowButtonLabel": "Comprar Agora",
|
|
25
|
-
"pricePerYearLabel": "/ano",
|
|
26
|
-
"costPriceLabel": "Preço de Custo:"
|
|
27
|
-
},
|
|
28
|
-
"sellDomainNameListModal": {
|
|
29
|
-
"domainSearchHeaderTitle": "Pesquisar um nome de domínio",
|
|
30
|
-
"domainSearchHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca"
|
|
31
|
-
},
|
|
32
|
-
"sellDomainNameModalApplication": {
|
|
33
|
-
"domainSearchHeaderTitle": "Pesquisar um nome de domínio",
|
|
34
|
-
"domainSearchHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca"
|
|
35
|
-
},
|
|
36
|
-
"sellDomainNameSearch": {
|
|
37
|
-
"searchButtonLabel": "Pesquisar",
|
|
38
|
-
"searchBarLabel": "Pesquisar",
|
|
39
|
-
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
40
|
-
"searchBarPreText": "Nome de domínio"
|
|
41
|
-
},
|
|
42
|
-
"sellDomainNameListSearchResult": {
|
|
43
|
-
"domainSearchEmptyMessage": "Não conseguimos encontrar nenhum domínio para \"{domainNameSearchTerm}\".",
|
|
44
|
-
"searchAnotherDomainMessage": "Experimente pesquisar outro nome de domínio."
|
|
45
|
-
},
|
|
46
|
-
"sellDomainNameWidget": {
|
|
47
|
-
"searchButtonLabel": "Pesquisar",
|
|
48
|
-
"searchBarLabel": "Pesquisar",
|
|
49
|
-
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
50
|
-
"domainSearchOrConnectHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca ou associe ao domínio que já tem"
|
|
2
|
+
"publishModal": {
|
|
3
|
+
"test": "PT-Publish Brand Page"
|
|
51
4
|
}
|
|
52
5
|
}
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
{{ title }}
|
|
13
13
|
</p>
|
|
14
14
|
<span
|
|
15
|
-
v-if="
|
|
15
|
+
v-if="showLabel"
|
|
16
16
|
class="tw-text-xs tw-h-4 tw-w-fit tw-text-primary-500 tw-border tw-border-solid tw-border-primary-500 tw-rounded-full tw-px-2 tw-font-sans tw-uppercase"
|
|
17
17
|
>
|
|
18
|
-
|
|
18
|
+
Recommended
|
|
19
19
|
</span>
|
|
20
20
|
</div>
|
|
21
21
|
<p class="tw-mt-2 md:tw-mt-0 tw-text-grayscale-600 tw-text-sm">
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
</div>
|
|
28
28
|
<div v-if="hasSearchButton" class="tw-w-full md:tw-w-auto md:tw-justify-end md:tw-pl-4 desktop-cta">
|
|
29
29
|
<Button
|
|
30
|
-
|
|
30
|
+
label="Search"
|
|
31
31
|
class="tw-flex tw-items-center tw-justify-center md:tw-ml-2 tw-mt-2 md:tw-mt-0 tw-font-sans tw-font-bold tw-transition-colors tw-duration-300 tw-text-sm tw-w-full tw-rounded tw-cursor-pointer tw-w-full md:tw-w-24"
|
|
32
32
|
data-test-brand-page-search-button
|
|
33
33
|
variant="primary"
|
|
34
34
|
size="small-medium"
|
|
35
|
+
@on-click="onClick"
|
|
35
36
|
:class="{
|
|
36
37
|
'tw-uppercase': !isDesignCom,
|
|
37
38
|
}"
|
|
38
|
-
@on-click="onClick"
|
|
39
39
|
/>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
@@ -47,23 +47,23 @@
|
|
|
47
47
|
</div>
|
|
48
48
|
<div v-if="hasSearchButton" class="tw-w-full md:tw-w-auto md:tw-justify-end md:tw-pl-4 mobile-cta tw-mt-2">
|
|
49
49
|
<Button
|
|
50
|
-
|
|
50
|
+
label="Search"
|
|
51
51
|
class="tw-flex tw-items-center tw-justify-center md:tw-ml-2 tw-mt-2 md:tw-mt-0 tw-font-sans tw-font-bold tw-transition-colors tw-duration-300 tw-text-sm tw-w-full tw-rounded tw-cursor-pointer tw-w-full md:tw-w-24"
|
|
52
52
|
data-test-brand-page-search-button
|
|
53
53
|
variant="primary"
|
|
54
54
|
size="small-medium"
|
|
55
55
|
:full-width="true"
|
|
56
|
+
@on-click="onClick"
|
|
56
57
|
:class="{
|
|
57
58
|
'tw-uppercase': !isDesignCom,
|
|
58
59
|
}"
|
|
59
|
-
@on-click="onClick"
|
|
60
60
|
/>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
64
|
</template>
|
|
65
65
|
<script setup lang="ts">
|
|
66
|
-
import Button from '
|
|
66
|
+
import Button from '../../../../src/atoms/components/Button/Button.vue';
|
|
67
67
|
|
|
68
68
|
const props = defineProps({
|
|
69
69
|
title: {
|
|
@@ -86,13 +86,9 @@ const props = defineProps({
|
|
|
86
86
|
type: Boolean,
|
|
87
87
|
default: true,
|
|
88
88
|
},
|
|
89
|
-
|
|
90
|
-
type:
|
|
91
|
-
default:
|
|
92
|
-
},
|
|
93
|
-
pillLabel: {
|
|
94
|
-
type: String,
|
|
95
|
-
default: null,
|
|
89
|
+
showLabel: {
|
|
90
|
+
type: Boolean,
|
|
91
|
+
default: false,
|
|
96
92
|
},
|
|
97
93
|
});
|
|
98
94
|
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import Card from './PublishBrandPageCard.vue';
|
|
2
2
|
import PublishBrandPageModal from './PublishBrandPageModal.vue';
|
|
3
3
|
import { domains } from './__fixtures__/data';
|
|
4
|
-
import { setLocaleAsync } from '../../../useSharedLibTranslate';
|
|
5
4
|
|
|
6
5
|
export default {
|
|
7
6
|
title: 'Components/PublishBrandPageModal',
|
|
8
7
|
component: PublishBrandPageModal,
|
|
9
8
|
};
|
|
10
9
|
|
|
11
|
-
const locale = 'en-US';
|
|
12
|
-
|
|
13
|
-
const loadTranslationAsync = async () => {
|
|
14
|
-
await setLocaleAsync(locale);
|
|
15
|
-
};
|
|
16
|
-
|
|
17
10
|
export const NotPublishedWithPurchasedDomains = () => {
|
|
18
11
|
return {
|
|
19
12
|
components: {
|
|
@@ -22,7 +15,6 @@ export const NotPublishedWithPurchasedDomains = () => {
|
|
|
22
15
|
data() {
|
|
23
16
|
return {
|
|
24
17
|
domains,
|
|
25
|
-
show: false,
|
|
26
18
|
};
|
|
27
19
|
},
|
|
28
20
|
methods: {},
|
|
@@ -42,8 +34,6 @@ export const NotPublishedWithPurchasedDomains = () => {
|
|
|
42
34
|
};
|
|
43
35
|
};
|
|
44
36
|
|
|
45
|
-
NotPublishedWithPurchasedDomains.loaders = [loadTranslationAsync];
|
|
46
|
-
|
|
47
37
|
export const PublishWithSelectedDomain = () => {
|
|
48
38
|
return {
|
|
49
39
|
components: {
|
|
@@ -85,8 +75,6 @@ export const PublishWithSelectedDomain = () => {
|
|
|
85
75
|
};
|
|
86
76
|
};
|
|
87
77
|
|
|
88
|
-
PublishWithSelectedDomain.loaders = [loadTranslationAsync];
|
|
89
|
-
|
|
90
78
|
export const SetSlug = () => {
|
|
91
79
|
return {
|
|
92
80
|
components: {
|
|
@@ -113,9 +101,6 @@ export const SetSlug = () => {
|
|
|
113
101
|
`,
|
|
114
102
|
};
|
|
115
103
|
};
|
|
116
|
-
|
|
117
|
-
SetSlug.loaders = [loadTranslationAsync];
|
|
118
|
-
|
|
119
104
|
export const Published = () => {
|
|
120
105
|
return {
|
|
121
106
|
components: {
|
|
@@ -141,9 +126,6 @@ export const Published = () => {
|
|
|
141
126
|
`,
|
|
142
127
|
};
|
|
143
128
|
};
|
|
144
|
-
|
|
145
|
-
Published.loaders = [loadTranslationAsync];
|
|
146
|
-
|
|
147
129
|
export const PublishedNoDomains = () => {
|
|
148
130
|
return {
|
|
149
131
|
components: {
|
|
@@ -171,9 +153,6 @@ export const PublishedNoDomains = () => {
|
|
|
171
153
|
`,
|
|
172
154
|
};
|
|
173
155
|
};
|
|
174
|
-
|
|
175
|
-
PublishedNoDomains.loaders = [loadTranslationAsync];
|
|
176
|
-
|
|
177
156
|
export const Free = () => {
|
|
178
157
|
return {
|
|
179
158
|
components: {
|
|
@@ -222,5 +201,3 @@ export const Free = () => {
|
|
|
222
201
|
`,
|
|
223
202
|
};
|
|
224
203
|
};
|
|
225
|
-
|
|
226
|
-
Free.loaders = [loadTranslationAsync];
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
>
|
|
12
12
|
<template #header>
|
|
13
13
|
<div v-if="isNotPublished || isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8 tw-text-4xl">
|
|
14
|
-
<span>{{
|
|
14
|
+
<span>Set the URL for your {{ brandPageDisplayName }}</span>
|
|
15
15
|
</div>
|
|
16
16
|
<div v-if="isPublished && !isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8">
|
|
17
|
-
<p class="tw-font-bold tw-text-black tw-mb-2 tw-text-4xl">
|
|
17
|
+
<p class="tw-font-bold tw-text-black tw-mb-2 tw-text-4xl">Site published!</p>
|
|
18
18
|
<p v-if="hasPurchasedDomains || isCustomDomainActive" class="tw-text-grayscale-600 tw-mb-8">
|
|
19
|
-
{{
|
|
19
|
+
Your {{ brandPageDisplayName }} is live! Start using your link:
|
|
20
20
|
</p>
|
|
21
21
|
<p v-else class="tw-text-grayscale-600 tw-mb-8 tw-font-normal">
|
|
22
|
-
{{
|
|
22
|
+
{{ headerSubtitle }}
|
|
23
23
|
</p>
|
|
24
24
|
</div>
|
|
25
25
|
</template>
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
for="domain-type"
|
|
45
45
|
class="tw-font-sans tw-w-full tw-text-grayscale-600 tw-text-sm tw-cursor-pointer tw-ml-2"
|
|
46
46
|
>
|
|
47
|
-
<span class="tw-inline-block tw-rounded-full">
|
|
47
|
+
<span class="tw-inline-block tw-rounded-full">Free domain</span>
|
|
48
48
|
</label>
|
|
49
49
|
</div>
|
|
50
50
|
<div v-if="isNotPublished || isSlugEditMode" class="tw-mt-4">
|
|
51
51
|
<PublishBrandPageCard
|
|
52
52
|
v-if="!hasPurchasedDomains"
|
|
53
53
|
:img-url="iconUrl"
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
title="Free Address"
|
|
55
|
+
description="Choose a free address to publish now. You can always edit the URL later"
|
|
56
56
|
:is-design-com="isDesignCom"
|
|
57
57
|
:has-search-button="false"
|
|
58
58
|
>
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
</div>
|
|
79
79
|
</div>
|
|
80
80
|
<Button
|
|
81
|
-
|
|
81
|
+
label="Publish"
|
|
82
82
|
:disabled="isPublishingDisabled"
|
|
83
83
|
class="tw-flex tw-items-center tw-justify-center md:tw-ml-2 tw-mt-2 md:tw-mt-0 tw-font-sans tw-font-bold tw-transition-colors tw-duration-300 tw-text-sm tw-w-full tw-rounded tw-cursor-pointer tw-w-full md:tw-w-24"
|
|
84
84
|
data-test-brand-page-publish-button
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
for="domain-type"
|
|
129
129
|
class="tw-font-sans tw-w-full tw-text-grayscale-600 tw-text-sm tw-cursor-pointer tw-ml-2"
|
|
130
130
|
>
|
|
131
|
-
<span class="tw-inline-block tw-rounded-full">
|
|
131
|
+
<span class="tw-inline-block tw-rounded-full">Purchased domain</span>
|
|
132
132
|
</label>
|
|
133
133
|
</div>
|
|
134
134
|
<div class="tw-mt-4 domain-dropdown">
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
:class="{
|
|
144
144
|
'tw-text-grayscale-600 tw-font-normal': !selectedCustomDomain,
|
|
145
145
|
}"
|
|
146
|
-
:title="(selectedCustomDomain && selectedCustomDomain.domainName) ||
|
|
146
|
+
:title="(selectedCustomDomain && selectedCustomDomain.domainName) || 'Select domain name'"
|
|
147
147
|
>
|
|
148
148
|
<DropdownItem
|
|
149
149
|
v-for="purchasedDomain of domains"
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
:style="isMobile ? 'padding-left: 1.5rem; padding-right: 1.5rem;' : ''"
|
|
168
168
|
>
|
|
169
169
|
<Button
|
|
170
|
-
:label="isSlugEditMode ?
|
|
170
|
+
:label="isSlugEditMode ? 'Set URL' : 'Publish'"
|
|
171
171
|
:variant="isDesignCom ? 'primary' : 'primary-with-icon'"
|
|
172
172
|
icon="chevron-right-wide"
|
|
173
173
|
:disabled="isPublishingDisabled"
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
@on-click="onPublish"
|
|
178
178
|
/>
|
|
179
179
|
<Button
|
|
180
|
-
|
|
180
|
+
label="No thanks, maybe later"
|
|
181
181
|
variant="no-border"
|
|
182
182
|
size="large"
|
|
183
183
|
class="tw-my-4"
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
/>
|
|
201
201
|
</div>
|
|
202
202
|
<Button
|
|
203
|
-
|
|
203
|
+
label="VIEW MORE DOMAINS"
|
|
204
204
|
variant="no-border"
|
|
205
205
|
size="small-medium"
|
|
206
206
|
class="tw-text-center"
|
|
@@ -211,13 +211,11 @@
|
|
|
211
211
|
<TextCopyField
|
|
212
212
|
button-variant="secondary"
|
|
213
213
|
:text="brandPageUrl"
|
|
214
|
-
:default-copy-button-text="copyLabel"
|
|
215
|
-
:copied-button-text="copySuccessLabel"
|
|
216
214
|
data-test-brand-page-copy-input
|
|
217
215
|
@on-click="onCopyUrlClick"
|
|
218
216
|
/>
|
|
219
217
|
<Button
|
|
220
|
-
:label="
|
|
218
|
+
:label="`View ${brandPageDisplayName}`"
|
|
221
219
|
:variant="isDesignCom ? 'primary' : 'primary-with-icon'"
|
|
222
220
|
icon="chevron-right-wide"
|
|
223
221
|
size="medium"
|
|
@@ -248,6 +246,7 @@
|
|
|
248
246
|
</div>
|
|
249
247
|
</template>
|
|
250
248
|
<script>
|
|
249
|
+
import { computed } from 'vue';
|
|
251
250
|
import Modal from '../../../atoms/components/Modal/Modal.vue';
|
|
252
251
|
import PublishBrandPageCard from './PublishBrandPageCard.vue';
|
|
253
252
|
import TextInput from '../../../atoms/components/TextInput/TextInput.vue';
|
|
@@ -263,6 +262,8 @@ import Events, { sitePublishedModal } from '../../constants/event-constants';
|
|
|
263
262
|
import mediaQueryMixin from '../../mixins/mediaQueryMixin';
|
|
264
263
|
import { tr } from '../../../useSharedLibTranslate';
|
|
265
264
|
|
|
265
|
+
const headerSubtitle = 'Buy matching domain name for your brand';
|
|
266
|
+
|
|
266
267
|
const DOMAIN_TYPES = {
|
|
267
268
|
slug: 'slug',
|
|
268
269
|
purchased: 'purchased',
|
|
@@ -417,21 +418,7 @@ export default {
|
|
|
417
418
|
setup() {
|
|
418
419
|
return {
|
|
419
420
|
tr,
|
|
420
|
-
|
|
421
|
-
freePublishCardTitleLabel: tr('publishBrandPageModal.freePublishCardTitleLabel'),
|
|
422
|
-
freePublishCardDescriptionLabel: tr('publishBrandPageModal.freePublishCardDescriptionLabel'),
|
|
423
|
-
slugInputPlaceholderYourNameLabel: tr('publishBrandPageModal.slugInputPlaceholderYourNameLabel'),
|
|
424
|
-
slugInputPlaceholderYourBusinessNameLabel: tr('publishBrandPageModal.slugInputPlaceholderYourBusinessNameLabel'),
|
|
425
|
-
freeDomainLabel: tr('publishBrandPageModal.freeDomainLabel'),
|
|
426
|
-
purchasedDomainLabel: tr('publishBrandPageModal.purchasedDomainLabel'),
|
|
427
|
-
setUrlLabel: tr('publishBrandPageModal.setUrlLabel'),
|
|
428
|
-
publishLabel: tr('publishBrandPageModal.publishLabel'),
|
|
429
|
-
viewMoreDomainLabel: tr('publishBrandPageModal.viewMoreDomainLabel'),
|
|
430
|
-
copyLabel: tr('publishBrandPageModal.copyLabel'),
|
|
431
|
-
copySuccessLabel: tr('publishBrandPageModal.copySuccessLabel'),
|
|
432
|
-
hasAlreadyPurchasedDomainCloseButtonLabel: tr('publishBrandPageModal.hasAlreadyPurchasedDomainCloseButtonLabel'),
|
|
433
|
-
publishedSuccessDescriptionLabel: tr('publishBrandPageModal.publishedSuccessDescriptionLabel'),
|
|
434
|
-
selectDomainDropdownPlaceholder: tr('publishBrandPageModal.selectDomainDropdownPlaceholder'),
|
|
421
|
+
testMessage: computed(() => tr('publishModal.test')),
|
|
435
422
|
};
|
|
436
423
|
},
|
|
437
424
|
data() {
|
|
@@ -440,6 +427,7 @@ export default {
|
|
|
440
427
|
domainTypeValue: this.radioValue,
|
|
441
428
|
internalSlug: this.brandPageSlug,
|
|
442
429
|
selectedCustomDomain: this.customDomain,
|
|
430
|
+
headerSubtitle,
|
|
443
431
|
userCurrency: undefined,
|
|
444
432
|
isModalVisible: false,
|
|
445
433
|
isLoading: false,
|
|
@@ -450,21 +438,6 @@ export default {
|
|
|
450
438
|
};
|
|
451
439
|
},
|
|
452
440
|
computed: {
|
|
453
|
-
firstTimePublishHeaderLabel() {
|
|
454
|
-
return this.tr('publishBrandPageModal.firstTimePublishHeaderLabel', {
|
|
455
|
-
brandPageDisplayName: this.brandPageDisplayName,
|
|
456
|
-
});
|
|
457
|
-
},
|
|
458
|
-
publishSuccessLabel() {
|
|
459
|
-
return this.tr('publishBrandPageModal.publishSuccessLabel', {
|
|
460
|
-
brandPageDisplayName: this.brandPageDisplayName,
|
|
461
|
-
});
|
|
462
|
-
},
|
|
463
|
-
viewMyWebsiteLabel() {
|
|
464
|
-
return this.tr('publishBrandPageModal.viewMyWebsiteLabel', {
|
|
465
|
-
brandPageDisplayName: this.brandPageDisplayName,
|
|
466
|
-
});
|
|
467
|
-
},
|
|
468
441
|
allowPublish() {
|
|
469
442
|
if (this.domainTypeValue === DOMAIN_TYPES.slug) {
|
|
470
443
|
return this.internalSlug && !this.slugValidationError;
|
|
@@ -493,9 +466,7 @@ export default {
|
|
|
493
466
|
return !this.allowPublish || this.isPublishing;
|
|
494
467
|
},
|
|
495
468
|
getPlaceHolder() {
|
|
496
|
-
return this.brandPageType === 'brandContact'
|
|
497
|
-
? this.slugInputPlaceholderYourNameLabel
|
|
498
|
-
: this.slugInputPlaceholderYourBusinessNameLabel;
|
|
469
|
+
return this.brandPageType === 'brandContact' ? 'your-name' : 'your-business-name';
|
|
499
470
|
},
|
|
500
471
|
},
|
|
501
472
|
watch: {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{{ item.domainName }}
|
|
23
23
|
</div>
|
|
24
24
|
<div v-if="item.costPrice" class="tw-text-xs tw-text-grayscale-600 tw-flex tw-items-center">
|
|
25
|
-
<span class="tw-mr-2">
|
|
25
|
+
<span class="tw-mr-2"> Cost Price: </span>
|
|
26
26
|
<Price
|
|
27
27
|
class="tw-font-bold"
|
|
28
28
|
:amount="getCostPrice(item)"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
:currency="currency"
|
|
31
31
|
fraction="2"
|
|
32
32
|
:show-abbreviation="false"
|
|
33
|
-
|
|
33
|
+
suffix="/yr"
|
|
34
34
|
/>
|
|
35
35
|
</div>
|
|
36
36
|
<div v-if="!isFree(item) || item.costPrice" class="tw-px-0 tw-mt-4 sm:tw-px-4 sm:tw-mt-0">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
:currency="currency"
|
|
42
42
|
fraction="2"
|
|
43
43
|
:show-abbreviation="false"
|
|
44
|
-
|
|
44
|
+
suffix="/yr"
|
|
45
45
|
/>
|
|
46
46
|
</div>
|
|
47
47
|
</div>
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
</div>
|
|
64
64
|
</template>
|
|
65
65
|
<script>
|
|
66
|
-
import Button from '
|
|
67
|
-
import Price from '
|
|
66
|
+
import Button from '../../../../src/atoms/components/Button/Button.vue';
|
|
67
|
+
import Price from '../../../../src/atoms/components/Price/Price.vue';
|
|
68
|
+
|
|
68
69
|
import Events from '../../constants/event-constants';
|
|
69
|
-
import { tr } from '../../../useSharedLibTranslate';
|
|
70
70
|
|
|
71
71
|
export default {
|
|
72
72
|
components: {
|
|
@@ -108,14 +108,6 @@ export default {
|
|
|
108
108
|
},
|
|
109
109
|
},
|
|
110
110
|
emits: ['load-more-domains'],
|
|
111
|
-
setup() {
|
|
112
|
-
return {
|
|
113
|
-
freeDomainButtonLabel: tr('sellDomainNameList.freeDomainButtonLabel'),
|
|
114
|
-
buyNowButtonLabel: tr('sellDomainNameList.buyNowButtonLabel'),
|
|
115
|
-
pricePerYearLabel: tr('sellDomainNameList.pricePerYearLabel'),
|
|
116
|
-
costPriceLabel: tr('sellDomainNameList.costPriceLabel'),
|
|
117
|
-
};
|
|
118
|
-
},
|
|
119
111
|
methods: {
|
|
120
112
|
onBuyNowClick(domain) {
|
|
121
113
|
const request = domain;
|
|
@@ -142,7 +134,7 @@ export default {
|
|
|
142
134
|
return parseFloat(domain.price) === 0;
|
|
143
135
|
},
|
|
144
136
|
getPurchaseLabel(domain) {
|
|
145
|
-
return this.isFree(domain) ?
|
|
137
|
+
return this.isFree(domain) ? 'Free Domain' : 'Buy Now';
|
|
146
138
|
},
|
|
147
139
|
},
|
|
148
140
|
};
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
<SellDomainNameSearch
|
|
14
14
|
v-if="visible"
|
|
15
15
|
:is-design-com="isDesignCom"
|
|
16
|
-
:header-title="headerTitle
|
|
17
|
-
:header-subtitle="headerSubtitle
|
|
16
|
+
:header-title="headerTitle"
|
|
17
|
+
:header-subtitle="headerSubtitle"
|
|
18
18
|
:initial-search-term="modelValue"
|
|
19
19
|
@onSearch="onSearch"
|
|
20
20
|
@onSearchTextInputChange="onSearchTextInputChange"
|
|
@@ -34,12 +34,14 @@
|
|
|
34
34
|
</Modal>
|
|
35
35
|
</template>
|
|
36
36
|
<script>
|
|
37
|
-
import Modal from '
|
|
38
|
-
import { tr } from '../../../useSharedLibTranslate';
|
|
37
|
+
import Modal from '../../../../src/atoms/components/Modal/Modal.vue';
|
|
39
38
|
|
|
40
39
|
import SellDomainNameSearch from '../SellDomainNameSearch/SellDomainNameSearch.vue';
|
|
41
40
|
import SellDomainNameSearchResult from '../SellDomainNameSearchResult/SellDomainNameListSearchResult.vue';
|
|
42
41
|
|
|
42
|
+
const headerSubtitle = 'Buy matching domain name for your brand';
|
|
43
|
+
const headerTitle = 'Search a domain name';
|
|
44
|
+
|
|
43
45
|
export default {
|
|
44
46
|
components: {
|
|
45
47
|
Modal,
|
|
@@ -58,11 +60,11 @@ export default {
|
|
|
58
60
|
},
|
|
59
61
|
headerSubtitle: {
|
|
60
62
|
type: String,
|
|
61
|
-
default:
|
|
63
|
+
default: () => headerSubtitle,
|
|
62
64
|
},
|
|
63
65
|
headerTitle: {
|
|
64
66
|
type: String,
|
|
65
|
-
default:
|
|
67
|
+
default: () => headerTitle,
|
|
66
68
|
},
|
|
67
69
|
isBusy: {
|
|
68
70
|
type: Boolean,
|
|
@@ -92,12 +94,6 @@ export default {
|
|
|
92
94
|
},
|
|
93
95
|
},
|
|
94
96
|
emits: ['close-modal', 'input', 'search'],
|
|
95
|
-
setup() {
|
|
96
|
-
return {
|
|
97
|
-
domainSearchHeaderTitle: tr('sellDomainNameListModal.domainSearchHeaderTitle'),
|
|
98
|
-
domainSearchHeaderSubtitle: tr('sellDomainNameListModal.domainSearchHeaderSubtitle'),
|
|
99
|
-
};
|
|
100
|
-
},
|
|
101
97
|
methods: {
|
|
102
98
|
onSearch() {
|
|
103
99
|
this.$emit('search');
|