@designcrowd/library.brand-page 5.15.7 → 5.15.9
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/lib/src/{CreatedOnBrandCrowd-de-de-Dxl7b9V_.js → CreatedOnBrandCrowd-de-de-Dux0pPzH.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-CEoIeAOI.js → CreatedOnBrandCrowd-en-us-DdX-BCYY.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-DL9xtWpJ.js → CreatedOnBrandCrowd-es-es-FFHogrlS.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-BJ__NUm8.js → CreatedOnBrandCrowd-fr-ca-QRfNjk4W.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-BJ__NUm8.js → CreatedOnBrandCrowd-fr-fr-QRfNjk4W.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-NbMBfyBa.js → CreatedOnBrandCrowd-pt-br-CUt4wARb.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-NbMBfyBa.js → CreatedOnBrandCrowd-pt-pt-CUt4wARb.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-BlK-NeP_.js → CreatedOnDcom-de-de-AkHNT2rf.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-BGAYF0EZ.js → CreatedOnDcom-en-us-tmy08WsC.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BB2kXsQh.js → CreatedOnDcom-es-es-CMdNYftK.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-g8XVHBzq.js → CreatedOnDcom-fr-ca-B2W89sMa.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr--t1jyGv8.js → CreatedOnDcom-fr-fr-CPpEHyDk.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-CyVpuXts.js → CreatedOnDcom-pt-br-gZEwuLbQ.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-OoWc5iXY.js → CreatedOnDcom-pt-pt-D7TejQ5j.js} +1 -1
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.d.ts +8 -8
- package/lib/src/brand-page/components/page-footer/PageFooter.mixin.js +3 -3
- package/lib/src/brand-page/components/page-header/PageHeader.mixin.d.ts +8 -8
- package/lib/src/brand-page/components/page-header/PageHeader.mixin.js +3 -3
- package/lib/src/css/library.brand-page-brandCrowd.min.css +27 -27
- package/lib/src/css/library.brand-page-brandPage.min.css +27 -27
- package/lib/src/css/library.brand-page-designCom.min.css +27 -27
- package/lib/src/css/library.brand-page-preview.min.css +27 -27
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-CpmXOBrP.js → lib-DTrTcTHO.js} +39 -41
- package/package.json +1 -1
- package/src/brand-page/components/logo/Logo.vue +8 -8
- package/src/brand-page/components/logo/LogoRender.vue +2 -2
- package/src/brand-page/components/page/Page.vue +2 -4
- package/src/brand-page/components/page-footer/PageFooter.mixin.ts +4 -4
- package/src/brand-page/components/page-footer/PageFooter.vue +1 -1
- package/src/brand-page/components/page-header/PageHeader.mixin.ts +4 -4
- package/src/brand-page/components/page-header/PageHeader.vue +1 -1
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
:has-margin-bottom="hasMarginBottom"
|
|
37
37
|
:alt-text="altText"
|
|
38
38
|
:view-model="viewModel"
|
|
39
|
-
:
|
|
39
|
+
:is-mobile="isMobile"
|
|
40
40
|
/>
|
|
41
41
|
</LazyHydrationWrapper>
|
|
42
42
|
<LogoRender
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
:has-margin-bottom="hasMarginBottom"
|
|
51
51
|
:alt-text="altText"
|
|
52
52
|
:view-model="viewModel"
|
|
53
|
-
:
|
|
53
|
+
:is-mobile="isMobile"
|
|
54
54
|
/>
|
|
55
55
|
</router-link>
|
|
56
56
|
</div>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
:is-brand-page-or-is-brand-contact="
|
|
72
72
|
context.isBrandPageOrIsBrandContact
|
|
73
73
|
"
|
|
74
|
-
:
|
|
74
|
+
:is-mobile="isMobile"
|
|
75
75
|
/>
|
|
76
76
|
</LazyHydrationWrapper>
|
|
77
77
|
<LogoRender
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
:has-margin-bottom="hasMarginBottom"
|
|
84
84
|
:alt-text="altText"
|
|
85
85
|
:view-model="viewModel"
|
|
86
|
-
:
|
|
86
|
+
:is-mobile="isMobile"
|
|
87
87
|
/>
|
|
88
88
|
</template>
|
|
89
89
|
</div>
|
|
@@ -127,10 +127,10 @@ const props = defineProps({
|
|
|
127
127
|
type: Boolean,
|
|
128
128
|
required: false,
|
|
129
129
|
},
|
|
130
|
-
|
|
131
|
-
type:
|
|
130
|
+
isMobile: {
|
|
131
|
+
type: Boolean,
|
|
132
132
|
required: false,
|
|
133
|
-
default:
|
|
133
|
+
default: false,
|
|
134
134
|
},
|
|
135
135
|
});
|
|
136
136
|
|
|
@@ -139,7 +139,7 @@ const altText = computed(() =>
|
|
|
139
139
|
);
|
|
140
140
|
|
|
141
141
|
const logoMaxWidth = computed(() => {
|
|
142
|
-
if (props.
|
|
142
|
+
if (props.isMobile) {
|
|
143
143
|
return `${LOGO_SLIDER_MOBILE_MAX}rem`;
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -60,7 +60,7 @@ const props = withDefaults(
|
|
|
60
60
|
isBrandPageOrIsBrandContact: boolean;
|
|
61
61
|
viewModel?: LogoViewModel;
|
|
62
62
|
altText: string;
|
|
63
|
-
|
|
63
|
+
isMobile?: boolean;
|
|
64
64
|
}>(),
|
|
65
65
|
{
|
|
66
66
|
isPreview: false,
|
|
@@ -108,7 +108,7 @@ const logoWidth = computed(() => {
|
|
|
108
108
|
});
|
|
109
109
|
|
|
110
110
|
const logoMaxWidth = computed(() => {
|
|
111
|
-
if (props.
|
|
111
|
+
if (props.isMobile) {
|
|
112
112
|
return `${LOGO_SLIDER_MOBILE_MAX}rem`;
|
|
113
113
|
}
|
|
114
114
|
return `${LOGO_SLIDER_DESKTOP_MAX}rem`;
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
<PageHeader
|
|
33
33
|
nav-id="nav-1"
|
|
34
34
|
:view-model="viewModel.headerViewModelDesktop"
|
|
35
|
-
:viewport="viewport"
|
|
36
35
|
:context="context"
|
|
37
36
|
:class="{
|
|
38
37
|
'tw-cursor-pointer': context.isPreview,
|
|
@@ -46,7 +45,6 @@
|
|
|
46
45
|
<PageHeader
|
|
47
46
|
nav-id="nav-2"
|
|
48
47
|
:view-model="viewModel.headerViewModelMobile"
|
|
49
|
-
:viewport="viewport"
|
|
50
48
|
:context="context"
|
|
51
49
|
:class="{
|
|
52
50
|
'tw-cursor-pointer': context.isPreview,
|
|
@@ -54,6 +52,7 @@
|
|
|
54
52
|
}"
|
|
55
53
|
@open-side-menu="openSideMenu"
|
|
56
54
|
@header-container-click="onPageHeaderContainerClick"
|
|
55
|
+
:is-mobile="true"
|
|
57
56
|
/>
|
|
58
57
|
</template>
|
|
59
58
|
</MediaQuery>
|
|
@@ -191,7 +190,6 @@
|
|
|
191
190
|
<template #desktop>
|
|
192
191
|
<PageFooter
|
|
193
192
|
:view-model="viewModel.footerViewModelDesktop"
|
|
194
|
-
:viewport="viewport"
|
|
195
193
|
:context="context"
|
|
196
194
|
:class="{
|
|
197
195
|
'tw-cursor-pointer': context.isPreview,
|
|
@@ -206,7 +204,6 @@
|
|
|
206
204
|
<template #mobile>
|
|
207
205
|
<PageFooter
|
|
208
206
|
:view-model="viewModel.footerViewModelMobile"
|
|
209
|
-
:viewport="viewport"
|
|
210
207
|
:context="context"
|
|
211
208
|
:class="{
|
|
212
209
|
'tw-cursor-pointer': context.isPreview,
|
|
@@ -216,6 +213,7 @@
|
|
|
216
213
|
:show-brand-crowd-logo="showBrandCrowdLogo"
|
|
217
214
|
@footer-container-click="onPageFooterContainerClick"
|
|
218
215
|
@on-logo-click="onLogoClick"
|
|
216
|
+
;is-mobile="true"
|
|
219
217
|
/>
|
|
220
218
|
</template>
|
|
221
219
|
</MediaQuery>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import type { PageFooterViewModel } from '../../view-models';
|
|
3
3
|
import type { PropType } from 'vue';
|
|
4
|
-
import type { BrandPageContext
|
|
4
|
+
import type { BrandPageContext } from '../../models';
|
|
5
5
|
import { getRenderText } from '../../utils';
|
|
6
6
|
import { FOOTER_DISPLAY } from '../../constants';
|
|
7
7
|
|
|
@@ -19,10 +19,10 @@ export default defineComponent({
|
|
|
19
19
|
type: Boolean,
|
|
20
20
|
required: true,
|
|
21
21
|
},
|
|
22
|
-
|
|
23
|
-
type:
|
|
22
|
+
isMobile: {
|
|
23
|
+
type: Boolean,
|
|
24
24
|
required: false,
|
|
25
|
-
default:
|
|
25
|
+
default: false,
|
|
26
26
|
},
|
|
27
27
|
},
|
|
28
28
|
emits: ['on-logo-click', 'footer-container-click'],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
import type { BrandPageContext
|
|
3
|
+
import type { BrandPageContext } from '../../models';
|
|
4
4
|
import type { PageHeaderViewModel } from '../../view-models';
|
|
5
5
|
import { LOGO_SLIDER_DESKTOP_MAX } from '../../constants';
|
|
6
6
|
|
|
@@ -18,10 +18,10 @@ export default defineComponent({
|
|
|
18
18
|
type: Object as PropType<BrandPageContext>,
|
|
19
19
|
required: true,
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
type:
|
|
21
|
+
isMobile: {
|
|
22
|
+
type: Boolean,
|
|
23
23
|
required: false,
|
|
24
|
-
default:
|
|
24
|
+
default: false,
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
data: function () {
|