@iqual/nuxt-icms 1.0.2
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/app.config.ts +1 -0
- package/app.vue +50 -0
- package/assets/css/backend.css +82 -0
- package/assets/css/ckeditor.css +15 -0
- package/assets/css/components/carousel.css +91 -0
- package/assets/css/components/ck-content.css +65 -0
- package/assets/css/components/container.css +17 -0
- package/assets/css/components/dialog.css +9 -0
- package/assets/css/components/grid-container.css +296 -0
- package/assets/css/components/link.css +21 -0
- package/assets/css/fe-fixes.css +105 -0
- package/assets/css/tailwind.css +104 -0
- package/assets/css/typography.css +67 -0
- package/assets/symbols/chevron-down.svg +1 -0
- package/assets/symbols/chevron-right.svg +3 -0
- package/assets/symbols/close.svg +3 -0
- package/assets/symbols/facebook.svg +3 -0
- package/assets/symbols/instagram.svg +13 -0
- package/assets/symbols/linkedin.svg +4 -0
- package/assets/symbols/logo.svg +22 -0
- package/assets/symbols/magnifyingglass.svg +4 -0
- package/assets/symbols/pinterest.svg +4 -0
- package/assets/symbols/play.svg +6 -0
- package/assets/symbols/tiktok.svg +4 -0
- package/assets/symbols/x.svg +4 -0
- package/bundles.ts +50 -0
- package/components/Blokkli/Button/Element/icon.svg +4 -0
- package/components/Blokkli/Button/Element/index.vue +18 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/CallToAction/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/CallToAction/icon.svg +5 -0
- package/components/Blokkli/CallToAction/index.vue +15 -0
- package/components/Blokkli/Card/Element/icon.svg +6 -0
- package/components/Blokkli/Card/Element/index.vue +14 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-large-spacing.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Card/Layout/icon-blokkli-option-small-spacing.svg +1 -0
- package/components/Blokkli/Card/Layout/icon.svg +8 -0
- package/components/Blokkli/Card/Layout/index.vue +15 -0
- package/components/Blokkli/Contact/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Contact/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Contact/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Contact/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Contact/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Contact/icon.svg +5 -0
- package/components/Blokkli/Contact/index.vue +15 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Downloads/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Downloads/icon.svg +5 -0
- package/components/Blokkli/Downloads/index.vue +16 -0
- package/components/Blokkli/FAQ/Element/icon-blokkli-option-large-spacing.svg +1 -0
- package/components/Blokkli/FAQ/Element/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/FAQ/Element/icon-blokkli-option-small-spacing.svg +1 -0
- package/components/Blokkli/FAQ/Element/icon.svg +3 -0
- package/components/Blokkli/FAQ/Element/index.vue +14 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/FAQ/Layout/icon.svg +5 -0
- package/components/Blokkli/FAQ/Layout/index.vue +20 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/FlipTeasers/icon.svg +7 -0
- package/components/Blokkli/FlipTeasers/index.vue +15 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Gallery/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Gallery/icon.svg +5 -0
- package/components/Blokkli/Gallery/index.vue +16 -0
- package/components/Blokkli/HeroImage/icon.svg +5 -0
- package/components/Blokkli/HeroImage/index.vue +15 -0
- package/components/Blokkli/IconText/Element/icon.svg +5 -0
- package/components/Blokkli/IconText/Element/index.vue +14 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/IconText/Layout/icon.svg +7 -0
- package/components/Blokkli/IconText/Layout/index.vue +20 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Introduction/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Introduction/icon.svg +5 -0
- package/components/Blokkli/Introduction/index.vue +20 -0
- package/components/Blokkli/Logo/Element/icon.svg +6 -0
- package/components/Blokkli/Logo/Element/index.vue +14 -0
- package/components/Blokkli/Media/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Media/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Media/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Media/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Media/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Media/icon.svg +8 -0
- package/components/Blokkli/Media/index.vue +15 -0
- package/components/Blokkli/Partnerships/Element/icon.svg +3 -0
- package/components/Blokkli/Partnerships/Element/index.vue +13 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Partnerships/Layout/icon.svg +5 -0
- package/components/Blokkli/Partnerships/Layout/index.vue +15 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/SingleTestimonial/icon.svg +5 -0
- package/components/Blokkli/SingleTestimonial/index.vue +20 -0
- package/components/Blokkli/Table/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Table/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Table/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Table/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Table/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Table/icon.svg +5 -0
- package/components/Blokkli/Table/index.vue +15 -0
- package/components/Blokkli/Tabs/Element/icon.svg +3 -0
- package/components/Blokkli/Tabs/Element/index.vue +14 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Tabs/Layout/icon.svg +5 -0
- package/components/Blokkli/Tabs/Layout/index.vue +20 -0
- package/components/Blokkli/Team/Element/icon.svg +3 -0
- package/components/Blokkli/Team/Element/index.vue +14 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Team/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Team/Layout/icon.svg +5 -0
- package/components/Blokkli/Team/Layout/index.vue +15 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Teasers/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Teasers/icon.svg +6 -0
- package/components/Blokkli/Teasers/index.vue +15 -0
- package/components/Blokkli/Testimonial/Element/icon.svg +3 -0
- package/components/Blokkli/Testimonial/Element/index.vue +14 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Testimonial/Layout/icon.svg +5 -0
- package/components/Blokkli/Testimonial/Layout/index.vue +15 -0
- package/components/Blokkli/Text/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/Text/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/Text/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/Text/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/Text/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/Text/icon.svg +7 -0
- package/components/Blokkli/Text/index.vue +21 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/TextMedia/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/TextMedia/icon.svg +5 -0
- package/components/Blokkli/TextMedia/index.vue +22 -0
- package/components/Blokkli/TwoColumnText/Element/icon.svg +8 -0
- package/components/Blokkli/TwoColumnText/Element/index.vue +15 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/TwoColumnText/Layout/icon.svg +10 -0
- package/components/Blokkli/TwoColumnText/Layout/index.vue +18 -0
- package/components/Blokkli/iFrame/Element/icon.svg +5 -0
- package/components/Blokkli/iFrame/Element/index.vue +14 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-large-spacing-bottom.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-large-spacing-top.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-no-spacing.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-small-spacing-bottom.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon-blokkli-option-small-spacing-top.svg +1 -0
- package/components/Blokkli/iFrame/Layout/icon.svg +7 -0
- package/components/Blokkli/iFrame/Layout/index.vue +18 -0
- package/components/DesignSystem/Atoms/Button.vue +144 -0
- package/components/DesignSystem/Atoms/Container.vue +54 -0
- package/components/DesignSystem/Atoms/GridRow.vue +13 -0
- package/components/DesignSystem/Molecules/ButtonGroup.vue +45 -0
- package/components/DesignSystem/Molecules/Card.vue +70 -0
- package/components/DesignSystem/Molecules/IconText.vue +62 -0
- package/components/DesignSystem/Molecules/MediaSlider.vue +72 -0
- package/components/DesignSystem/Molecules/Partnership.vue +40 -0
- package/components/DesignSystem/Molecules/Table.vue +170 -0
- package/components/DesignSystem/Molecules/TitleComposition.vue +66 -0
- package/components/DesignSystem/Molecules/iFrame.vue +22 -0
- package/components/DesignSystem/Organisms/ContentBlock.vue +82 -0
- package/components/DesignSystem/Organisms/FlipTeaser.vue +160 -0
- package/components/DesignSystem/Organisms/LogoElement.vue +37 -0
- package/components/DesignSystem/Organisms/TeamElement.vue +89 -0
- package/components/DesignSystem/Organisms/TeaserCard.vue +74 -0
- package/components/DesignSystem/Organisms/Testimonial.vue +53 -0
- package/components/DesignSystem/Organisms/TwoColumnTextElement.vue +42 -0
- package/components/Drupal/Breadcrumb/fragment.breadcrumb.graphql +6 -0
- package/components/Drupal/Breadcrumb/index.vue +88 -0
- package/components/Drupal/Messages/index.vue +29 -0
- package/components/Drupal/Webform/fragment.graphql +86 -0
- package/components/Drupal/Webform/index.vue +174 -0
- package/components/Drupal/Webform/mutation.graphql +8 -0
- package/components/Drupal/Webform/query.graphql +21 -0
- package/components/Form/CheckboxInput.vue +35 -0
- package/components/Form/CheckboxInputs.vue +44 -0
- package/components/Form/FileUploadInput.vue +34 -0
- package/components/Form/RadioButtonsInput.vue +44 -0
- package/components/Form/SelectInput.vue +54 -0
- package/components/Form/SubmitButton.vue +12 -0
- package/components/Form/TextAreaInput.vue +34 -0
- package/components/Form/TextEmailInput.vue +35 -0
- package/components/Form/TextInput.vue +35 -0
- package/components/Form/TextPhoneInput.vue +35 -0
- package/components/Form/WebformMarkup.vue +9 -0
- package/components/Form/composables/useFormElement.ts +84 -0
- package/components/Form/utils/types.ts +64 -0
- package/components/Media/Icon/fragment.mediaIcon.graphql +9 -0
- package/components/Media/Icon/index.vue +16 -0
- package/components/Media/Image/fragment.graphql +11 -0
- package/components/Media/Image/index.vue +215 -0
- package/components/Media/RemoteVideo/fragment.graphql +27 -0
- package/components/Media/RemoteVideo/index.vue +58 -0
- package/components/Media/Video/fragment.graphql +17 -0
- package/components/Media/Video/index.vue +44 -0
- package/components/Media/fragment.graphql +8 -0
- package/components/Media/index.vue +33 -0
- package/components/Node/Icms/Page/fragment.graphql +17 -0
- package/components/Node/Icms/Page/index.vue +14 -0
- package/components/Paragraph/Button/Element/fragment.graphql +14 -0
- package/components/Paragraph/Button/Element/index.vue +23 -0
- package/components/Paragraph/CallToAction/fragment.graphql +12 -0
- package/components/Paragraph/CallToAction/index.vue +60 -0
- package/components/Paragraph/Card/Element/fragment.graphql +10 -0
- package/components/Paragraph/Card/Element/index.vue +19 -0
- package/components/Paragraph/Card/Layout/fragment.graphql +14 -0
- package/components/Paragraph/Card/Layout/index.vue +58 -0
- package/components/Paragraph/Contact/fragment.graphql +20 -0
- package/components/Paragraph/Contact/index.vue +60 -0
- package/components/Paragraph/Downloads/fragment.graphql +15 -0
- package/components/Paragraph/Downloads/index.vue +104 -0
- package/components/Paragraph/FAQ/Element/fragment.graphql +10 -0
- package/components/Paragraph/FAQ/Element/index.vue +66 -0
- package/components/Paragraph/FAQ/Layout/fragment.graphql +23 -0
- package/components/Paragraph/FAQ/Layout/index.vue +84 -0
- package/components/Paragraph/FlipTeasers/fragment.graphql +25 -0
- package/components/Paragraph/FlipTeasers/index.vue +59 -0
- package/components/Paragraph/Gallery/fragment.graphql +11 -0
- package/components/Paragraph/Gallery/index.vue +223 -0
- package/components/Paragraph/HeroImage/fragment.graphql +17 -0
- package/components/Paragraph/HeroImage/index.vue +147 -0
- package/components/Paragraph/IconText/Element/fragment.graphql +8 -0
- package/components/Paragraph/IconText/Element/index.vue +18 -0
- package/components/Paragraph/IconText/Layout/fragment.graphql +23 -0
- package/components/Paragraph/IconText/Layout/index.vue +76 -0
- package/components/Paragraph/Introduction/fragment.graphql +20 -0
- package/components/Paragraph/Introduction/index.vue +94 -0
- package/components/Paragraph/Logo/Element/fragment.graphql +11 -0
- package/components/Paragraph/Logo/Element/index.vue +17 -0
- package/components/Paragraph/Media/fragment.graphql +5 -0
- package/components/Paragraph/Media/index.vue +83 -0
- package/components/Paragraph/Partnerships/Element/fragment.graphql +11 -0
- package/components/Paragraph/Partnerships/Element/index.vue +14 -0
- package/components/Paragraph/Partnerships/Layout/fragment.graphql +17 -0
- package/components/Paragraph/Partnerships/Layout/index.vue +119 -0
- package/components/Paragraph/SingleTestimonial/fragment.graphql +24 -0
- package/components/Paragraph/SingleTestimonial/index.vue +79 -0
- package/components/Paragraph/Table/fragment.graphql +11 -0
- package/components/Paragraph/Table/index.vue +43 -0
- package/components/Paragraph/Tabs/Element/fragment.graphql +17 -0
- package/components/Paragraph/Tabs/Element/index.vue +78 -0
- package/components/Paragraph/Tabs/Layout/fragment.graphql +11 -0
- package/components/Paragraph/Tabs/Layout/index.vue +191 -0
- package/components/Paragraph/Team/Element/fragment.graphql +17 -0
- package/components/Paragraph/Team/Element/index.vue +23 -0
- package/components/Paragraph/Team/Layout/fragment.graphql +14 -0
- package/components/Paragraph/Team/Layout/index.vue +51 -0
- package/components/Paragraph/Teasers/fragment.graphql +25 -0
- package/components/Paragraph/Teasers/index.vue +58 -0
- package/components/Paragraph/Testimonial/Element/fragment.graphql +13 -0
- package/components/Paragraph/Testimonial/Element/index.vue +29 -0
- package/components/Paragraph/Testimonial/Layout/fragment.graphql +13 -0
- package/components/Paragraph/Testimonial/Layout/index.vue +109 -0
- package/components/Paragraph/Text/fragment.graphql +14 -0
- package/components/Paragraph/Text/index.vue +66 -0
- package/components/Paragraph/TextMedia/fragment.graphql +17 -0
- package/components/Paragraph/TextMedia/index.vue +125 -0
- package/components/Paragraph/TwoColumnText/Element/fragment.graphql +8 -0
- package/components/Paragraph/TwoColumnText/Element/index.vue +31 -0
- package/components/Paragraph/TwoColumnText/Layout/fragment.graphql +8 -0
- package/components/Paragraph/TwoColumnText/Layout/index.vue +25 -0
- package/components/Paragraph/fragment.paragraphsFieldItem.graphql +6 -0
- package/components/Paragraph/iFrame/Element/fragment.graphql +9 -0
- package/components/Paragraph/iFrame/Element/index.vue +16 -0
- package/components/Paragraph/iFrame/Layout/fragment.graphql +13 -0
- package/components/Paragraph/iFrame/Layout/index.vue +161 -0
- package/components/Section/Footer/index.vue +144 -0
- package/components/Section/Header/GlobalMenu.vue +337 -0
- package/components/Section/Header/LanguageDropdown.vue +105 -0
- package/components/Section/Header/MenuIcon.vue +171 -0
- package/components/Section/Header/MetaMenu.vue +57 -0
- package/components/Section/Header/SearchLink.vue +26 -0
- package/components/Section/Header/index.vue +205 -0
- package/components/ui/accordion/Accordion.vue +19 -0
- package/components/ui/accordion/AccordionContent.vue +26 -0
- package/components/ui/accordion/AccordionItem.vue +27 -0
- package/components/ui/accordion/AccordionTrigger.vue +41 -0
- package/components/ui/accordion/index.ts +4 -0
- package/components/ui/button/Button.vue +26 -0
- package/components/ui/button/index.ts +36 -0
- package/components/ui/carousel/Carousel.vue +72 -0
- package/components/ui/carousel/CarouselContent.vue +30 -0
- package/components/ui/carousel/CarouselItem.vue +25 -0
- package/components/ui/carousel/CarouselNext.vue +33 -0
- package/components/ui/carousel/CarouselPrevious.vue +33 -0
- package/components/ui/carousel/index.ts +8 -0
- package/components/ui/carousel/interface.ts +24 -0
- package/components/ui/carousel/useCarousel.ts +66 -0
- package/components/ui/checkbox/Checkbox.vue +34 -0
- package/components/ui/checkbox/index.ts +1 -0
- package/components/ui/dialog/Dialog.vue +19 -0
- package/components/ui/dialog/DialogClose.vue +11 -0
- package/components/ui/dialog/DialogContent.vue +53 -0
- package/components/ui/dialog/DialogDescription.vue +30 -0
- package/components/ui/dialog/DialogFooter.vue +19 -0
- package/components/ui/dialog/DialogHeader.vue +16 -0
- package/components/ui/dialog/DialogScrollContent.vue +66 -0
- package/components/ui/dialog/DialogTitle.vue +28 -0
- package/components/ui/dialog/DialogTrigger.vue +11 -0
- package/components/ui/dialog/index.ts +9 -0
- package/components/ui/input/Input.vue +24 -0
- package/components/ui/input/index.ts +1 -0
- package/components/ui/label/Label.vue +29 -0
- package/components/ui/label/index.ts +1 -0
- package/components/ui/radio-group/RadioGroup.vue +27 -0
- package/components/ui/radio-group/RadioGroupItem.vue +41 -0
- package/components/ui/radio-group/index.ts +2 -0
- package/components/ui/select/Select.vue +15 -0
- package/components/ui/select/SelectContent.vue +54 -0
- package/components/ui/select/SelectGroup.vue +21 -0
- package/components/ui/select/SelectItem.vue +46 -0
- package/components/ui/select/SelectItemText.vue +12 -0
- package/components/ui/select/SelectLabel.vue +14 -0
- package/components/ui/select/SelectScrollDownButton.vue +26 -0
- package/components/ui/select/SelectScrollUpButton.vue +26 -0
- package/components/ui/select/SelectSeparator.vue +19 -0
- package/components/ui/select/SelectTrigger.vue +33 -0
- package/components/ui/select/SelectValue.vue +12 -0
- package/components/ui/select/index.ts +11 -0
- package/components/ui/tabs/Tabs.vue +15 -0
- package/components/ui/tabs/TabsContent.vue +29 -0
- package/components/ui/tabs/TabsList.vue +27 -0
- package/components/ui/tabs/TabsTrigger.vue +33 -0
- package/components/ui/tabs/index.ts +4 -0
- package/components/ui/textarea/Textarea.vue +24 -0
- package/components/ui/textarea/index.ts +1 -0
- package/components.json +18 -0
- package/composables/breadcrumb.ts +42 -0
- package/composables/languageLinks.ts +31 -0
- package/composables/query.initData.graphql +102 -0
- package/composables/useAccordionScroll.ts +30 -0
- package/composables/useChildTitleWeight.ts +13 -0
- package/composables/useCn.ts +7 -0
- package/composables/useCurrentLangcodeEnum.ts +18 -0
- package/composables/useDrupalMessages.ts +41 -0
- package/composables/useDrupalUser.ts +11 -0
- package/composables/useInitData.ts +118 -0
- package/composables/useIsMobile.ts +14 -0
- package/composables/useMainMenuLinks.ts +69 -0
- package/composables/useMetaMenuLinks.ts +44 -0
- package/composables/useNavigationOffset.ts +14 -0
- package/config/graphqlMiddleware/index.ts +41 -0
- package/config/multiCache/index.ts +28 -0
- package/config/postcss-drupal/postcss.config.cjs +14 -0
- package/config/runtimeConfig.ts +12 -0
- package/error.vue +39 -0
- package/eslint.config.mjs +111 -0
- package/formkit.config.ts +56 -0
- package/formkit.theme.ts +5000 -0
- package/layouts/default.vue +66 -0
- package/layouts/error.vue +98 -0
- package/layouts/library.vue +5 -0
- package/modules/dynamicNodeResolver.ts +95 -0
- package/modules/dynamicParagraphResolver.ts +69 -0
- package/nuxt.config.ts +551 -0
- package/package.json +64 -0
- package/pages/[...slug]/index.vue +27 -0
- package/pages/__tests__/index.ts +77 -0
- package/pages/blokkli/library-item/[uuid].vue +52 -0
- package/pages/blokkli/library-item/query.library.graphql +21 -0
- package/pages/index.vue +27 -0
- package/pages/node/[nid]/index.vue +25 -0
- package/pages/search/index.vue +69 -0
- package/pages/static-page/example.vue +40 -0
- package/plugins/clickaway.ts +12 -0
- package/plugins/drupalUser.ts +33 -0
- package/plugins/graphqlMiddleware.ts +115 -0
- package/queries/blokkli.graphql +5 -0
- package/queries/fragment.blokkliProps.graphql +8 -0
- package/queries/fragment.routeQuery.graphql +51 -0
- package/queries/query.drupalUser.graphql +10 -0
- package/server/api/content-search/index.ts +160 -0
- package/server/api/icon/[...params].ts +199 -0
- package/server/graphqlMiddleware.serverOptions.ts +87 -0
- package/server/helpers/index.ts +32 -0
- package/server/helpers/request.ts +44 -0
- package/server/middleware/spa.ts +45 -0
- package/server/multiCache.serverOptions.ts +32 -0
- package/server/tsconfig.json +3 -0
- package/server/utils/cacheability.ts +138 -0
- package/shims-vue.d.ts +5 -0
- package/tailwind.config.ts +228 -0
- package/vitest.config.mts +28 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
|
|
3
|
+
<DesignSystemAtomsGridRow>
|
|
4
|
+
|
|
5
|
+
<div :class="textColumnClassList">
|
|
6
|
+
<DesignSystemOrganismsContentBlock
|
|
7
|
+
:pretitle="pretitle"
|
|
8
|
+
pretitleClass="mb-2.5"
|
|
9
|
+
:title="title"
|
|
10
|
+
:subtitle="subtitle"
|
|
11
|
+
:titleWeight="titleWeight"
|
|
12
|
+
:titleStyle="titleStyle"
|
|
13
|
+
titleClass="mb-5"
|
|
14
|
+
:text="text"
|
|
15
|
+
:colorScheme="colorScheme"
|
|
16
|
+
/>
|
|
17
|
+
<BlokkliField
|
|
18
|
+
name="field_icms_buttons"
|
|
19
|
+
:list="buttons"
|
|
20
|
+
class="mt-6 flex flex-wrap gap-6"
|
|
21
|
+
:class="[buttonAlignment, { droptarget: isEditing }]"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
<div :class="imageColumnClassList">
|
|
25
|
+
<DesignSystemMoleculesMediaSlider
|
|
26
|
+
v-if="media && media.length"
|
|
27
|
+
:media="media"
|
|
28
|
+
:colorScheme="colorScheme"
|
|
29
|
+
mediaClass="size-full rounded-lg overflow-hidden"
|
|
30
|
+
sliderClass="my-0 rounded-lg overflow-hidden"
|
|
31
|
+
imageSizes="xs:100vw sm:100vw md:50vw lg:640px"
|
|
32
|
+
/>
|
|
33
|
+
</div>
|
|
34
|
+
</DesignSystemAtomsGridRow>
|
|
35
|
+
</DesignSystemAtomsContainer>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
<script lang="ts" setup>
|
|
39
|
+
import type { ParagraphIcmsLayoutTextMediaFragment } from '#graphql-operations'
|
|
40
|
+
|
|
41
|
+
defineProps<ParagraphIcmsLayoutTextMediaFragment>()
|
|
42
|
+
|
|
43
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
44
|
+
|
|
45
|
+
const textColumnClassList = computed(() => {
|
|
46
|
+
const classList = ['col-span-12']
|
|
47
|
+
|
|
48
|
+
if (options.value.textWidth === 'medium') {
|
|
49
|
+
classList.push('md:col-span-6')
|
|
50
|
+
} else if (options.value.textWidth === 'narrow') {
|
|
51
|
+
classList.push('md:col-span-4')
|
|
52
|
+
} else {
|
|
53
|
+
classList.push('md:col-span-8')
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (options.value.textAlign === 'right') {
|
|
57
|
+
classList.push(
|
|
58
|
+
'md:order-last',
|
|
59
|
+
options.value.textWidth === 'medium'
|
|
60
|
+
? 'md:col-start-7 md:pl-6'
|
|
61
|
+
: options.value.textWidth === 'narrow'
|
|
62
|
+
? 'md:col-start-8'
|
|
63
|
+
: 'md:col-start-5',
|
|
64
|
+
)
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
if (options.value.textAlign === 'left' && options.value.textWidth === 'medium') {
|
|
68
|
+
classList.push('md:pr-6')
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return classList
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
const imageColumnClassList = computed(() => {
|
|
75
|
+
const classList = ['col-span-12']
|
|
76
|
+
|
|
77
|
+
if (options.value.textWidth === 'medium') {
|
|
78
|
+
classList.push('md:col-span-6')
|
|
79
|
+
} else if (options.value.textWidth === 'narrow') {
|
|
80
|
+
classList.push('md:col-span-7')
|
|
81
|
+
} else {
|
|
82
|
+
classList.push('md:col-span-3')
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (options.value.textAlign === 'left') {
|
|
86
|
+
classList.push(
|
|
87
|
+
'md:order-last',
|
|
88
|
+
options.value.textWidth === 'medium'
|
|
89
|
+
? 'md:col-start-7 md:pl-6'
|
|
90
|
+
: options.value.textWidth === 'narrow'
|
|
91
|
+
? 'md:col-start-6'
|
|
92
|
+
: 'md:col-start-10',
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (options.value.textAlign === 'right' && options.value.textWidth === 'medium') {
|
|
97
|
+
classList.push('md:pr-6')
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return classList
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
const colorScheme = computed(() => {
|
|
104
|
+
return options.value.colorScheme
|
|
105
|
+
})
|
|
106
|
+
|
|
107
|
+
const spacing = computed(() => {
|
|
108
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
const buttonAlignment = computed(() => {
|
|
112
|
+
switch (options.value.buttonAlignment) {
|
|
113
|
+
case 'left':
|
|
114
|
+
return 'justify-start'
|
|
115
|
+
case 'center':
|
|
116
|
+
return 'justify-center'
|
|
117
|
+
case 'right':
|
|
118
|
+
return 'justify-end'
|
|
119
|
+
default:
|
|
120
|
+
return 'justify-start'
|
|
121
|
+
}
|
|
122
|
+
})
|
|
123
|
+
|
|
124
|
+
provide('colorScheme', colorScheme)
|
|
125
|
+
</script>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemOrganismsTwoColumnTextElement
|
|
3
|
+
:pretitle="pretitle"
|
|
4
|
+
:title="title"
|
|
5
|
+
:titleWeight="titleWeight"
|
|
6
|
+
:titleStyle="titleStyle"
|
|
7
|
+
titleClass="mb-0"
|
|
8
|
+
:subtitle="subtitle"
|
|
9
|
+
:text="text"
|
|
10
|
+
:class="twoColumnTextElementClassList"
|
|
11
|
+
/>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script lang="ts" setup>
|
|
15
|
+
import type { ParagraphIcms2ColTextElementFragment } from '#graphql-operations'
|
|
16
|
+
|
|
17
|
+
defineProps<ParagraphIcms2ColTextElementFragment>()
|
|
18
|
+
|
|
19
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
20
|
+
|
|
21
|
+
const twoColumnTextElementClassList = computed(() => {
|
|
22
|
+
const classList = []
|
|
23
|
+
if (options.value.spacingBottom === 'small') {
|
|
24
|
+
classList.push('mb-16')
|
|
25
|
+
}
|
|
26
|
+
if (options.value.spacingBottom === 'large') {
|
|
27
|
+
classList.push('mb-32')
|
|
28
|
+
}
|
|
29
|
+
return classList
|
|
30
|
+
})
|
|
31
|
+
</script>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer :spacing="spacing" :colorScheme="colorScheme">
|
|
3
|
+
<BlokkliField
|
|
4
|
+
name="field_icms_2_col_text_elements"
|
|
5
|
+
:list="twoColumnTextElements"
|
|
6
|
+
:class="{ droptarget: isEditing }"
|
|
7
|
+
/>
|
|
8
|
+
</DesignSystemAtomsContainer>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import type { ParagraphIcmsLayout2ColTextElementsFragment } from '#graphql-operations'
|
|
13
|
+
|
|
14
|
+
defineProps<ParagraphIcmsLayout2ColTextElementsFragment>()
|
|
15
|
+
|
|
16
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
17
|
+
|
|
18
|
+
const colorScheme = computed(() => {
|
|
19
|
+
return options.value.colorScheme
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
const spacing = computed(() => {
|
|
23
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
24
|
+
})
|
|
25
|
+
</script>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemMoleculesIFrame
|
|
3
|
+
:title="title"
|
|
4
|
+
:link="link?.uri?.path"
|
|
5
|
+
:height="height"
|
|
6
|
+
:is-editing="isEditing"
|
|
7
|
+
/>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script lang="ts" setup>
|
|
11
|
+
import type { ParagraphIcmsIframeElementFragment } from '#graphql-operations'
|
|
12
|
+
|
|
13
|
+
defineProps<ParagraphIcmsIframeElementFragment>()
|
|
14
|
+
|
|
15
|
+
const isEditing = inject<boolean>('isEditing')
|
|
16
|
+
</script>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
fragment paragraphIcmsLayoutIframe on ParagraphIcmsLayoutIframe {
|
|
2
|
+
pretitle: fieldIcmsPretitle
|
|
3
|
+
title: fieldIcmsTitle
|
|
4
|
+
titleWeight: fieldIcmsTitleWeight
|
|
5
|
+
titleStyle: fieldIcmsTitleStyle
|
|
6
|
+
text: fieldIcmsText
|
|
7
|
+
iFrameElements: fieldIcmsIframeElements {
|
|
8
|
+
...paragraphsFieldItem
|
|
9
|
+
props {
|
|
10
|
+
...paragraphIcmsIframeElement
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsContainer :colorScheme="colorScheme" :spacing="spacing">
|
|
3
|
+
<DesignSystemAtomsGridRow class="pb-14 md:pb-0">
|
|
4
|
+
<div class="col-span-12 md:col-span-6" v-if="title">
|
|
5
|
+
<DesignSystemOrganismsContentBlock
|
|
6
|
+
:pretitle="pretitle"
|
|
7
|
+
:title="title"
|
|
8
|
+
:titleWeight="titleWeight"
|
|
9
|
+
:text="text"
|
|
10
|
+
:colorScheme="colorScheme"
|
|
11
|
+
/>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<div v-if="isEditing" class="col-span-12">
|
|
15
|
+
<BlokkliField
|
|
16
|
+
name="field_icms_iframe_elements"
|
|
17
|
+
:list="iFrameElements"
|
|
18
|
+
:class="{ droptarget: isEditing }"
|
|
19
|
+
/>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div v-else class="col-span-12">
|
|
23
|
+
<template v-if="iFrameElements && iFrameElements.length === 1">
|
|
24
|
+
<DesignSystemMoleculesIFrame
|
|
25
|
+
:title="iFrameElements[0].props?.title"
|
|
26
|
+
:link="iFrameElements[0].props?.link?.uri?.path"
|
|
27
|
+
:height="iFrameElements[0].props?.height"
|
|
28
|
+
/>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<Tabs
|
|
32
|
+
v-if="!isMobile && iFrameElements && iFrameElements.length > 1"
|
|
33
|
+
default-value="tab-1"
|
|
34
|
+
class="rounded-lg shadow-custom"
|
|
35
|
+
>
|
|
36
|
+
<TabsList
|
|
37
|
+
class="flex flex-col items-center justify-center bg-transparent p-0 lg:flex-row dark:bg-transparent"
|
|
38
|
+
>
|
|
39
|
+
<TabsTrigger
|
|
40
|
+
v-for="(iFrameElement, key) in iFrameElements"
|
|
41
|
+
:key="key"
|
|
42
|
+
:value="`tab-${key + 1}`"
|
|
43
|
+
:class="tabTrigger({ colorScheme })"
|
|
44
|
+
>
|
|
45
|
+
{{ iFrameElement?.props?.title }}
|
|
46
|
+
</TabsTrigger>
|
|
47
|
+
</TabsList>
|
|
48
|
+
<TabsContent
|
|
49
|
+
forceMount
|
|
50
|
+
v-for="(iFrameElement, key) in iFrameElements"
|
|
51
|
+
:key="key"
|
|
52
|
+
:value="`tab-${key + 1}`"
|
|
53
|
+
:class="tabContent({ colorScheme })"
|
|
54
|
+
>
|
|
55
|
+
<DesignSystemMoleculesIFrame
|
|
56
|
+
:title="iFrameElement.props?.title"
|
|
57
|
+
:link="iFrameElement.props?.link?.uri?.path"
|
|
58
|
+
:height="iFrameElement.props?.height"
|
|
59
|
+
/>
|
|
60
|
+
</TabsContent>
|
|
61
|
+
</Tabs>
|
|
62
|
+
|
|
63
|
+
<Accordion
|
|
64
|
+
v-if="isMobile && iFrameElements && iFrameElements.length > 1"
|
|
65
|
+
type="single"
|
|
66
|
+
class="w-full"
|
|
67
|
+
collapsible
|
|
68
|
+
default-value="accordion-1"
|
|
69
|
+
>
|
|
70
|
+
<AccordionItem
|
|
71
|
+
v-for="(iFrameElement, key) in iFrameElements"
|
|
72
|
+
:key="key"
|
|
73
|
+
:value="`accordion-${key + 1}`"
|
|
74
|
+
class="mb-1 border-none [&>h3]:mb-0"
|
|
75
|
+
>
|
|
76
|
+
<AccordionTrigger
|
|
77
|
+
:ref="(el: any) => (triggerRefs[key] = el)"
|
|
78
|
+
:class="accordionTrigger({ colorScheme })"
|
|
79
|
+
@click="handleClick(key)"
|
|
80
|
+
>
|
|
81
|
+
{{ iFrameElement?.props?.title }}
|
|
82
|
+
</AccordionTrigger>
|
|
83
|
+
<AccordionContent class="p-4 pb-6 text-base">
|
|
84
|
+
<DesignSystemMoleculesIFrame
|
|
85
|
+
:title="iFrameElement.props?.title"
|
|
86
|
+
:link="iFrameElement.props?.link?.uri?.path"
|
|
87
|
+
:height="iFrameElement.props?.height"
|
|
88
|
+
/>
|
|
89
|
+
</AccordionContent>
|
|
90
|
+
</AccordionItem>
|
|
91
|
+
</Accordion>
|
|
92
|
+
</div>
|
|
93
|
+
</DesignSystemAtomsGridRow>
|
|
94
|
+
</DesignSystemAtomsContainer>
|
|
95
|
+
</template>
|
|
96
|
+
|
|
97
|
+
<script lang="ts" setup>
|
|
98
|
+
import type { ParagraphIcmsLayoutIframeFragment } from '#graphql-operations'
|
|
99
|
+
import { tv } from 'tailwind-variants'
|
|
100
|
+
|
|
101
|
+
defineProps<ParagraphIcmsLayoutIframeFragment>()
|
|
102
|
+
|
|
103
|
+
const { isMobile } = useIsMobile()
|
|
104
|
+
|
|
105
|
+
const { options, isEditing } = useAttrs().blokkliData
|
|
106
|
+
|
|
107
|
+
const tabTrigger = tv({
|
|
108
|
+
base: 'inline-flex w-full flex-1 items-center justify-center whitespace-nowrap rounded-none rounded-t-lg py-4 text-base shadow-custom-inner transition-all disabled:pointer-events-none lg:w-fit data-[state=active]:shadow-none',
|
|
109
|
+
variants: {
|
|
110
|
+
colorScheme: {
|
|
111
|
+
none: 'bg-white dark:bg-white text-black dark:text-black data-[state=active]:bg-white dark:data-[state=active]:bg-white dark:data-[state=active]:text-black',
|
|
112
|
+
dark: 'bg-gray-700 dark:bg-gray-700 text-white dark:text-white data-[state=active]:bg-gray-900 dark:data-[state=active]:bg-gray-900 data-[state=active]:text-white',
|
|
113
|
+
light:
|
|
114
|
+
'bg-white dark:bg-white text-black dark:text-black data-[state=active]:bg-white dark:data-[state=active]:bg-white dark:data-[state=active]:text-black',
|
|
115
|
+
accent:
|
|
116
|
+
'bg-primary-600 dark:bg-primary-600 text-white dark:text-white data-[state=active]:bg-primary-700 dark:data-[state=active]:bg-primary-700 data-[state=active]:text-white',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
const tabContent = tv({
|
|
122
|
+
base: 'm-0 rounded-b-lg p-8 text-black md:p-16',
|
|
123
|
+
variants: {
|
|
124
|
+
colorScheme: {
|
|
125
|
+
none: 'bg-white text-black',
|
|
126
|
+
dark: 'bg-gray-900 text-white',
|
|
127
|
+
light: 'bg-white text-black',
|
|
128
|
+
accent: 'bg-primary-700 text-white',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
})
|
|
132
|
+
|
|
133
|
+
const accordionTrigger = tv({
|
|
134
|
+
base: 'items-center rounded-lg px-6 py-4 shadow-custom-small hover:no-underline gap-4 text-left text-base',
|
|
135
|
+
variants: {
|
|
136
|
+
colorScheme: {
|
|
137
|
+
none: 'bg-white text-black',
|
|
138
|
+
dark: 'bg-gray-900 text-white',
|
|
139
|
+
light: 'bg-white text-black',
|
|
140
|
+
accent: 'bg-primary-700 text-white',
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
})
|
|
144
|
+
|
|
145
|
+
const triggerRefs = ref<Array<ComponentPublicInstance>>([])
|
|
146
|
+
|
|
147
|
+
const handleClick = (index: number): void => {
|
|
148
|
+
const { handleAccordionOpen } = useAccordionScroll(triggerRefs.value[index])
|
|
149
|
+
handleAccordionOpen()
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const colorScheme = computed(() => {
|
|
153
|
+
return options.value.colorScheme
|
|
154
|
+
})
|
|
155
|
+
|
|
156
|
+
const spacing = computed(() => {
|
|
157
|
+
return { bottom: options.value.spacingBottom, top: options.value.spacingTop }
|
|
158
|
+
})
|
|
159
|
+
|
|
160
|
+
provide('isEditing', isEditing)
|
|
161
|
+
</script>
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<footer>
|
|
3
|
+
<DesignSystemAtomsContainer
|
|
4
|
+
:spacing="{ top: 'none', bottom: 'none' }"
|
|
5
|
+
class="border-y border-y-gray-100 pb-10 pt-16"
|
|
6
|
+
>
|
|
7
|
+
<DesignSystemAtomsGridRow class="grid-cols-3 lg:gap-36">
|
|
8
|
+
<div class="col-span-3 mb-6 lg:col-span-1">
|
|
9
|
+
<Media
|
|
10
|
+
v-if="companyLogo"
|
|
11
|
+
:media="companyLogo"
|
|
12
|
+
mediaClass="mb-8 w-32"
|
|
13
|
+
imageSizes="xs:128px"
|
|
14
|
+
/>
|
|
15
|
+
|
|
16
|
+
<DesignSystemOrganismsContentBlock
|
|
17
|
+
:title="companyName"
|
|
18
|
+
:titleWeight="'h5'"
|
|
19
|
+
:titleStyle="'heading-5'"
|
|
20
|
+
:text="companyDescription"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
23
|
+
<div
|
|
24
|
+
class="col-span-3 mb-6 flex flex-col gap-8 lg:col-span-1 lg:flex-row"
|
|
25
|
+
>
|
|
26
|
+
<ul v-for="(link, index) in footerMenuLinks" :key="index">
|
|
27
|
+
<p class="mb-5 font-bold" v-text="link.link.label" />
|
|
28
|
+
|
|
29
|
+
<li
|
|
30
|
+
v-for="(subLink, index) in link.subtree"
|
|
31
|
+
:key="index"
|
|
32
|
+
class="mb-3 last:mb-0"
|
|
33
|
+
>
|
|
34
|
+
<NuxtLink
|
|
35
|
+
v-if="subLink.link.url"
|
|
36
|
+
:to="subLink.link.url.path"
|
|
37
|
+
:title="subLink.link.label"
|
|
38
|
+
class="transition-colors hover:text-primary-500 focus:text-primary-500"
|
|
39
|
+
>{{ subLink.link.label }}</NuxtLink>
|
|
40
|
+
</li>
|
|
41
|
+
</ul>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-span-3 mb-6 flex flex-col gap-6 lg:col-span-1">
|
|
44
|
+
<DesignSystemOrganismsContentBlock :text="address" />
|
|
45
|
+
<div>
|
|
46
|
+
<NuxtLink
|
|
47
|
+
v-if="phoneNumber"
|
|
48
|
+
:to="`tel:${phoneNumber}`"
|
|
49
|
+
:title="phoneNumber"
|
|
50
|
+
class="mb-2 block w-fit font-medium text-black hover:text-primary-500 motion-safe:transition-colors motion-safe:duration-200"
|
|
51
|
+
>
|
|
52
|
+
{{ phoneNumber }}
|
|
53
|
+
</NuxtLink>
|
|
54
|
+
<NuxtLink
|
|
55
|
+
v-if="emailAddress"
|
|
56
|
+
:to="`mailto:${emailAddress}`"
|
|
57
|
+
:title="emailAddress"
|
|
58
|
+
class="mb-2 block w-fit font-medium text-black hover:text-primary-500 motion-safe:transition-colors motion-safe:duration-200"
|
|
59
|
+
>
|
|
60
|
+
{{ emailAddress }}
|
|
61
|
+
</NuxtLink>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</DesignSystemAtomsGridRow>
|
|
65
|
+
</DesignSystemAtomsContainer>
|
|
66
|
+
<DesignSystemAtomsContainer
|
|
67
|
+
v-if="socialMediaLinks || footerMetaMenuLinks"
|
|
68
|
+
:spacing="{ top: 'none', bottom: 'none' }"
|
|
69
|
+
class="py-6"
|
|
70
|
+
>
|
|
71
|
+
<DesignSystemAtomsGridRow>
|
|
72
|
+
<div
|
|
73
|
+
class="col-span-12 flex flex-col-reverse justify-between gap-6 lg:flex-row"
|
|
74
|
+
>
|
|
75
|
+
<div class="flex gap-4">
|
|
76
|
+
<template v-for="(link, index) in socialMediaLinks" :key="index">
|
|
77
|
+
<NuxtLink
|
|
78
|
+
v-if="link?.uri?.path"
|
|
79
|
+
:to="link?.uri?.path"
|
|
80
|
+
:title="getSocialMediaIconMeta(link.uri.path).title"
|
|
81
|
+
target="_blank"
|
|
82
|
+
class="group"
|
|
83
|
+
>
|
|
84
|
+
<SpriteSymbol
|
|
85
|
+
v-if="getSocialMediaIconMeta(link.uri.path)?.sprite"
|
|
86
|
+
:name="getSocialMediaIconMeta(link.uri.path).sprite"
|
|
87
|
+
class="size-8 transition-colors group-hover:text-primary-500"
|
|
88
|
+
/>
|
|
89
|
+
</NuxtLink>
|
|
90
|
+
</template>
|
|
91
|
+
</div>
|
|
92
|
+
<div class="flex items-center">
|
|
93
|
+
<ul class="flex flex-col gap-4 md:flex-row md:gap-6">
|
|
94
|
+
<li v-for="(link, index) in footerMetaMenuLinks" :key="index">
|
|
95
|
+
<NuxtLink
|
|
96
|
+
v-if="link.link.url"
|
|
97
|
+
:to="link.link.url.path"
|
|
98
|
+
:title="link.link.label"
|
|
99
|
+
class="underline transition-colors hover:text-primary-500 focus:text-primary-500"
|
|
100
|
+
prefetch
|
|
101
|
+
>{{ link.link.label }}</NuxtLink>
|
|
102
|
+
</li>
|
|
103
|
+
</ul>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</DesignSystemAtomsGridRow>
|
|
107
|
+
</DesignSystemAtomsContainer>
|
|
108
|
+
</footer>
|
|
109
|
+
</template>
|
|
110
|
+
|
|
111
|
+
<script lang="ts" setup>
|
|
112
|
+
import type { NuxtSvgSpriteSymbol } from '../../../../../.nuxt/nuxt-svg-sprite/runtime'
|
|
113
|
+
const initData: Ref<InitData> = await useInitData()
|
|
114
|
+
const { footerMenuLinks, footerMetaMenuLinks, globalConfig } = initData.value
|
|
115
|
+
const {
|
|
116
|
+
companyLogo,
|
|
117
|
+
companyName,
|
|
118
|
+
companyDescription,
|
|
119
|
+
address,
|
|
120
|
+
phoneNumber,
|
|
121
|
+
emailAddress,
|
|
122
|
+
socialMediaLinks,
|
|
123
|
+
} = globalConfig
|
|
124
|
+
|
|
125
|
+
interface SocialMediaIconMeta {
|
|
126
|
+
sprite: NuxtSvgSpriteSymbol
|
|
127
|
+
title: string
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
const socialIconsMap: Record<string, NuxtSvgSpriteSymbol> = {
|
|
131
|
+
facebook: 'facebook',
|
|
132
|
+
instagram: 'instagram',
|
|
133
|
+
x: 'x',
|
|
134
|
+
linkedin: 'linkedin',
|
|
135
|
+
tiktok: 'tiktok',
|
|
136
|
+
pinterest: 'pinterest',
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
const getSocialMediaIconMeta = (url: string): SocialMediaIconMeta => {
|
|
140
|
+
const domain = new URL(url).hostname.split('.com')[0].split('.').slice(-1)[0]
|
|
141
|
+
const title = domain.charAt(0).toUpperCase() + domain.slice(1)
|
|
142
|
+
return { sprite: socialIconsMap[domain], title: title }
|
|
143
|
+
}
|
|
144
|
+
</script>
|