@designcrowd/fe-shared-lib 1.0.8-ml-i18n-4 → 1.0.8-ml-i18n-6
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/package.json
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div v-if="
|
|
2
|
+
<div v-if="showKeypathTermsAndConditions" class="tw-text-center tw-text-sm tw-mt-4 tw-mb-2 tw-text-grayscale-600">
|
|
3
3
|
<i18n-t :keypath="termsAndConditionsContentKeyPath">
|
|
4
4
|
<template #termsOfUseLabel>
|
|
5
|
-
<a
|
|
5
|
+
<a
|
|
6
|
+
:href="termsAndConditionsLink"
|
|
7
|
+
target="_blank"
|
|
8
|
+
class="tw-text-info-500"
|
|
9
|
+
:class="{ 'hover:tw-underline': isDesignCom }"
|
|
10
|
+
>
|
|
6
11
|
{{ termsOfUseLabel }}
|
|
7
12
|
</a>
|
|
8
13
|
</template>
|
|
9
14
|
<template #privacyPolicyLabel>
|
|
10
|
-
<a
|
|
15
|
+
<a
|
|
16
|
+
:href="privacyPolicyLink"
|
|
17
|
+
target="_blank"
|
|
18
|
+
class="tw-text-info-500"
|
|
19
|
+
:class="{ 'hover:tw-underline': isDesignCom }"
|
|
20
|
+
>
|
|
11
21
|
{{ privacyPolicyLabel }}
|
|
12
22
|
</a>
|
|
13
23
|
</template>
|
|
@@ -33,16 +43,13 @@
|
|
|
33
43
|
<a :href="privacyPolicyUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }"
|
|
34
44
|
>Privacy Policy</a
|
|
35
45
|
>
|
|
36
|
-
<span>
|
|
37
|
-
and agree to receive future updates from {{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span
|
|
38
|
-
>
|
|
46
|
+
<span> and agree to receive future updates from {{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span>
|
|
39
47
|
</p>
|
|
40
48
|
</template>
|
|
41
49
|
|
|
42
50
|
<script>
|
|
43
51
|
import themeMixin from '../../mixins/themeMixin';
|
|
44
52
|
import { LEGAL } from '../../constants/partner-dictionary-constants';
|
|
45
|
-
import { string } from 'yargs';
|
|
46
53
|
|
|
47
54
|
export default {
|
|
48
55
|
mixins: [themeMixin],
|
|
@@ -68,7 +75,7 @@ export default {
|
|
|
68
75
|
type: String,
|
|
69
76
|
required: false,
|
|
70
77
|
default: undefined,
|
|
71
|
-
}
|
|
78
|
+
},
|
|
72
79
|
},
|
|
73
80
|
data() {
|
|
74
81
|
return {
|
|
@@ -93,6 +100,9 @@ export default {
|
|
|
93
100
|
}
|
|
94
101
|
return this.privacyPolicyUrl;
|
|
95
102
|
},
|
|
103
|
+
showKeypathTermsAndConditions() {
|
|
104
|
+
return !this.isPartnerTheme && !!this.termsAndConditionsContentKeyPath && !!this.termsAndConditions
|
|
105
|
+
},
|
|
96
106
|
},
|
|
97
107
|
};
|
|
98
108
|
</script>
|
|
@@ -116,11 +116,7 @@
|
|
|
116
116
|
:is-design-com="isDesignCom"
|
|
117
117
|
:terms-and-conditions="termsAndConditions"
|
|
118
118
|
:terms-and-conditions-content-key-path="termsAndConditionsContentKeyPath"
|
|
119
|
-
|
|
120
|
-
<template name="authLegal">
|
|
121
|
-
<slot name="termsAndConditions" />
|
|
122
|
-
</template>
|
|
123
|
-
</AuthLegal>
|
|
119
|
+
/>
|
|
124
120
|
</div>
|
|
125
121
|
|
|
126
122
|
<div v-if="!!loginWithFacebookUrl || !!loginWithGoogleUrl" class="tw-text-center tw-text-grayscale-600">
|
|
@@ -166,8 +162,8 @@
|
|
|
166
162
|
</div>
|
|
167
163
|
</template>
|
|
168
164
|
<script>
|
|
169
|
-
import HelloBar from '
|
|
170
|
-
import Button from '
|
|
165
|
+
import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
|
|
166
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
171
167
|
import SubmissionButton from './SubmissionButton.vue';
|
|
172
168
|
import AuthLegal from './AuthLegal.vue';
|
|
173
169
|
import themeMixin from '../../mixins/themeMixin';
|
|
@@ -82,11 +82,7 @@
|
|
|
82
82
|
:is-design-com="isDesignCom"
|
|
83
83
|
:terms-and-conditions="termsAndConditions"
|
|
84
84
|
:terms-and-conditions-content-key-path="termsAndConditionsContentKeyPath"
|
|
85
|
-
|
|
86
|
-
<template name="authLegal">
|
|
87
|
-
<slot name="termsAndConditions" />
|
|
88
|
-
</template>
|
|
89
|
-
</AuthLegal>
|
|
85
|
+
/>
|
|
90
86
|
<div v-if="!!loginWithFacebookUrl || !!loginWithGoogleUrl" class="tw-text-center tw-text-grayscale-600">
|
|
91
87
|
<div class="tw-w-full tw-inline-flex tw-items-center tw-mb-4">
|
|
92
88
|
<div class="tw-grow tw-h-0 tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-px-4"></div>
|
|
@@ -113,8 +109,8 @@
|
|
|
113
109
|
</div>
|
|
114
110
|
</template>
|
|
115
111
|
<script>
|
|
116
|
-
import HelloBar from '
|
|
117
|
-
import Button from '
|
|
112
|
+
import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
|
|
113
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
118
114
|
|
|
119
115
|
import SocialSignIn from './SocialSignIn.vue';
|
|
120
116
|
import SubmissionButton from './SubmissionButton.vue';
|