@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,66 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="pretitle || title || subtitle">
|
|
3
|
+
<p
|
|
4
|
+
v-if="pretitle"
|
|
5
|
+
:class="
|
|
6
|
+
cn('mb-2 text-xl font-semibold lg:text-2xl', props.pretitleClass)
|
|
7
|
+
"
|
|
8
|
+
>
|
|
9
|
+
{{ pretitle }}
|
|
10
|
+
</p>
|
|
11
|
+
<h1 v-if="title && weight === 'h1'" :class="cn(titleClassList, props.titleClass)" v-html="title.replace(/\n/g, '<br>')"></h1>
|
|
12
|
+
<h2 v-if="title && weight === 'h2'" :class="cn(titleClassList, props.titleClass)" v-html="title.replace(/\n/g, '<br>')"></h2>
|
|
13
|
+
<h3 v-if="title && weight === 'h3'" :class="cn(titleClassList, props.titleClass)" v-html="title.replace(/\n/g, '<br>')"></h3>
|
|
14
|
+
<h4 v-if="title && weight === 'h4'" :class="cn(titleClassList, props.titleClass)" v-html="title.replace(/\n/g, '<br>')"></h4>
|
|
15
|
+
<h5 v-if="title && weight === 'h5'" :class="cn(titleClassList, props.titleClass)" v-html="title.replace(/\n/g, '<br>')"></h5>
|
|
16
|
+
<h6 v-if="title && weight === 'h6'" :class="cn(titleClassList, props.titleClass)" v-html="title.replace(/\n/g, '<br>')"></h6>
|
|
17
|
+
<p v-if="title && weight === 'p'" :class="cn(titleClassList, props.titleClass)" v-html="title.replace(/\n/g, '<br>')"></p>
|
|
18
|
+
<p v-if="subtitle" :class="cn('mb-2 font-semibold', props.subtitleClass)">
|
|
19
|
+
{{ subtitle }}
|
|
20
|
+
</p>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script lang="ts" setup>
|
|
25
|
+
import cn from '@iqual/nuxt-icms/composables/useCn'
|
|
26
|
+
|
|
27
|
+
const props = withDefaults(
|
|
28
|
+
defineProps<{
|
|
29
|
+
pretitle?: string
|
|
30
|
+
pretitleClass?: string
|
|
31
|
+
title?: string
|
|
32
|
+
titleClass?: string
|
|
33
|
+
subtitle?: string
|
|
34
|
+
subtitleClass?: string
|
|
35
|
+
weight?: string
|
|
36
|
+
style?: string
|
|
37
|
+
}>(),
|
|
38
|
+
{
|
|
39
|
+
weight: 'h2',
|
|
40
|
+
style: 'heading-2',
|
|
41
|
+
},
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
const titleClassList = computed(() => {
|
|
45
|
+
const classList = []
|
|
46
|
+
if (props.style == 'heading-1') {
|
|
47
|
+
classList.push('h1')
|
|
48
|
+
}
|
|
49
|
+
if (props.style == 'heading-2') {
|
|
50
|
+
classList.push('h2')
|
|
51
|
+
}
|
|
52
|
+
if (props.style == 'heading-3') {
|
|
53
|
+
classList.push('h3')
|
|
54
|
+
}
|
|
55
|
+
if (props.style == 'heading-4') {
|
|
56
|
+
classList.push('h4')
|
|
57
|
+
}
|
|
58
|
+
if (props.style == 'heading-5') {
|
|
59
|
+
classList.push('h5')
|
|
60
|
+
}
|
|
61
|
+
if (props.style == 'heading-6') {
|
|
62
|
+
classList.push('h6')
|
|
63
|
+
}
|
|
64
|
+
return classList
|
|
65
|
+
})
|
|
66
|
+
</script>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="relative">
|
|
3
|
+
<div v-if="isEditing" class="absolute inset-0 z-10 h-full w-full"></div>
|
|
4
|
+
<iframe
|
|
5
|
+
class="h-full w-full"
|
|
6
|
+
:title="title"
|
|
7
|
+
:src="link"
|
|
8
|
+
:style="{ height: height ? `${height}px` : '600px' }"
|
|
9
|
+
frameborder="0"
|
|
10
|
+
loading="lazy"
|
|
11
|
+
></iframe>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script setup lang="ts">
|
|
16
|
+
defineProps<{
|
|
17
|
+
title?: string
|
|
18
|
+
link?: string
|
|
19
|
+
height?: number
|
|
20
|
+
isEditing?: boolean
|
|
21
|
+
}>()
|
|
22
|
+
</script>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<DesignSystemMoleculesTitleComposition
|
|
4
|
+
:pretitle="pretitle"
|
|
5
|
+
:pretitleClass="pretitleClass"
|
|
6
|
+
:title="title"
|
|
7
|
+
:titleClass="titleClass"
|
|
8
|
+
:subtitle="subtitle"
|
|
9
|
+
:subtitleClass="subtitleClass"
|
|
10
|
+
:weight="titleWeight"
|
|
11
|
+
:style="titleStyle"
|
|
12
|
+
/>
|
|
13
|
+
|
|
14
|
+
<DesignSystemMoleculesMediaSlider
|
|
15
|
+
v-if="media && media.length"
|
|
16
|
+
:media="media"
|
|
17
|
+
:colorScheme="colorScheme"
|
|
18
|
+
:mediaClass="mediaClass"
|
|
19
|
+
:sliderClass="mediaSliderClass"
|
|
20
|
+
:elementClass="mediaElementClass"
|
|
21
|
+
/>
|
|
22
|
+
|
|
23
|
+
<div
|
|
24
|
+
v-if="text"
|
|
25
|
+
class="ck-content hyphens-auto text-base lg:hyphens-none"
|
|
26
|
+
:class="cn(textColumnClass, textClass)"
|
|
27
|
+
v-html="text"
|
|
28
|
+
/>
|
|
29
|
+
|
|
30
|
+
<DesignSystemMoleculesButtonGroup
|
|
31
|
+
:links="links"
|
|
32
|
+
:colorScheme="colorScheme"
|
|
33
|
+
:wrapperClass="buttonWrapperClass"
|
|
34
|
+
:buttonAlignment="buttonAlignment"
|
|
35
|
+
/>
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script lang="ts" setup>
|
|
40
|
+
import cn from '@iqual/nuxt-icms/composables/useCn'
|
|
41
|
+
import type { MediaFragment } from '#graphql-operations'
|
|
42
|
+
|
|
43
|
+
const props = defineProps<{
|
|
44
|
+
pretitle?: string
|
|
45
|
+
pretitleClass?: string
|
|
46
|
+
title?: string
|
|
47
|
+
titleClass?: string
|
|
48
|
+
subtitle?: string
|
|
49
|
+
subtitleClass?: string
|
|
50
|
+
text?: string
|
|
51
|
+
textClass?: string
|
|
52
|
+
links?: Array<object>
|
|
53
|
+
buttonAlignment?: string
|
|
54
|
+
buttonWrapperClass?: string
|
|
55
|
+
textColumns?: string
|
|
56
|
+
titleWeight?: string
|
|
57
|
+
titleStyle?: string
|
|
58
|
+
media?: MediaFragment[]
|
|
59
|
+
mediaClass?: string
|
|
60
|
+
colorScheme?: string
|
|
61
|
+
mediaSliderClass?: string
|
|
62
|
+
mediaElementClass?: string
|
|
63
|
+
}>()
|
|
64
|
+
|
|
65
|
+
const textColumnClass = computed(() => {
|
|
66
|
+
if (props?.textColumns === 'two') {
|
|
67
|
+
return 'md:column-count-2'
|
|
68
|
+
} else if (props?.textColumns === 'three') {
|
|
69
|
+
return 'md:column-count-3'
|
|
70
|
+
}
|
|
71
|
+
return ''
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
const buttonAlignment = computed(() => {
|
|
75
|
+
if (props.buttonAlignment === 'center') {
|
|
76
|
+
return 'justify-center'
|
|
77
|
+
} else if (props.buttonAlignment === 'right') {
|
|
78
|
+
return 'justify-end'
|
|
79
|
+
}
|
|
80
|
+
return ''
|
|
81
|
+
})
|
|
82
|
+
</script>
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="{ 'shadow-custom-small': open }"
|
|
4
|
+
class="flip-teaser relative col-span-12 aspect-square overflow-hidden rounded-lg transition-shadow duration-300 ease-in-out hover:shadow-custom-small md:col-span-6 xl:col-span-3"
|
|
5
|
+
@mouseenter="open = true"
|
|
6
|
+
@mouseleave="open = false"
|
|
7
|
+
>
|
|
8
|
+
<!-- Image -->
|
|
9
|
+
<div class="flip-teaser-grid-item">
|
|
10
|
+
<Media
|
|
11
|
+
v-if="image"
|
|
12
|
+
:media="image"
|
|
13
|
+
imageSizes="xs:100vw sm:100vw md:50vw lg:320px"
|
|
14
|
+
/>
|
|
15
|
+
<!-- Opaque Overlay -->
|
|
16
|
+
<div :class="flipTeaserOpaqueOverlay({ colorScheme })" />
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<!-- Title -->
|
|
20
|
+
<div class="flip-teaser-grid-item relative flex items-end px-6 py-7">
|
|
21
|
+
<DesignSystemOrganismsContentBlock
|
|
22
|
+
:title="title"
|
|
23
|
+
:titleWeight="titleWeight"
|
|
24
|
+
:titleStyle="'heading-5'"
|
|
25
|
+
titleClass="font-semibold mb-0"
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<!-- Overlay -->
|
|
30
|
+
<div
|
|
31
|
+
:class="
|
|
32
|
+
cn(flipTeaserOverlay({ colorScheme }), {
|
|
33
|
+
'!cursor-default opacity-100': open,
|
|
34
|
+
})
|
|
35
|
+
"
|
|
36
|
+
>
|
|
37
|
+
<!-- Texts -->
|
|
38
|
+
<div>
|
|
39
|
+
<DesignSystemOrganismsContentBlock
|
|
40
|
+
:pretitle="pretitle"
|
|
41
|
+
pretitleClass="text-gray-300 font-medium text-base lg:text-base mb-2"
|
|
42
|
+
:title="title"
|
|
43
|
+
:titleWeight="titleWeight"
|
|
44
|
+
titleClass="mb-2"
|
|
45
|
+
:subtitle="subtitle"
|
|
46
|
+
:text="text"
|
|
47
|
+
textClass="text-sm line-clamp-3"
|
|
48
|
+
:titleStyle="'heading-5'"
|
|
49
|
+
:colorScheme="colorScheme"
|
|
50
|
+
/>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<!-- Decorative arrow -->
|
|
54
|
+
<NuxtLink
|
|
55
|
+
:class="flipTeaserIconWrapper({ colorScheme })"
|
|
56
|
+
:to="link === '' ? language : language + link"
|
|
57
|
+
:title="linkLabel"
|
|
58
|
+
>
|
|
59
|
+
<SpriteSymbol
|
|
60
|
+
name="chevron-down"
|
|
61
|
+
:class="flipTeaserIcon({ colorScheme })"
|
|
62
|
+
/>
|
|
63
|
+
</NuxtLink>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</template>
|
|
67
|
+
|
|
68
|
+
<script lang="ts" setup>
|
|
69
|
+
import { tv } from 'tailwind-variants'
|
|
70
|
+
import cn from '@iqual/nuxt-icms/composables/useCn'
|
|
71
|
+
import type { MediaFragment } from '#graphql-operations'
|
|
72
|
+
|
|
73
|
+
defineProps<{
|
|
74
|
+
image?: MediaFragment
|
|
75
|
+
pretitle?: string
|
|
76
|
+
title?: string
|
|
77
|
+
titleWeight?: string
|
|
78
|
+
subtitle?: string
|
|
79
|
+
text?: string
|
|
80
|
+
link?: string
|
|
81
|
+
linkLabel?: string
|
|
82
|
+
}>()
|
|
83
|
+
|
|
84
|
+
const flipTeaserOverlay = tv({
|
|
85
|
+
base: 'flip-teaser-grid-item absolute inset-0 flex cursor-pointer flex-col justify-between gap-4 p-6 opacity-0 transition-opacity duration-300 ease-in-out',
|
|
86
|
+
variants: {
|
|
87
|
+
colorScheme: {
|
|
88
|
+
none: 'bg-white',
|
|
89
|
+
dark: 'bg-gray-900',
|
|
90
|
+
light: 'bg-gray-50',
|
|
91
|
+
accent: 'bg-primary-700',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
defaultVariants: {
|
|
95
|
+
colorScheme: 'none',
|
|
96
|
+
},
|
|
97
|
+
})
|
|
98
|
+
|
|
99
|
+
const flipTeaserOpaqueOverlay = tv({
|
|
100
|
+
base: 'pointer-events-none absolute inset-0 opacity-60',
|
|
101
|
+
variants: {
|
|
102
|
+
colorScheme: {
|
|
103
|
+
none: 'bg-white',
|
|
104
|
+
dark: 'bg-gray-900',
|
|
105
|
+
light: 'bg-gray-50',
|
|
106
|
+
accent: 'bg-primary-700',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
defaultVariants: {
|
|
110
|
+
colorScheme: 'none',
|
|
111
|
+
},
|
|
112
|
+
})
|
|
113
|
+
|
|
114
|
+
const flipTeaserIconWrapper = tv({
|
|
115
|
+
base: 'group ml-auto grid size-12 shrink-0 cursor-pointer place-content-center rounded-full transition-all',
|
|
116
|
+
variants: {
|
|
117
|
+
colorScheme: {
|
|
118
|
+
none: 'bg-gray-50 hover:bg-black',
|
|
119
|
+
dark: 'bg-black hover:bg-white',
|
|
120
|
+
light: 'bg-gray-100 hover:bg-black',
|
|
121
|
+
accent: 'bg-primary-600 hover:bg-primary-800',
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
defaultVariants: {
|
|
125
|
+
colorScheme: 'none',
|
|
126
|
+
},
|
|
127
|
+
})
|
|
128
|
+
|
|
129
|
+
const flipTeaserIcon = tv({
|
|
130
|
+
base: 'size-8 -rotate-90 transition-all duration-300 ease-in-out',
|
|
131
|
+
variants: {
|
|
132
|
+
colorScheme: {
|
|
133
|
+
none: 'text-black group-hover:text-white',
|
|
134
|
+
dark: 'text-white group-hover:text-black',
|
|
135
|
+
light: 'text-black group-hover:text-white',
|
|
136
|
+
accent: 'text-white',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
defaultVariants: {
|
|
140
|
+
colorScheme: 'none',
|
|
141
|
+
},
|
|
142
|
+
})
|
|
143
|
+
|
|
144
|
+
const colorScheme = inject<string>('colorScheme')
|
|
145
|
+
|
|
146
|
+
const open = ref(false)
|
|
147
|
+
const language = ref(useCurrentLanguage())
|
|
148
|
+
|
|
149
|
+
</script>
|
|
150
|
+
|
|
151
|
+
<style lang="css" scoped>
|
|
152
|
+
.flip-teaser {
|
|
153
|
+
display: grid;
|
|
154
|
+
grid-template-areas: 'content';
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.flip-teaser-grid-item {
|
|
158
|
+
grid-area: content;
|
|
159
|
+
}
|
|
160
|
+
</style>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<NuxtLink :class="logoElement({ colorScheme })" :to="link" :title="title">
|
|
3
|
+
<Media
|
|
4
|
+
v-if="logo"
|
|
5
|
+
:media="logo"
|
|
6
|
+
mediaClass="h-full"
|
|
7
|
+
imageSizes="xs:200px"
|
|
8
|
+
/>
|
|
9
|
+
</NuxtLink>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script lang="ts" setup>
|
|
13
|
+
import { tv } from 'tailwind-variants'
|
|
14
|
+
import type { MediaFragment } from '#graphql-operations'
|
|
15
|
+
|
|
16
|
+
defineProps<{
|
|
17
|
+
logo?: MediaFragment
|
|
18
|
+
link?: string
|
|
19
|
+
title?: string
|
|
20
|
+
colorScheme?: string
|
|
21
|
+
}>()
|
|
22
|
+
|
|
23
|
+
const logoElement = tv({
|
|
24
|
+
base: 'flex h-[160px] w-full items-center justify-center rounded-lg bg-white p-8 shadow-custom',
|
|
25
|
+
variants: {
|
|
26
|
+
colorScheme: {
|
|
27
|
+
none: 'bg-white',
|
|
28
|
+
dark: 'bg-gray-900',
|
|
29
|
+
light: 'bg-white',
|
|
30
|
+
accent: 'bg-primary-700',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
defaultVariants: {
|
|
34
|
+
colorScheme: 'none',
|
|
35
|
+
},
|
|
36
|
+
})
|
|
37
|
+
</script>
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="@container">
|
|
3
|
+
<div :class="teamElementWrapper({ colorScheme })">
|
|
4
|
+
<Media
|
|
5
|
+
v-if="image"
|
|
6
|
+
:media="image"
|
|
7
|
+
imageAspectRatios="1/1"
|
|
8
|
+
imageSizes="xs:100vw sm:100vw md:320px lg:380px"
|
|
9
|
+
mediaClass="aspect-square min-h-64 rounded-full overflow-hidden object-cover object-center @xl:w-[calc(50%-24px)] @xl:shrink-0"
|
|
10
|
+
/>
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
class="@xl:shrink-1 flex w-full grow flex-col gap-6 @xl:w-[calc(50%-24px)] @xl:justify-center"
|
|
14
|
+
>
|
|
15
|
+
<DesignSystemOrganismsContentBlock
|
|
16
|
+
:title="(firstname ?? '') + ((firstname && lastname) ? ' ' : '') + (lastname ?? '')"
|
|
17
|
+
:titleWeight="titleWeight"
|
|
18
|
+
titleClass="text-2xl lg:text-2xl font-semibold mb-2 last:mb-0"
|
|
19
|
+
:subtitle="position"
|
|
20
|
+
subtitleClass="mb-0"
|
|
21
|
+
:text="text"
|
|
22
|
+
textClass="mt-2"
|
|
23
|
+
/>
|
|
24
|
+
|
|
25
|
+
<div class="mt-auto flex flex-col gap-2">
|
|
26
|
+
<DesignSystemAtomsButton
|
|
27
|
+
:label="email"
|
|
28
|
+
:title="email"
|
|
29
|
+
:link="'mailto:' + email"
|
|
30
|
+
:target-blank="false"
|
|
31
|
+
:style="'minimal'"
|
|
32
|
+
:colorScheme="colorScheme"
|
|
33
|
+
buttonClass="block p-0 font-normal break-all"
|
|
34
|
+
/>
|
|
35
|
+
|
|
36
|
+
<DesignSystemAtomsButton
|
|
37
|
+
:label="phone"
|
|
38
|
+
:title="phone"
|
|
39
|
+
:link="'tel:' + phone"
|
|
40
|
+
:target-blank="false"
|
|
41
|
+
:style="'minimal'"
|
|
42
|
+
:colorScheme="colorScheme"
|
|
43
|
+
buttonClass="block p-0 font-normal break-all"
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<BlokkliField
|
|
48
|
+
name="field_icms_buttons"
|
|
49
|
+
:list="buttons"
|
|
50
|
+
class="flex flex-wrap gap-4"
|
|
51
|
+
/>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</template>
|
|
56
|
+
|
|
57
|
+
<script lang="ts" setup>
|
|
58
|
+
import { tv } from 'tailwind-variants'
|
|
59
|
+
import type { MediaFragment } from '#graphql-operations'
|
|
60
|
+
|
|
61
|
+
defineProps<{
|
|
62
|
+
firstname?: string
|
|
63
|
+
lastname?: string
|
|
64
|
+
titleWeight?: string
|
|
65
|
+
position?: string
|
|
66
|
+
email?: string
|
|
67
|
+
phone?: string
|
|
68
|
+
text?: string
|
|
69
|
+
image?: MediaFragment
|
|
70
|
+
buttons?: Array<object>
|
|
71
|
+
colorScheme?: string
|
|
72
|
+
}>()
|
|
73
|
+
|
|
74
|
+
const teamElementWrapper = tv({
|
|
75
|
+
base: 'flex h-full flex-col gap-6 rounded-lg items-center p-6 shadow-custom-small @xl:flex-row @7xl:p-12 @xl:gap-12',
|
|
76
|
+
variants: {
|
|
77
|
+
colorScheme: {
|
|
78
|
+
none: 'bg-white',
|
|
79
|
+
dark: 'bg-gray-900',
|
|
80
|
+
light: 'bg-white',
|
|
81
|
+
accent: 'bg-primary-700',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
defaultVariants: {
|
|
85
|
+
colorScheme: 'none',
|
|
86
|
+
},
|
|
87
|
+
})
|
|
88
|
+
|
|
89
|
+
</script>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="@container">
|
|
3
|
+
<div :class="teaserCard({ colorScheme })">
|
|
4
|
+
<Media
|
|
5
|
+
v-if="image"
|
|
6
|
+
:media="image"
|
|
7
|
+
imageSizes="xs:100vw sm:100vw md:320px lg:380px"
|
|
8
|
+
imageAspectRatios="16/9"
|
|
9
|
+
mediaClass="aspect-16/9 w-full @xl:w-1/2"
|
|
10
|
+
elementClass="size-full object-cover object-center rounded-lg"
|
|
11
|
+
/>
|
|
12
|
+
|
|
13
|
+
<div class="flex h-full flex-col @xl:w-1/2">
|
|
14
|
+
<DesignSystemOrganismsContentBlock
|
|
15
|
+
:pretitle="pretitle"
|
|
16
|
+
pretitleClass="mb-2 text-base lg:text-base text-gray-300 font-medium"
|
|
17
|
+
:title="title"
|
|
18
|
+
:titleWeight="titleWeight"
|
|
19
|
+
titleClass="mb-2 text-xl lg:text-xl @sm:!text-2xl font-semibold line-clamp-4"
|
|
20
|
+
:subtitle="subtitle"
|
|
21
|
+
subtitleClass="mb-2 text-base lg:text-base font-semibold"
|
|
22
|
+
:text="text"
|
|
23
|
+
textClass="text-sm line-clamp-4"
|
|
24
|
+
/>
|
|
25
|
+
|
|
26
|
+
<div v-if="link" class="mt-auto flex pt-6">
|
|
27
|
+
<DesignSystemAtomsButton
|
|
28
|
+
:link="link"
|
|
29
|
+
:label="linkLabel ?? linkLabelFallback"
|
|
30
|
+
:title="linkLabel ?? linkLabelFallback"
|
|
31
|
+
:target-blank="false"
|
|
32
|
+
:style="'normal'"
|
|
33
|
+
:colorScheme="colorScheme"
|
|
34
|
+
/>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<script lang="ts" setup>
|
|
42
|
+
import { tv } from 'tailwind-variants'
|
|
43
|
+
import type { MediaFragment } from '#graphql-operations'
|
|
44
|
+
|
|
45
|
+
defineProps<{
|
|
46
|
+
image?: MediaFragment
|
|
47
|
+
pretitle?: string
|
|
48
|
+
title?: string
|
|
49
|
+
titleWeight?: string
|
|
50
|
+
subtitle?: string
|
|
51
|
+
text?: string
|
|
52
|
+
link?: string
|
|
53
|
+
linkLabel?: string
|
|
54
|
+
colorScheme?: string
|
|
55
|
+
}>()
|
|
56
|
+
|
|
57
|
+
const { $texts } = useNuxtApp()
|
|
58
|
+
const linkLabelFallback = $texts('teaser_card.link_label', 'Read more')
|
|
59
|
+
|
|
60
|
+
const teaserCard = tv({
|
|
61
|
+
base: 'relative shadow-custom-small rounded-lg p-6 h-full flex gap-6 flex-col @xl:flex-row @7xl:p-12 @7xl:gap-12',
|
|
62
|
+
variants: {
|
|
63
|
+
colorScheme: {
|
|
64
|
+
none: 'bg-white',
|
|
65
|
+
dark: 'bg-gray-900',
|
|
66
|
+
light: 'bg-white',
|
|
67
|
+
accent: 'bg-primary-700',
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
defaultVariants: {
|
|
71
|
+
colorScheme: 'none',
|
|
72
|
+
},
|
|
73
|
+
})
|
|
74
|
+
</script>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<DesignSystemOrganismsContentBlock
|
|
4
|
+
:title="title"
|
|
5
|
+
:titleWeight="titleWeight"
|
|
6
|
+
titleClass="text-xl font-semibold lg:text-2xl mb-1"
|
|
7
|
+
:text="text"
|
|
8
|
+
:colorScheme="colorScheme"
|
|
9
|
+
/>
|
|
10
|
+
<div class="mt-10 flex items-center">
|
|
11
|
+
<Media
|
|
12
|
+
v-if="image"
|
|
13
|
+
:media="image"
|
|
14
|
+
imageAspectRatios="1/1"
|
|
15
|
+
imageSizes="xs:60px"
|
|
16
|
+
mediaClass="mr-6 size-16 rounded-full overflow-hidden"
|
|
17
|
+
/>
|
|
18
|
+
<div
|
|
19
|
+
class="flex shrink-0 flex-col"
|
|
20
|
+
:class="{ 'mr-6 border-black pr-6 lg:border-r-1': logo }"
|
|
21
|
+
>
|
|
22
|
+
<div>
|
|
23
|
+
<span v-if="firstName" class="font-bold">{{ firstName }}</span>
|
|
24
|
+
<span v-if="lastName"> </span>
|
|
25
|
+
<span v-if="lastName" class="font-bold">{{ lastName }}</span>
|
|
26
|
+
</div>
|
|
27
|
+
<div v-if="position">{{ position }}</div>
|
|
28
|
+
</div>
|
|
29
|
+
<Media
|
|
30
|
+
v-if="logo"
|
|
31
|
+
:media="logo"
|
|
32
|
+
imageSizes="xs:100px"
|
|
33
|
+
mediaClass="hidden max-w-24 lg:block"
|
|
34
|
+
/>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script lang="ts" setup>
|
|
40
|
+
import type { MediaFragment } from '#graphql-operations'
|
|
41
|
+
|
|
42
|
+
defineProps<{
|
|
43
|
+
title?: string
|
|
44
|
+
titleWeight?: string
|
|
45
|
+
text?: string
|
|
46
|
+
image?: MediaFragment
|
|
47
|
+
firstName?: string
|
|
48
|
+
lastName?: string
|
|
49
|
+
position?: string
|
|
50
|
+
logo?: MediaFragment
|
|
51
|
+
colorScheme?: string
|
|
52
|
+
}>()
|
|
53
|
+
</script>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<DesignSystemAtomsGridRow>
|
|
3
|
+
<div class="col-span-12 sm:col-span-6 lg:col-span-5 lg:col-start-2">
|
|
4
|
+
<DesignSystemMoleculesTitleComposition
|
|
5
|
+
:pretitle="pretitle"
|
|
6
|
+
:pretitleClass="pretitleClass"
|
|
7
|
+
:title="title"
|
|
8
|
+
:titleClass="titleClass"
|
|
9
|
+
:weight="titleWeight"
|
|
10
|
+
:style="titleStyle"
|
|
11
|
+
/>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-span-12 sm:col-span-6 lg:col-span-4 lg:col-start-8">
|
|
14
|
+
<DesignSystemMoleculesTitleComposition
|
|
15
|
+
:subtitle="subtitle"
|
|
16
|
+
:subtitleClass="subtitleClass"
|
|
17
|
+
class="mb-2 text-base"
|
|
18
|
+
/>
|
|
19
|
+
<div
|
|
20
|
+
v-if="text"
|
|
21
|
+
class="ck-content hyphens-auto text-base"
|
|
22
|
+
v-html="text"
|
|
23
|
+
:textClass="textClass"
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
26
|
+
</DesignSystemAtomsGridRow>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script lang="ts" setup>
|
|
30
|
+
defineProps<{
|
|
31
|
+
pretitle?: string
|
|
32
|
+
pretitleClass?: string
|
|
33
|
+
title?: string
|
|
34
|
+
titleClass?: string
|
|
35
|
+
titleWeight?: string
|
|
36
|
+
titleStyle?: string
|
|
37
|
+
subtitle?: string
|
|
38
|
+
subtitleClass?: string
|
|
39
|
+
text?: string
|
|
40
|
+
textClass?: string
|
|
41
|
+
}>()
|
|
42
|
+
</script>
|