Skip to content

Commit 4b4e86b

Browse files
authored
Merge pull request #1536 from GrabarzUndPartner/feature/update-components
fix(update): update components
2 parents 86178b2 + fc5bffb commit 4b4e86b

23 files changed

+102
-326
lines changed

nuxt.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@ export default defineNuxtConfig(() => {
2323
autoImport: false
2424
},
2525

26+
components: {
27+
dirs: []
28+
},
29+
2630
site: {
2731
indexable: false,
28-
trailingSlash: true
32+
trailingSlash: true,
33+
url: getWebsiteHost()
2934
},
3035

3136
app: {

package-lock.json

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
"postcss-preset-env": "10.1.3",
7474
"rucksack-css": "1.0.2",
7575
"rxjs": "7.8.1",
76-
"vite-svg-loader": "5.1.0"
76+
"vite-svg-loader": "5.1.0",
77+
"vue-semantic-structure": "^1.0.0"
7778
},
7879
"snyk": true
7980
}

src/components/base/ContentContainer.vue

Lines changed: 0 additions & 174 deletions
This file was deleted.

src/components/base/ContentHeadline.vue

Lines changed: 0 additions & 80 deletions
This file was deleted.

src/components/base/layout/Modal.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@
2424
<script setup>
2525
import { useRouter } from 'vue-router';
2626
import { computed, watch, onMounted, onUnmounted } from 'vue';
27-
import BaseLayoutLostContainer from './LostContainer';
28-
29-
import svgIconClose from '@/assets/svg/icons/menu-close.svg?vue-template';
3027
import { useLayoutStore, useModalStore } from '@/stores/layout';
3128
29+
import BaseLayoutLostContainer from '@/components/base/layout/LostContainer.vue';
30+
31+
import svgIconClose from '@/assets/svg/icons/menu-close.svg';
32+
3233
const props = defineProps({
3334
options: {
3435
type: Object,

src/components/base/layout/TwoColumnContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<script setup>
2424
import { computed } from 'vue';
25-
import BaseLayoutLostContainer from '@/components/base/layout/LostContainer';
25+
import BaseLayoutLostContainer from '@/components/base/layout/LostContainer.vue';
2626
2727
const props = defineProps({
2828
options: {

src/components/element/Headline.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<base-content-headline class="element-headline">
2+
<content-headline class="element-headline">
33
<slot>
44
<span
55
v-if="$slots.overline || overline"
@@ -29,12 +29,13 @@
2929
</slot>
3030
</span>
3131
</slot>
32-
</base-content-headline>
32+
</content-headline>
3333
</template>
3434

3535
<script setup>
36+
import { ContentHeadline } from 'vue-semantic-structure';
3637
import { useBoosterFonts } from '#imports';
37-
import BaseContentHeadline from '@/components/base/ContentHeadline';
38+
3839
const { $getFont } = useBoosterFonts();
3940
4041
defineProps({

src/components/element/ResponsiveVideo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {useRuntimeConfig, nextTick} from '#imports'
1616
import {computed, onMounted, ref} from 'vue';
1717
1818
import { joinURL } from 'ufo';
19-
import BoosterPicture from '#booster/components/BoosterPicture';
19+
import BoosterPicture from '#booster/components/BoosterPicture.vue';
2020
import SvgIconPlay from '@/assets/svg/icons/play.svg';
2121
2222
const props = defineProps({

src/components/fragment/Content.vue

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
<template>
2-
<base-content-container class="fragment-article">
3-
<template #header>
4-
<element-headline v-if="headline" v-bind="headline" />
5-
</template>
6-
<template #default>
7-
<slot>
8-
<element-rich-text :content="content" />
9-
</slot>
10-
</template>
11-
</base-content-container>
2+
<content-container class="fragment-article">
3+
<element-headline v-if="headline" v-bind="headline" />
4+
<slot>
5+
<element-rich-text :content="content" />
6+
</slot>
7+
</content-container>
128
</template>
139

1410
<script setup>
11+
import { ContentContainer } from 'vue-semantic-structure';
12+
13+
import ElementHeadline from '@/components/element/Headline.vue';
14+
import ElementRichText from '@/components/element/RichText.vue';
15+
1516
defineProps({
1617
headline: {
1718
type: Object,

0 commit comments

Comments
 (0)