Skip to content

Commit

Permalink
Merge pull request #1536 from GrabarzUndPartner/feature/update-compon…
Browse files Browse the repository at this point in the history
…ents

fix(update): update components
  • Loading branch information
ThornWalli authored Jan 17, 2025
2 parents 86178b2 + fc5bffb commit 4b4e86b
Show file tree
Hide file tree
Showing 23 changed files with 102 additions and 326 deletions.
7 changes: 6 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ export default defineNuxtConfig(() => {
autoImport: false
},

components: {
dirs: []
},

site: {
indexable: false,
trailingSlash: true
trailingSlash: true,
url: getWebsiteHost()
},

app: {
Expand Down
9 changes: 8 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"postcss-preset-env": "10.1.3",
"rucksack-css": "1.0.2",
"rxjs": "7.8.1",
"vite-svg-loader": "5.1.0"
"vite-svg-loader": "5.1.0",
"vue-semantic-structure": "^1.0.0"
},
"snyk": true
}
174 changes: 0 additions & 174 deletions src/components/base/ContentContainer.vue

This file was deleted.

80 changes: 0 additions & 80 deletions src/components/base/ContentHeadline.vue

This file was deleted.

7 changes: 4 additions & 3 deletions src/components/base/layout/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@
<script setup>
import { useRouter } from 'vue-router';
import { computed, watch, onMounted, onUnmounted } from 'vue';
import BaseLayoutLostContainer from './LostContainer';
import svgIconClose from '@/assets/svg/icons/menu-close.svg?vue-template';
import { useLayoutStore, useModalStore } from '@/stores/layout';
import BaseLayoutLostContainer from '@/components/base/layout/LostContainer.vue';
import svgIconClose from '@/assets/svg/icons/menu-close.svg';
const props = defineProps({
options: {
type: Object,
Expand Down
2 changes: 1 addition & 1 deletion src/components/base/layout/TwoColumnContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<script setup>
import { computed } from 'vue';
import BaseLayoutLostContainer from '@/components/base/layout/LostContainer';
import BaseLayoutLostContainer from '@/components/base/layout/LostContainer.vue';
const props = defineProps({
options: {
Expand Down
7 changes: 4 additions & 3 deletions src/components/element/Headline.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<base-content-headline class="element-headline">
<content-headline class="element-headline">
<slot>
<span
v-if="$slots.overline || overline"
Expand Down Expand Up @@ -29,12 +29,13 @@
</slot>
</span>
</slot>
</base-content-headline>
</content-headline>
</template>

<script setup>
import { ContentHeadline } from 'vue-semantic-structure';
import { useBoosterFonts } from '#imports';
import BaseContentHeadline from '@/components/base/ContentHeadline';
const { $getFont } = useBoosterFonts();
defineProps({
Expand Down
2 changes: 1 addition & 1 deletion src/components/element/ResponsiveVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {useRuntimeConfig, nextTick} from '#imports'
import {computed, onMounted, ref} from 'vue';
import { joinURL } from 'ufo';
import BoosterPicture from '#booster/components/BoosterPicture';
import BoosterPicture from '#booster/components/BoosterPicture.vue';
import SvgIconPlay from '@/assets/svg/icons/play.svg';
const props = defineProps({
Expand Down
21 changes: 11 additions & 10 deletions src/components/fragment/Content.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<template>
<base-content-container class="fragment-article">
<template #header>
<element-headline v-if="headline" v-bind="headline" />
</template>
<template #default>
<slot>
<element-rich-text :content="content" />
</slot>
</template>
</base-content-container>
<content-container class="fragment-article">
<element-headline v-if="headline" v-bind="headline" />
<slot>
<element-rich-text :content="content" />
</slot>
</content-container>
</template>

<script setup>
import { ContentContainer } from 'vue-semantic-structure';
import ElementHeadline from '@/components/element/Headline.vue';
import ElementRichText from '@/components/element/RichText.vue';
defineProps({
headline: {
type: Object,
Expand Down
Loading

0 comments on commit 4b4e86b

Please sign in to comment.