@designcrowd/library.brand-page 5.12.4 → 5.12.5-ast-booking

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 (110) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-BXfAb_Ly.js → CreatedOnBrandCrowd-de-de-B5KouJJt.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BvCOvRuk.js → CreatedOnBrandCrowd-en-us-CDBIOkYS.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-eAe6KBvm.js → CreatedOnBrandCrowd-es-es-B2uv6JJc.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-DVSPg9Qi.js → CreatedOnBrandCrowd-fr-fr-DwFtmsuM.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-pt-pt-W42s3fa-.js → CreatedOnBrandCrowd-pt-pt-Umqbw3cI.js} +1 -1
  6. package/lib/src/{CreatedOnDcom-de-de-B_S0e0e_.js → CreatedOnDcom-de-de-CzZVKMix.js} +1 -1
  7. package/lib/src/{CreatedOnDcom-en-us-Bi-x7Vfr.js → CreatedOnDcom-en-us-DewdA5AU.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-es-es-BlLjTmrS.js → CreatedOnDcom-es-es-CZve73aI.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-fr-fr-D2UQl6bI.js → CreatedOnDcom-fr-fr-BQlgLAmh.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-pt-pt-D-x98ymB.js → CreatedOnDcom-pt-pt-BkShsjOl.js} +1 -1
  11. package/lib/src/brand-page/components/icon/Icon.mixin.d.ts +7 -0
  12. package/lib/src/brand-page/components/icon/Icon.mixin.js +14 -0
  13. package/lib/src/brand-page/models/content.model.d.ts +1 -0
  14. package/lib/src/brand-page/models/content.model.js +1 -0
  15. package/lib/src/brand-page/models/index.d.ts +16 -0
  16. package/lib/src/brand-page/utils/content-callback-util.d.ts +2 -1
  17. package/lib/src/brand-page/utils/content-callback-util.js +3 -0
  18. package/lib/src/brand-page/utils/style.util.js +1 -1
  19. package/lib/src/brand-page/utils/view-model.util.d.ts +3 -2
  20. package/lib/src/brand-page/utils/view-model.util.js +14 -0
  21. package/lib/src/brand-page/view-models.d.ts +6 -2
  22. package/lib/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.d.ts +4 -4
  23. package/lib/src/brand-page-maker/assessors/banner-section-field.assessor.d.ts +4 -4
  24. package/lib/src/brand-page-maker/components/admin-logo-settings/AdminLogoSettings.mixin.d.ts +2 -2
  25. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +18 -18
  26. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +20 -20
  27. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.d.ts +3 -2
  28. package/lib/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.js +29 -2
  29. package/lib/src/brand-page-maker/composables/useEventTracker.d.ts +4 -0
  30. package/lib/src/brand-page-maker/composables/useEventTracker.js +4 -0
  31. package/lib/src/brand-page-maker/constants/config-settings-constant.d.ts +2 -1
  32. package/lib/src/brand-page-maker/constants/config-settings-constant.js +101 -1
  33. package/lib/src/brand-page-maker/models/content-settings.d.ts +2 -1
  34. package/lib/src/brand-page-maker/models/content-settings.js +28 -0
  35. package/lib/src/brand-page-maker/validators/section-button.validator.d.ts +3 -3
  36. package/lib/src/{bundled-translations-C4LWPXSH.js → bundled-translations-BZJKPEb9.js} +42 -40
  37. package/lib/src/{bundled-translations-yNXD14vd.js → bundled-translations-CD8h4dNr.js} +15 -13
  38. package/lib/src/{bundled-translations.de-DE-JcuQ3w62.js → bundled-translations.de-DE-djs407Ih.js} +5 -3
  39. package/lib/src/{bundled-translations.es-ES-CxAmhY4A.js → bundled-translations.es-ES-JjQoQaM7.js} +9 -7
  40. package/lib/src/{bundled-translations.fr-FR-ClTzpDVd.js → bundled-translations.fr-FR-rUuRWfsM.js} +5 -3
  41. package/lib/src/{bundled-translations.pt-PT-CaCaJJ12.js → bundled-translations.pt-PT-BiSQEFmA.js} +5 -3
  42. package/lib/src/bundles/bundled-translations.json +8 -1
  43. package/lib/src/composables/useTranslate.d.ts +2 -1
  44. package/lib/src/composables/useTranslate.js +2 -1
  45. package/lib/src/constants/brand-page-maker.js +7 -0
  46. package/lib/src/css/library.brand-page-brandCrowd.min.css +44 -39
  47. package/lib/src/css/library.brand-page-brandPage.min.css +44 -39
  48. package/lib/src/css/library.brand-page-designCom.min.css +44 -39
  49. package/lib/src/css/library.brand-page-preview.min.css +44 -39
  50. package/lib/src/index.mjs +176 -175
  51. package/lib/src/{lib-CmlX0vVm.js → lib-BTapaSjP.js} +26355 -25856
  52. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +20 -20
  53. package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +21 -21
  54. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItem.mixin.d.ts +20 -20
  55. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +18 -18
  56. package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.js +1 -1
  57. package/lib/src/shared/content-settings/components/focused-content-item-settings/FocusedContentItemSettings.mixin.d.ts +18 -18
  58. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.d.ts +11 -0
  59. package/lib/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.js +5 -0
  60. package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.d.ts +39 -2
  61. package/lib/src/shared/content-settings/components/url-field/UrlField.mixin.js +32 -0
  62. package/lib/src/shared/content-settings/store/content-settings-store.d.ts +18 -18
  63. package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.d.ts +3 -2
  64. package/lib/src/shared/font-family-selector/FontFamilySelector.mixin.js +17 -10
  65. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +22 -22
  66. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +20 -20
  67. package/package.json +2 -2
  68. package/src/brand-page/components/booking-section/BookingSection.vue +240 -0
  69. package/src/brand-page/components/icon/Icon.mixin.ts +14 -0
  70. package/src/brand-page/components/icon/Icon.vue +7 -0
  71. package/src/brand-page/components/icon/icons/AppleMusic.vue +12 -0
  72. package/src/brand-page/components/icon/icons/Discord.vue +1 -1
  73. package/src/brand-page/components/icon/icons/Messenger.vue +14 -0
  74. package/src/brand-page/components/icon/icons/Patreon.vue +12 -0
  75. package/src/brand-page/components/icon/icons/Reddit.vue +5 -0
  76. package/src/brand-page/components/icon/icons/Substack.vue +12 -0
  77. package/src/brand-page/components/icon/icons/Telegram.vue +5 -0
  78. package/src/brand-page/components/icon/icons/Threads.vue +5 -0
  79. package/src/brand-page/components/icon/icons/Twitter.vue +1 -1
  80. package/src/brand-page/components/page/PageComponent.vue +2 -0
  81. package/src/brand-page/models/content.model.ts +1 -0
  82. package/src/brand-page/models/index.ts +17 -0
  83. package/src/brand-page/utils/content-callback-util.ts +7 -0
  84. package/src/brand-page/utils/style.util.ts +1 -1
  85. package/src/brand-page/utils/view-model.util.ts +27 -0
  86. package/src/brand-page/view-models.ts +10 -1
  87. package/src/brand-page-maker/assessors/banner-section-description-visibility.assessor.ts +7 -4
  88. package/src/brand-page-maker/assessors/banner-section-field.assessor.ts +7 -4
  89. package/src/brand-page-maker/components/rich-text-editor/RichTextEditor.vue +3 -1
  90. package/src/brand-page-maker/composables/rich-text-editor/useRichTextEditor.ts +37 -2
  91. package/src/brand-page-maker/composables/useEventTracker.ts +4 -0
  92. package/src/brand-page-maker/constants/config-settings-constant.ts +107 -0
  93. package/src/brand-page-maker/models/content-settings.ts +32 -0
  94. package/src/brand-page-maker/validators/section-button.validator.ts +7 -6
  95. package/src/bundles/bundled-translations.json +8 -1
  96. package/src/composables/useTranslate.ts +2 -0
  97. package/src/constants/brand-page-maker.ts +7 -0
  98. package/src/shared/content-settings/components/content-settings/i18n/content-settings.json +5 -1
  99. package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.ts +1 -1
  100. package/src/shared/content-settings/components/text-field/TextField.vue +1 -0
  101. package/src/shared/content-settings/components/text-items-field/TextItemsField.mixin.ts +5 -0
  102. package/src/shared/content-settings/components/text-items-field/TextItemsField.vue +1 -0
  103. package/src/shared/content-settings/components/textarea-field/TextareaField.vue +1 -0
  104. package/src/shared/content-settings/components/url-field/UrlField.mixin.ts +38 -0
  105. package/src/shared/content-settings/components/url-field/UrlField.vue +12 -0
  106. package/src/shared/content-settings/components/url-field/i18n/url-field.json +5 -0
  107. package/src/shared/font-family-selector/FontFamilySelector.mixin.ts +22 -14
  108. package/src/brand-page/components/logo/test.json +0 -866
  109. package/src/brand-page/components/logo/test2.json +0 -765
  110. package/src/brand-page/components/logo/test3.json +0 -749
@@ -0,0 +1,240 @@
1
+ <template>
2
+ <section>
3
+ <div
4
+ class="tw-relative tw-px-6 tw-py-8"
5
+ :style="viewModel.backgroundStyle"
6
+ style="container-type: inline-size"
7
+ >
8
+ <div
9
+ class="tw-flex tw-gap-8 tw-w-full tw-h-full tw-items-center c_banner-container tw-flex-col tw-gap-5"
10
+ >
11
+ <TextWrapper
12
+ v-if="viewModel.title"
13
+ :text-style="viewModel.titleStyle"
14
+ :text="viewModel.title"
15
+ :slug="context.brandPageSlug"
16
+ element="h1"
17
+ />
18
+ <TextWrapper
19
+ v-if="hasDescriptionText"
20
+ :text-style="viewModel.descriptionStyle"
21
+ :text="renderText"
22
+ :slug="context.brandPageSlug"
23
+ element="div"
24
+ />
25
+ <div
26
+ v-if="shouldShowButton"
27
+ class="tw-w-full tw-flex tw-justify-center"
28
+ >
29
+ <button
30
+ class="tw-block tw-py-4 tw-px-5 tw-text-base tw-text-center tw-w-fit tw-border-0 hover:tw-cursor-pointer"
31
+ :style="buttonStyle"
32
+ @click="onClickUrl"
33
+ >
34
+ <TextWrapper
35
+ :text-style="props.viewModel.buttonTextStyle"
36
+ :text="props.viewModel.buttonText"
37
+ class="tw-text-center tw-text-base"
38
+ />
39
+ </button>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </section>
44
+ </template>
45
+ <script setup lang="ts">
46
+ import type { PropType, StyleValue } from 'vue';
47
+ import { computed } from 'vue';
48
+ import { useRouter } from 'vue-router';
49
+ import TextWrapper from '../text-wrapper/TextWrapper.vue';
50
+ import type { BookingSectionViewModel } from '../../view-models';
51
+ import type { BrandPageContext } from '../../models';
52
+ import { getRenderText, escapeContentText } from '../../utils';
53
+ import { hasRTEContent } from '../../../brand-page-maker/utils';
54
+ import { isURL, isEmail, isTel } from '../../../utils/validator.util';
55
+ import { getRouteParamsByPage } from '../../utils/route.util';
56
+ import { BP_PAGE_SLUG_ROUTE_NAME, BP_SLUG_ROUTE_NAME } from '../../constants';
57
+
58
+ const props = defineProps({
59
+ viewModel: {
60
+ type: Object as PropType<BookingSectionViewModel>,
61
+ required: true,
62
+ },
63
+ context: {
64
+ type: Object as PropType<BrandPageContext>,
65
+ required: true,
66
+ },
67
+ containerClientWidth: {
68
+ type: Number as PropType<number | undefined>,
69
+ required: false,
70
+ default: undefined,
71
+ },
72
+ containerClientHeight: {
73
+ type: Number as PropType<number | undefined>,
74
+ required: false,
75
+ default: undefined,
76
+ },
77
+ });
78
+
79
+ const router = useRouter();
80
+
81
+ const handleUrlClick = (url: string) => {
82
+ if (url && isURL(url)) {
83
+ window.open(url, '_blank', 'noopener,noreferrer');
84
+ }
85
+ };
86
+
87
+ const handlePageNavigation = (pageSlug: string) => {
88
+ if (!pageSlug) return;
89
+
90
+ const routeParams = getRouteParamsByPage(
91
+ !!props.context.customDomain,
92
+ props.context.brandPageSlug,
93
+ pageSlug,
94
+ );
95
+
96
+ const routeName = !!props.context.customDomain
97
+ ? BP_SLUG_ROUTE_NAME
98
+ : BP_PAGE_SLUG_ROUTE_NAME;
99
+
100
+ router.push({
101
+ name: routeName,
102
+ params: routeParams,
103
+ });
104
+ };
105
+
106
+ const handleEmailClick = (email?: string, fallbackUrl?: string) => {
107
+ if (email && isEmail(email)) {
108
+ window.location.href = `mailto:${email}`;
109
+ } else if (fallbackUrl && isEmail(fallbackUrl)) {
110
+ window.location.href = `mailto:${fallbackUrl}`;
111
+ }
112
+ };
113
+
114
+ const handlePhoneClick = (tel?: string, fallbackUrl?: string) => {
115
+ if (tel && isTel(tel)) {
116
+ window.location.href = `tel:${tel}`;
117
+ } else if (fallbackUrl && isTel(fallbackUrl)) {
118
+ window.location.href = `tel:${fallbackUrl}`;
119
+ }
120
+ };
121
+
122
+ const handleFallbackClick = (url?: string) => {
123
+ if (!url) return;
124
+
125
+ if (isEmail(url)) {
126
+ window.location.href = `mailto:${url}`;
127
+ } else if (isTel(url)) {
128
+ window.location.href = `tel:${url}`;
129
+ } else if (isURL(url)) {
130
+ window.open(url, '_blank', 'noopener,noreferrer');
131
+ }
132
+ };
133
+
134
+ const onClickUrl = () => {
135
+ const { buttonLinkType, url, pageSlug, email, tel } = props.viewModel;
136
+
137
+ switch (buttonLinkType) {
138
+ case 'url':
139
+ handleUrlClick(url);
140
+ break;
141
+
142
+ case 'page':
143
+ handlePageNavigation(pageSlug);
144
+ break;
145
+
146
+ case 'mailTo':
147
+ handleEmailClick(email, url);
148
+ break;
149
+
150
+ case 'tel':
151
+ handlePhoneClick(tel, url);
152
+ break;
153
+
154
+ default:
155
+ handleFallbackClick(url);
156
+ break;
157
+ }
158
+ };
159
+
160
+ const renderText = computed((): string => {
161
+ if (!props.viewModel.description) {
162
+ return '';
163
+ }
164
+
165
+ if (hasRTEContent(props.viewModel.description)) {
166
+ return props.viewModel.description;
167
+ } else {
168
+ return getRenderText(props.viewModel.description);
169
+ }
170
+ });
171
+
172
+ const hasDescriptionText = computed((): boolean => {
173
+ if (hasRTEContent(props.viewModel.description)) {
174
+ return escapeContentText(props.viewModel.description) !== '';
175
+ } else {
176
+ return props.viewModel?.description?.length > 0;
177
+ }
178
+ });
179
+
180
+ const buttonStyle = computed((): StyleValue => {
181
+ const buttonStyle = {
182
+ color: props.viewModel.buttonStyles?.style.color,
183
+ ...props.viewModel.buttonStyles?.style,
184
+ };
185
+ const buttonTextStyle = {
186
+ ...buttonStyle,
187
+ color: props.viewModel.buttonTextStyle.color,
188
+ };
189
+
190
+ return buttonTextStyle as StyleValue;
191
+ });
192
+
193
+ const isValidUrl = (url?: string): boolean => !!(url && isURL(url));
194
+ const isValidEmail = (email?: string): boolean => !!(email && isEmail(email));
195
+ const isValidPhone = (tel?: string): boolean => !!(tel && isTel(tel));
196
+ const isValidPage = (pageSlug?: string): boolean => !!pageSlug;
197
+
198
+ const hasValidTarget = (
199
+ buttonLinkType: string,
200
+ url?: string,
201
+ pageSlug?: string,
202
+ email?: string,
203
+ tel?: string,
204
+ ): boolean => {
205
+ switch (buttonLinkType) {
206
+ case 'url':
207
+ return isValidUrl(url);
208
+
209
+ case 'page':
210
+ return isValidPage(pageSlug);
211
+
212
+ case 'mailTo':
213
+ return isValidEmail(email) || isValidEmail(url);
214
+
215
+ case 'tel':
216
+ return isValidPhone(tel) || isValidPhone(url);
217
+
218
+ default:
219
+ return isValidUrl(url) || isValidEmail(url) || isValidPhone(url);
220
+ }
221
+ };
222
+
223
+ const shouldShowButton = computed((): boolean => {
224
+ const hasButtonText = !!props.viewModel.buttonText?.length;
225
+
226
+ if (!hasButtonText) {
227
+ return false;
228
+ }
229
+
230
+ const { buttonLinkType, url, pageSlug, email, tel } = props.viewModel;
231
+ return hasValidTarget(buttonLinkType, url, pageSlug, email, tel);
232
+ });
233
+ </script>
234
+
235
+ <style scoped>
236
+ .c_banner-container {
237
+ max-width: var(--brandsite-max-width);
238
+ margin: 0 auto;
239
+ }
240
+ </style>
@@ -2,6 +2,13 @@ import { defineComponent } from 'vue';
2
2
 
3
3
  import IconAmazon from './icons/Amazon.vue';
4
4
  import IconAppstore from './icons/Appstore.vue';
5
+ import IconReddit from './icons/Reddit.vue';
6
+ import IconThreads from './icons/Threads.vue';
7
+ import IconTelegram from './icons/Telegram.vue';
8
+ import IconSubstack from './icons/Substack.vue';
9
+ import IconPatreon from './icons/Patreon.vue';
10
+ import IconMessenger from './icons/Messenger.vue';
11
+ import IconAppleMusic from './icons/AppleMusic.vue';
5
12
  import IconBehance from './icons/Behance.vue';
6
13
  import IconBell from './icons/Bell.vue';
7
14
  import IconCalendar from './icons/Calendar.vue';
@@ -131,6 +138,13 @@ export default defineComponent({
131
138
  IconWhatsapp,
132
139
  IconWineGlass,
133
140
  IconYoutube,
141
+ IconReddit,
142
+ IconThreads,
143
+ IconTelegram,
144
+ IconSubstack,
145
+ IconPatreon,
146
+ IconMessenger,
147
+ IconAppleMusic,
134
148
  },
135
149
  mixins: [ComponentCommonMixin],
136
150
  props: {
@@ -68,12 +68,19 @@
68
68
  <IconTumblr v-if="name === 'tumblr'" />
69
69
  <IconTwitch v-if="name === 'twitch'" />
70
70
  <IconTwitter v-if="name === 'twitter'" />
71
+ <IconThreads v-if="name === 'threads'" />
71
72
  <IconUser v-if="name === 'user'" />
72
73
  <IconUtensils v-if="name === 'utensils'" />
73
74
  <IconVideo v-if="name === 'video'" />
74
75
  <IconWhatsapp v-if="name === 'whatsapp'" />
75
76
  <IconWineGlass v-if="name === 'wine-glass'" />
76
77
  <IconYoutube v-if="name === 'youtube'" />
78
+ <IconReddit v-if="name === 'reddit'" />
79
+ <IconTelegram v-if="name === 'telegram'" />
80
+ <IconSubstack v-if="name === 'substack'" />
81
+ <IconPatreon v-if="name === 'patreon'" />
82
+ <IconMessenger v-if="name === 'messenger'" />
83
+ <IconAppleMusic v-if="name === 'apple-music'" />
77
84
  </svg>
78
85
  </div>
79
86
  </template>
@@ -0,0 +1,12 @@
1
+ <template>
2
+ <g clip-path="url(#clip0_3746_25696)">
3
+ <path
4
+ d="M15.9935 4.08363C15.9935 3.59161 15.952 3.1016 15.8345 2.62258C15.6235 1.75005 15.126 1.08353 14.3816 0.594019C13.9986 0.344011 13.5771 0.190506 13.1291 0.109503C12.7851 0.0470015 12.4366 0.0185006 12.0876 0.0105003C12.0616 0.00800025 12.0331 0.00250008 12.0041 0H3.98888C3.88738 0.00800025 3.78588 0.0130004 3.68438 0.0180006C3.1869 0.0465015 2.69242 0.0985031 2.22343 0.286009C1.33296 0.63752 0.689478 1.25204 0.31449 2.13757C0.184494 2.43708 0.118996 2.75459 0.0724977 3.0776C0.033499 3.3381 0.0124996 3.60111 0.00499984 3.86412C0.00499984 3.88512 0 3.90562 0 3.92662V12.0754C0.00499984 12.1694 0.0104997 12.2629 0.0154995 12.3569C0.0494985 12.9014 0.119496 13.4404 0.348989 13.9404C0.781476 14.886 1.50795 15.508 2.50542 15.8075C2.78391 15.8935 3.0759 15.9325 3.36739 15.9585C3.73738 15.995 4.10687 16 4.47686 16H11.8306C12.1796 16 12.5286 15.9765 12.8776 15.9325C13.4271 15.862 13.9426 15.7005 14.4091 15.3935C14.969 15.0235 15.391 14.534 15.6615 13.9219C15.7865 13.6404 15.857 13.3414 15.909 13.0389C15.9845 12.5884 16 12.1324 16 11.6769C15.9975 9.14529 16 6.61421 15.9975 4.08263L15.9935 4.08363ZM11.7121 6.74221V10.5498C11.7121 10.8283 11.6731 11.1018 11.5481 11.3544C11.3556 11.7474 11.0432 11.9949 10.6237 12.1149C10.3917 12.1824 10.1522 12.2189 9.91019 12.2294C9.27721 12.2609 8.72773 11.8309 8.61573 11.2058C8.51923 10.6903 8.76673 10.1223 9.30821 9.85681C9.5217 9.7528 9.7537 9.6903 9.98519 9.6433C10.2377 9.5888 10.4902 9.5393 10.7402 9.4818C10.9252 9.44029 11.0447 9.32829 11.0812 9.13779C11.0917 9.09628 11.0942 9.05178 11.0942 9.01028C11.0942 7.79924 11.0942 6.58821 11.0942 5.38017C11.0942 5.33867 11.0862 5.29667 11.0762 5.25766C11.0502 5.15616 10.9772 5.09616 10.8732 5.10116C10.7662 5.10616 10.6622 5.12466 10.5582 5.14566C10.0502 5.24466 9.5427 5.34617 9.03722 5.45017L6.57129 5.94769C6.56079 5.95019 6.5478 5.95569 6.5373 5.95569C6.3523 6.00769 6.2873 6.09119 6.2793 6.2837C6.2768 6.3122 6.2793 6.3412 6.2793 6.3697C6.2768 8.10425 6.2793 9.83881 6.2768 11.5729C6.2768 11.8544 6.2453 12.1304 6.13381 12.3904C5.94881 12.8174 5.62082 13.0859 5.17834 13.2134C4.94385 13.2809 4.70435 13.3204 4.45936 13.3279C3.82138 13.3514 3.2899 12.9269 3.1809 12.2994C3.0869 11.7579 3.3344 11.1743 3.94888 10.9138C4.18837 10.8148 4.43586 10.7603 4.68835 10.7083C4.87835 10.6693 5.07134 10.6303 5.26134 10.5913C5.51633 10.5368 5.64932 10.3753 5.66232 10.1148V10.0158C5.66232 8.04175 5.66232 6.06769 5.66232 4.09363C5.66232 4.01013 5.67282 3.92712 5.69082 3.84612C5.73782 3.65611 5.87332 3.54661 6.05531 3.50211C6.22481 3.45761 6.3993 3.42661 6.57079 3.39011C7.06028 3.2911 7.54726 3.1921 8.03675 3.0956L9.5497 2.78809C9.99769 2.69958 10.4427 2.60858 10.8907 2.52008C11.0367 2.49158 11.1852 2.46008 11.3331 2.44958C11.5386 2.43158 11.6821 2.56158 11.7031 2.77009C11.7081 2.81959 11.7111 2.86909 11.7111 2.91859C11.7111 4.19213 11.7111 5.46567 11.7111 6.73921L11.7121 6.74221Z"
5
+ />
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0_3746_25696">
9
+ <rect width="16" height="16" fill="white" />
10
+ </clipPath>
11
+ </defs>
12
+ </template>
@@ -1,5 +1,5 @@
1
1
  <template>
2
2
  <path
3
- d="M9.90234 7.09766C10.0482 7.24349 10.1211 7.42578 10.1211 7.64453C10.1211 7.86328 10.0482 8.05469 9.90234 8.21875C9.77474 8.36458 9.61068 8.4375 9.41016 8.4375C9.28255 8.4375 9.16406 8.40104 9.05469 8.32813C8.94531 8.25521 8.85417 8.16406 8.78125 8.05469C8.72656 7.92708 8.69922 7.79036 8.69922 7.64453C8.69922 7.53516 8.71745 7.4349 8.75391 7.34375C8.79036 7.2526 8.83594 7.17057 8.89063 7.09766C8.96354 7.02474 9.04557 6.97005 9.13672 6.93359C9.22786 6.89714 9.31901 6.87891 9.41016 6.87891C9.61068 6.87891 9.77474 6.95182 9.90234 7.09766ZM6.34766 7.09766C6.49349 6.95182 6.66667 6.87891 6.86719 6.87891C7.06771 6.87891 7.23177 6.95182 7.35938 7.09766C7.50521 7.24349 7.57813 7.42578 7.57813 7.64453C7.57813 7.86328 7.50521 8.05469 7.35938 8.21875C7.23177 8.36458 7.06771 8.4375 6.86719 8.4375C6.66667 8.4375 6.49349 8.36458 6.34766 8.21875C6.22005 8.05469 6.15625 7.86328 6.15625 7.64453C6.15625 7.42578 6.22005 7.24349 6.34766 7.09766ZM14.25 2.44922V15C13.1927 14.0703 12.1081 13.0859 10.9961 12.0469L11.3789 13.3594H3.42188C3.03906 13.3594 2.70182 13.2227 2.41016 12.9492C2.13672 12.6576 2 12.3112 2 11.9102V2.44922C2 2.04818 2.13672 1.71094 2.41016 1.4375C2.70182 1.14583 3.03906 1 3.42188 1H12.8281C13.2109 1 13.5391 1.14583 13.8125 1.4375C14.1042 1.71094 14.25 2.04818 14.25 2.44922ZM12.2539 9.06641C12.2539 8.41016 12.1719 7.74479 12.0078 7.07031C11.8438 6.3776 11.6706 5.85807 11.4883 5.51172L11.2422 4.99219C11.0599 4.84635 10.8594 4.72786 10.6406 4.63672C10.4401 4.52734 10.2578 4.45443 10.0938 4.41797C9.94792 4.36328 9.8112 4.32682 9.68359 4.30859C9.55599 4.27214 9.45573 4.25391 9.38281 4.25391H9.27344L9.19141 4.36328C9.53776 4.47266 9.85677 4.60938 10.1484 4.77344C10.4401 4.91927 10.6406 5.03776 10.75 5.12891L10.9141 5.26563C10.112 4.8099 9.23698 4.57292 8.28906 4.55469C7.34115 4.53646 6.47526 4.70052 5.69141 5.04688L5.28125 5.26563C5.66406 4.90104 6.27474 4.59115 7.11328 4.33594L7.05859 4.25391C6.42057 4.25391 5.76432 4.5 5.08984 4.99219C5.01693 5.13802 4.92578 5.32943 4.81641 5.56641C4.70703 5.80339 4.55208 6.28646 4.35156 7.01563C4.16927 7.72656 4.07813 8.41016 4.07813 9.06641C4.11458 9.15755 4.17839 9.25781 4.26953 9.36719C4.37891 9.47656 4.61589 9.63151 4.98047 9.83203C5.34505 10.0326 5.75521 10.1328 6.21094 10.1328C6.39323 9.93229 6.54818 9.74089 6.67578 9.55859C6.42057 9.48568 6.18359 9.38542 5.96484 9.25781C5.76432 9.11198 5.6276 8.98438 5.55469 8.875L5.44531 8.73828C5.48177 8.75651 5.51823 8.78385 5.55469 8.82031C5.60938 8.83854 5.65495 8.85677 5.69141 8.875C5.72786 8.89323 5.74609 8.90234 5.74609 8.90234C6.36589 9.2487 7.04948 9.45833 7.79688 9.53125C8.5625 9.58594 9.33724 9.45833 10.1211 9.14844C10.3945 9.05729 10.6589 8.92057 10.9141 8.73828C10.6771 9.12109 10.2578 9.40365 9.65625 9.58594L10.1211 10.1328C10.4128 10.1328 10.6771 10.0964 10.9141 10.0234C11.1693 9.93229 11.3698 9.84115 11.5156 9.75C11.6797 9.64063 11.8164 9.54037 11.9258 9.44922C12.0534 9.33984 12.1354 9.2487 12.1719 9.17578L12.2539 9.06641Z"
3
+ d="M13.5447 3.01094C12.5249 2.54302 11.4313 2.19828 10.2879 2.00083C10.2671 1.99702 10.2463 2.00654 10.2356 2.02559C10.0949 2.27573 9.93915 2.60206 9.83006 2.85856C8.60027 2.67445 7.37679 2.67445 6.17221 2.85856C6.0631 2.59636 5.90166 2.27573 5.76038 2.02559C5.74966 2.00718 5.72886 1.99765 5.70803 2.00083C4.56527 2.19765 3.47171 2.54239 2.45129 3.01094C2.44246 3.01475 2.43488 3.02111 2.42986 3.02935C0.355594 6.12826 -0.212634 9.151 0.0661201 12.1363C0.0673814 12.1509 0.0755799 12.1648 0.086932 12.1737C1.45547 13.1787 2.78114 13.7889 4.08219 14.1933C4.10301 14.1997 4.12507 14.192 4.13832 14.1749C4.44608 13.7546 4.72043 13.3115 4.95565 12.8454C4.96953 12.8181 4.95628 12.7857 4.92791 12.775C4.49275 12.6099 4.0784 12.4086 3.67982 12.1801C3.64829 12.1617 3.64577 12.1166 3.67477 12.095C3.75865 12.0321 3.84255 11.9667 3.92264 11.9007C3.93713 11.8886 3.95732 11.8861 3.97435 11.8937C6.59286 13.0892 9.4277 13.0892 12.0153 11.8937C12.0323 11.8855 12.0525 11.888 12.0677 11.9001C12.1478 11.9661 12.2316 12.0321 12.3161 12.095C12.3452 12.1166 12.3433 12.1617 12.3117 12.1801C11.9131 12.4131 11.4988 12.6099 11.063 12.7743C11.0346 12.7851 11.022 12.8181 11.0359 12.8454C11.2762 13.3108 11.5505 13.754 11.8526 14.1743C11.8652 14.192 11.8879 14.1997 11.9087 14.1933C13.2161 13.7889 14.5417 13.1787 15.9103 12.1737C15.9223 12.1648 15.9298 12.1515 15.9311 12.1369C16.2647 8.6856 15.3723 5.68765 13.5655 3.02998C13.5611 3.02111 13.5535 3.01475 13.5447 3.01094ZM5.34668 10.3185C4.55833 10.3185 3.90876 9.59478 3.90876 8.70593C3.90876 7.81707 4.54574 7.09331 5.34668 7.09331C6.15392 7.09331 6.79721 7.82343 6.78459 8.70593C6.78459 9.59478 6.14761 10.3185 5.34668 10.3185ZM10.6632 10.3185C9.87484 10.3185 9.22526 9.59478 9.22526 8.70593C9.22526 7.81707 9.86222 7.09331 10.6632 7.09331C11.4704 7.09331 12.1137 7.82343 12.1011 8.70593C12.1011 9.59478 11.4704 10.3185 10.6632 10.3185Z"
4
4
  />
5
5
  </template>
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <g clip-path="url(#clip0_3744_25642)">
3
+ <path
4
+ fill-rule="evenodd"
5
+ clip-rule="evenodd"
6
+ d="M8 0C3.49296 0 0 3.23916 0 7.61384C0 9.90225 0.956137 11.8795 2.51268 13.2456C2.64306 13.3609 2.72193 13.5204 2.72837 13.6926L2.77183 15.0887C2.78632 15.5341 3.25473 15.8231 3.67002 15.6446L5.25714 14.9576C5.39235 14.8992 5.54205 14.8881 5.6837 14.926C6.41288 15.1234 7.19034 15.2277 8 15.2277C12.507 15.2277 16 11.9885 16 7.61384C16 3.23916 12.507 0 8 0ZM12.8032 5.85765L10.4531 9.51532C10.0797 10.0965 9.27807 10.2418 8.71791 9.82961L6.84909 8.45403C6.67686 8.32769 6.44185 8.32927 6.27123 8.45561L3.74728 10.335C3.41087 10.5861 2.96982 10.1897 3.19678 9.83908L5.54688 6.18141C5.92032 5.60022 6.72193 5.45493 7.28209 5.86713L9.15091 7.2427C9.32314 7.36905 9.55815 7.36747 9.72877 7.24112L12.2527 5.36175C12.5891 5.11064 13.0302 5.50704 12.8032 5.85765V5.85765Z"
7
+ />
8
+ </g>
9
+ <defs>
10
+ <clipPath id="clip0_3744_25642">
11
+ <rect width="16" height="16" fill="white" />
12
+ </clipPath>
13
+ </defs>
14
+ </template>
@@ -0,0 +1,12 @@
1
+ <template>
2
+ <g clip-path="url(#clip0_3744_25604)">
3
+ <path
4
+ d="M15.3045 4.80665C15.3017 2.76368 13.7106 1.08931 11.8438 0.485163C9.52555 -0.265059 6.46807 -0.156318 4.25444 0.888126C1.57148 2.1542 0.72866 4.92753 0.697253 7.69346C0.671475 9.96753 0.898438 15.957 4.27681 15.9997C6.78703 16.0315 7.16081 12.797 8.32229 11.2392C9.14866 10.1309 10.2127 9.8179 11.5224 9.49376C13.7735 8.93657 15.3078 7.15998 15.3045 4.80665Z"
5
+ />
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0_3744_25604">
9
+ <rect width="16" height="16" fill="white" />
10
+ </clipPath>
11
+ </defs>
12
+ </template>
@@ -0,0 +1,5 @@
1
+ <template>
2
+ <path
3
+ d="M15.9998 8.15173C16.0022 8.31483 15.9818 8.47763 15.9386 8.63508C15.8953 8.79253 15.8299 8.94343 15.744 9.08272C15.6584 9.22201 15.5533 9.3488 15.432 9.45923C15.3107 9.56965 15.1743 9.66251 15.0269 9.73513C15.0302 9.77859 15.0329 9.82234 15.0344 9.86609C15.038 9.95336 15.038 10.0407 15.0344 10.128C15.0329 10.1718 15.0302 10.2155 15.0269 10.259C15.0269 12.9258 11.8919 15.0925 8.02425 15.0925C4.15659 15.0925 1.02162 12.9258 1.02162 10.259C1.01831 10.2155 1.01561 10.1718 1.01411 10.128C1.01049 10.0407 1.01049 9.95336 1.01411 9.86609C1.01561 9.82234 1.01831 9.77859 1.02162 9.73513C0.790624 9.62989 0.58546 9.47616 0.420324 9.28458C0.255187 9.09299 0.13402 8.86813 0.0652098 8.62556C-0.0034863 8.38287 -0.0181195 8.12829 0.0223243 7.87944C0.0627681 7.6306 0.157322 7.39344 0.299432 7.18442C0.441417 6.97543 0.627579 6.79956 0.844999 6.66902C1.06242 6.53847 1.30589 6.45638 1.55853 6.42843C1.81119 6.40036 2.06699 6.42708 2.3082 6.50674C2.54941 6.5864 2.77026 6.7171 2.95545 6.88976C3.29922 6.65881 3.65941 6.45281 4.03317 6.27337C4.40703 6.09419 4.79349 5.9418 5.18957 5.81799C5.58564 5.69417 5.99043 5.59923 6.40031 5.53345C6.8102 5.46768 7.22459 5.43166 7.63989 5.42541L8.52873 1.29427C8.53864 1.24635 8.55816 1.20111 8.58609 1.16064C8.61371 1.12046 8.64945 1.08593 8.69058 1.05944C8.73202 1.03295 8.77827 1.0148 8.82691 1.00587C8.87526 0.997235 8.92511 0.998128 8.97315 1.00855L11.9159 1.59191C12.2129 1.08623 12.8363 0.869551 13.3867 1.08027C13.9372 1.291 14.2519 1.86692 14.1287 2.43897C14.0059 3.01102 13.4816 3.40984 12.8925 3.37978C12.303 3.34972 11.8229 2.8997 11.7598 2.31813L9.18936 1.78239L8.40862 5.49684C8.81881 5.50547 9.22809 5.54357 9.63288 5.61054C10.4435 5.74447 11.2303 5.99367 11.9691 6.35045C12.3381 6.52844 12.6936 6.73255 13.033 6.9612C13.277 6.72898 13.5836 6.57176 13.9158 6.5085C14.248 6.44501 14.5917 6.47819 14.9053 6.60404C15.2189 6.72982 15.4891 6.94286 15.6833 7.21746C15.8776 7.49208 15.9875 7.81655 15.9998 8.15173V8.15173ZM4.07971 9.79793C4.14037 9.94228 4.22866 10.0735 4.34036 10.184C4.45177 10.2947 4.58419 10.3822 4.72983 10.4423C4.87561 10.5021 5.03182 10.5328 5.18957 10.5328C5.67543 10.5328 6.11324 10.2426 6.29942 9.79793C6.48529 9.35297 6.3823 8.84104 6.03877 8.50055C5.69525 8.16006 5.17876 8.05797 4.72983 8.24221C4.28121 8.42674 3.98843 8.86069 3.98843 9.34226C3.98843 9.49851 4.01936 9.65328 4.07971 9.79793V9.79793ZM10.9592 12.6558C11.0208 12.5963 11.0559 12.515 11.0571 12.4299C11.0583 12.3445 11.025 12.2623 10.9649 12.2013C10.9049 12.1403 10.8229 12.1055 10.737 12.1043C10.6508 12.1031 10.568 12.1361 10.4986 12.1876C10.318 12.316 10.1267 12.429 9.92686 12.5254C9.72698 12.6219 9.51925 12.7014 9.30587 12.7632C9.09267 12.8249 8.87436 12.8686 8.65365 12.8939C8.43264 12.9192 8.21013 12.9258 7.98822 12.9138C7.76661 12.9237 7.5444 12.9147 7.32429 12.8874C7.10413 12.8602 6.88672 12.8144 6.67447 12.7504C6.46187 12.6868 6.25558 12.6052 6.05709 12.507C5.8586 12.4088 5.66882 12.2939 5.48985 12.1638C5.42769 12.1132 5.34872 12.0873 5.26824 12.0912C5.18777 12.0951 5.11179 12.1287 5.05474 12.1849C4.99798 12.2415 4.96405 12.3168 4.96015 12.3966C4.95625 12.4763 4.98237 12.5546 5.03342 12.6162C5.24452 12.774 5.46883 12.9133 5.70395 13.0329C5.93908 13.1525 6.18441 13.2517 6.43665 13.3296C6.68889 13.4076 6.94743 13.4639 7.20958 13.4981C7.47173 13.532 7.73628 13.5436 8.00023 13.5329C8.26418 13.5436 8.52873 13.532 8.79088 13.4981C9.31593 13.4296 9.82522 13.2723 10.2965 13.0329C10.5316 12.9133 10.7559 12.774 10.967 12.6162L10.9592 12.6558ZM10.7388 10.628C10.9016 10.6298 11.0631 10.5986 11.2136 10.5367C11.364 10.4744 11.5 10.3828 11.6136 10.267C11.7271 10.1512 11.8153 10.0137 11.8736 9.86281C11.9319 9.71209 11.9586 9.55117 11.952 9.38988C11.952 8.90831 11.6592 8.47436 11.2106 8.28983C10.7616 8.10559 10.2452 8.20768 9.90163 8.54817C9.55811 8.88866 9.45511 9.40059 9.64099 9.84555C9.82716 10.2902 10.265 10.5804 10.7508 10.5804L10.7388 10.628Z"
4
+ />
5
+ </template>
@@ -0,0 +1,12 @@
1
+ <template>
2
+ <g clip-path="url(#clip0_3744_25532)">
3
+ <path d="M14.9994 3.60417H1V5.49517H14.9994V3.60417Z" />
4
+ <path d="M1 7.20834V16.0003L7.9994 12.0738L15 16.0003V7.20834H1Z" />
5
+ <path d="M14.9994 0H1V1.89069H14.9994V0Z" />
6
+ </g>
7
+ <defs>
8
+ <clipPath id="clip0_3744_25532">
9
+ <rect width="16" height="16" />
10
+ </clipPath>
11
+ </defs>
12
+ </template>
@@ -0,0 +1,5 @@
1
+ <template>
2
+ <path
3
+ d="M0.980933 6.91294C0.980933 6.91294 8.05735 3.93247 10.5116 2.88297C11.4524 2.46321 14.6429 1.11985 14.6429 1.11985C14.6429 1.11985 16.1155 0.532183 15.9927 1.95944C15.9518 2.54716 15.6246 4.60409 15.2974 6.82898C14.8065 9.97741 14.2747 13.4196 14.2747 13.4196C14.2747 13.4196 14.1929 14.3852 13.4976 14.5531C12.8022 14.721 11.6569 13.9654 11.4524 13.7975C11.2887 13.6716 8.38456 11.7825 7.32106 10.8589C7.03472 10.6071 6.70751 10.1034 7.36194 9.51564C8.83451 8.13034 10.5934 6.40922 11.6569 5.31778C12.1477 4.814 12.6386 3.63861 10.5934 5.06586C7.68921 7.12285 4.82592 9.05387 4.82592 9.05387C4.82592 9.05387 4.17144 9.47364 2.94433 9.09582C1.71716 8.71806 0.285519 8.21429 0.285519 8.21429C0.285519 8.21429 -0.696122 7.58462 0.980933 6.91294Z"
4
+ />
5
+ </template>
@@ -0,0 +1,5 @@
1
+ <template>
2
+ <path
3
+ d="M11.7114 7.41569C11.6425 7.38266 11.5725 7.35087 11.5016 7.32043C11.3781 5.04485 10.1347 3.74208 8.04682 3.72875C8.03737 3.72869 8.02796 3.72869 8.0185 3.72869C6.7697 3.72869 5.73109 4.26174 5.09183 5.23173L6.24008 6.0194C6.71763 5.29486 7.4671 5.1404 8.01905 5.1404C8.02542 5.1404 8.03182 5.1404 8.03813 5.14046C8.72558 5.14484 9.24433 5.34472 9.58008 5.7345C9.82442 6.01828 9.98783 6.41042 10.0687 6.90532C9.45925 6.80173 8.80008 6.76987 8.09542 6.81027C6.11039 6.92462 4.83426 8.08233 4.91997 9.691C4.96346 10.507 5.36997 11.209 6.06458 11.6676C6.65187 12.0553 7.40825 12.2448 8.19436 12.2019C9.2325 12.145 10.0469 11.7489 10.6151 11.0247C11.0466 10.4747 11.3195 9.76192 11.44 8.86383C11.9347 9.16242 12.3014 9.55533 12.5039 10.0277C12.8482 10.8306 12.8683 12.15 11.7917 13.2257C10.8485 14.168 9.71467 14.5757 8.00112 14.5883C6.10035 14.5742 4.66282 13.9646 3.72817 12.7764C2.85296 11.6638 2.40064 10.0568 2.38377 8C2.40064 5.94315 2.85296 4.33613 3.72817 3.22356C4.66282 2.03541 6.10032 1.42583 8.0011 1.41171C9.91567 1.42594 11.3782 2.03845 12.3487 3.23233C12.8245 3.8178 13.1832 4.55407 13.4197 5.41253L14.7653 5.05352C14.4787 3.99685 14.0276 3.08631 13.4137 2.33117C12.1697 0.800557 10.3502 0.0162623 8.00579 0H7.99641C5.6568 0.0162058 3.85767 0.803483 2.64902 2.33994C1.57349 3.7072 1.0187 5.60964 1.00006 7.99438L1 8L1.00006 8.00563C1.0187 10.3903 1.57349 12.2928 2.64902 13.6601C3.85767 15.1965 5.6568 15.9838 7.99641 16H8.00579C10.0858 15.9856 11.552 15.441 12.7598 14.2343C14.3401 12.6555 14.2925 10.6766 13.7717 9.46175C13.398 8.59058 12.6856 7.88302 11.7114 7.41569ZM8.12004 10.7923C7.25004 10.8413 6.3462 10.4508 6.30163 9.61433C6.2686 8.99417 6.74298 8.30217 8.17343 8.21973C8.33725 8.21028 8.498 8.20567 8.65592 8.20567C9.1755 8.20567 9.66158 8.25614 10.1035 8.35275C9.93867 10.4113 8.97183 10.7455 8.12004 10.7923Z"
4
+ />
5
+ </template>
@@ -1,5 +1,5 @@
1
1
  <template>
2
2
  <path
3
- d="M6.3723 14c-2.3529 0-4.2548-.3891-5.1105-1.0546a.3143.3143 0 0 1-.1019-.1574.3096.3096 0 0 1 .0067-.1864.3341.3341 0 0 1 .1231-.1488.3426.3426 0 0 1 .1864-.0574c1.4005-.022 2.3052-.3438 2.9957-.7329-1.332-.1609-2.1638-.7782-2.591-1.947a.2446.2446 0 0 1-.0066-.1654.2494.2494 0 0 1 .1005-.133.3486.3486 0 0 1 .3333-.0234c.3571.2297.7128.275 1.1414.275-.9005-.5266-1.7408-1.397-2.0685-2.475a.2703.2703 0 0 1 .0111-.1671.2761.2761 0 0 1 .1079-.1299.2941.2941 0 0 1 .3333.022c.2815.2242.621.367.9804.4125-.9328-.9157-1.5042-2.2687-.696-3.7578l.14-.275.238.2296c1.4762 1.4891 2.8319 2.1766 5.3038 2.6345v-.0907c-.0054-.8016.3107-1.5731.8798-2.1479.5692-.5747 1.3458-.9066 2.1621-.9239.6708 0 1.5937.4592 1.9733.6655.0238 0 .0476.0234.0476 0a17.7307 17.7307 0 0 0 1.7114-.6421.262.262 0 0 1 .2801.0467.2311.2311 0 0 1 .0705.1297.2282.2282 0 0 1-.0229.1453 3.131 3.131 0 0 1-.5882.9845l.4748-.1595a.322.322 0 0 1 .1485.0012.3186.3186 0 0 1 .1316.0676.2959.2959 0 0 1 .0713.1286.2917.2917 0 0 1 .0001.1464 2.2687 2.2687 0 0 1-.4358.8165 2.3167 2.3167 0 0 1-.7294.5805v.0687C13.9798 10.403 10.5569 14 6.3722 14Z"
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
4
  />
5
5
  </template>
@@ -33,6 +33,7 @@ import DividerSection from '../divider-section/DividerSection.vue';
33
33
  import ShapesSection from '../shapes-section/ShapesSection.vue';
34
34
  import PageComponentMixin from './PageComponent.mixin.ts';
35
35
  import Shop from '../shop/Shop.vue';
36
+ import BookingSection from '../booking-section/BookingSection.vue';
36
37
 
37
38
  export default {
38
39
  components: {
@@ -57,6 +58,7 @@ export default {
57
58
  'bp-divider-section': DividerSection,
58
59
  'bp-shapes-section': ShapesSection,
59
60
  'bp-shop-section': Shop,
61
+ 'bp-booking-section': BookingSection,
60
62
  },
61
63
  mixins: [PageComponentMixin],
62
64
  };
@@ -30,6 +30,7 @@ export const CONTENT_TYPES = {
30
30
  'social-links': 'social-links',
31
31
  'shapes-section': 'shapes-section',
32
32
  'shop-section': 'shop-section',
33
+ 'booking-section': 'booking-section',
33
34
  } as const;
34
35
 
35
36
  export type ContentType = keyof typeof CONTENT_TYPES;
@@ -581,6 +581,23 @@ export interface DividerSectionContent extends Content {
581
581
  backgroundStyle?: BrandPageCssStyle;
582
582
  }
583
583
 
584
+ export interface BookingSectionContent extends Content {
585
+ type: 'booking-section';
586
+ title: string;
587
+ description: string;
588
+ buttonText: string;
589
+ url: string;
590
+ email?: string;
591
+ tel?: string;
592
+ titleStyle: TextStyleDeclaration;
593
+ descriptionStyle: TextStyleDeclaration;
594
+ backgroundStyle: BrandPageCssStyle;
595
+ pageSlug: string;
596
+ buttonLinkType: ButtonLinkType;
597
+ buttonTextStyle: TextStyleDeclaration;
598
+ aspectRatio?: number | null;
599
+ }
600
+
584
601
  export class PageModel {
585
602
  title: string;
586
603
  slug: string;
@@ -16,6 +16,7 @@ import type {
16
16
  ShopContent,
17
17
  ButtonContent,
18
18
  PageModel,
19
+ BookingSectionContent,
19
20
  } from '../models';
20
21
 
21
22
  export type ContentCallback = {
@@ -37,6 +38,7 @@ export type ContentCallback = {
37
38
  shapesSectionContentCallback: (content: ShapesSectionContent) => void;
38
39
  shopSectionContentCallback: (content: ShopContent) => void;
39
40
  buttonContentCallback: (content: ButtonContent) => void;
41
+ bookingSectionContentCallback: (content: BookingSectionContent) => void;
40
42
  };
41
43
 
42
44
  export const forEachPageCallContentCallback = (
@@ -94,6 +96,11 @@ export const forEachPageCallContentCallback = (
94
96
  case 'shop-section':
95
97
  callbacks.shopSectionContentCallback(content as ShopContent);
96
98
  break;
99
+ case 'booking-section':
100
+ callbacks.bookingSectionContentCallback(
101
+ content as BookingSectionContent,
102
+ );
103
+ break;
97
104
  case 'general-link':
98
105
  case 'website':
99
106
  case 'email':
@@ -372,7 +372,7 @@ const CONTENT_STYLE_PROP_NAME_SUFFIX = [
372
372
  'Replacements',
373
373
  ];
374
374
 
375
- const RTE_ALLOWED_SECTION_TYPES = ['text', 'banner-section'];
375
+ const RTE_ALLOWED_SECTION_TYPES = ['text', 'banner-section', 'booking-section'];
376
376
  const RTE_ALLOWED_FIELDS = ['title', 'description', 'text', 'textItems'];
377
377
 
378
378
  export const applyLogoThemeToContents = (
@@ -36,6 +36,7 @@ import type {
36
36
  LogoTemplateImageModel,
37
37
  ShopContent,
38
38
  SensitiveContent,
39
+ BookingSectionContent,
39
40
  } from '../models';
40
41
  import { ButtonStyles, SENSITIVE_CONTENT_TYPES, VIEWPORTS } from '../models';
41
42
  import {
@@ -72,6 +73,7 @@ import type {
72
73
  DividerSectionViewModel,
73
74
  ShapesSectionViewModel,
74
75
  ShopViewModel,
76
+ BookingSectionViewModel,
75
77
  } from '../view-models';
76
78
  import { isHexTransparent, setRgbAlpha } from './color.util';
77
79
  import type { ContentTextStylePropertyKey } from '../constants';
@@ -842,6 +844,25 @@ const mapToSocialLinksViewModel = (
842
844
  );
843
845
  };
844
846
 
847
+ export const mapToBookingSectionViewModel = (
848
+ content: BookingSectionContent,
849
+ styles: PageStyles,
850
+ ): BookingSectionViewModel => {
851
+ return applyViewModelTextStyles(
852
+ {
853
+ ...content,
854
+ role: content.type,
855
+ type: 'booking-section',
856
+ buttonStyles: styles.buttonStyles,
857
+ buttonTextStyle: {
858
+ ...content.buttonTextStyle,
859
+ },
860
+ isFullWidth: true,
861
+ },
862
+ styles,
863
+ );
864
+ };
865
+
845
866
  export const mapToPageHeaderViewModel = (
846
867
  pageHeader: PageHeaderDesktop | PageHeaderMobile,
847
868
  pageStyles: PageStyles,
@@ -1048,6 +1069,12 @@ export const mapToViewModel =
1048
1069
  styles,
1049
1070
  );
1050
1071
 
1072
+ case 'booking-section':
1073
+ return mapToBookingSectionViewModel(
1074
+ content as BookingSectionContent,
1075
+ styles,
1076
+ );
1077
+
1051
1078
  case 'about-section':
1052
1079
  return mapToAboutSectionViewModel(
1053
1080
  content as AboutSectionContent,
@@ -36,6 +36,7 @@ import type {
36
36
  LogoTemplateImageModel,
37
37
  CookieOptions,
38
38
  SensitiveContent,
39
+ BookingSectionContent,
39
40
  } from './models';
40
41
  import type { ImagesSectionContentDisplayStyle } from './constants';
41
42
 
@@ -59,7 +60,8 @@ export type ViewModelType =
59
60
  | 'testimonial-section'
60
61
  | 'social-links'
61
62
  | 'shapes-section'
62
- | 'shop-section';
63
+ | 'shop-section'
64
+ | 'booking-section';
63
65
 
64
66
  export interface ContentViewModel {
65
67
  id: string;
@@ -208,6 +210,13 @@ export interface DividerSectionViewModel
208
210
  isFullWidth: boolean;
209
211
  }
210
212
 
213
+ export interface BookingSectionViewModel
214
+ extends ContentViewModel,
215
+ Omit<BookingSectionContent, 'type'> {
216
+ buttonStyles: ButtonStyles;
217
+ isFullWidth: boolean;
218
+ }
219
+
211
220
  export interface PageHeaderViewModel
212
221
  extends Omit<
213
222
  PageHeaderDesktop | PageHeaderMobile,
@@ -1,4 +1,7 @@
1
- import type { BannerSectionContent } from '../../brand-page';
1
+ import type {
2
+ BannerSectionContent,
3
+ BookingSectionContent,
4
+ } from '../../brand-page';
2
5
  import { BUTTON_LINK_TYPE } from '../../brand-page';
3
6
  import type { VisibilityAssessor } from '../models';
4
7
  import {
@@ -9,7 +12,7 @@ import {
9
12
  } from '../../brand-page/constants';
10
13
 
11
14
  export const bannerSectionUrlVisibilityAssessor: VisibilityAssessor<
12
- BannerSectionContent | undefined
15
+ BannerSectionContent | BookingSectionContent | undefined
13
16
  > = (content) => {
14
17
  return (
15
18
  content?.buttonLinkType !== BUTTON_LINK_TYPE.page &&
@@ -19,7 +22,7 @@ export const bannerSectionUrlVisibilityAssessor: VisibilityAssessor<
19
22
  };
20
23
 
21
24
  export const bannerSectionPageVisibilityAssessor: VisibilityAssessor<
22
- BannerSectionContent | undefined
25
+ BannerSectionContent | BookingSectionContent | undefined
23
26
  > = (content) => {
24
27
  return (
25
28
  content?.buttonLinkType === BUTTON_LINK_TYPE.page &&
@@ -29,7 +32,7 @@ export const bannerSectionPageVisibilityAssessor: VisibilityAssessor<
29
32
  };
30
33
 
31
34
  export const bannerLinkTypeVisibilityAssessor: VisibilityAssessor<
32
- BannerSectionContent | undefined
35
+ BannerSectionContent | BookingSectionContent | undefined
33
36
  > = (content) => {
34
37
  return content?.buttonText !== '' && content?.buttonText !== false;
35
38
  };