diff --git a/src/components/sections/Centered2x2GridSection.vue b/src/components/sections/Centered2x2GridSection.vue index 2e91b46..95a201b 100644 --- a/src/components/sections/Centered2x2GridSection.vue +++ b/src/components/sections/Centered2x2GridSection.vue @@ -28,13 +28,13 @@ import {FontAwesomeIcon} from "@fortawesome/vue-fontawesome"; import type {IconDefinition} from "@fortawesome/free-regular-svg-icons"; interface FeaturePoint { - name: String, - description: String, + name: string, + description: string, icon: IconDefinition } const props = defineProps({ - title: String | null, + title: { type: String, default: null, required: false }, subtitle: String, description: String, imageUrl: String, diff --git a/src/components/sections/HeroSection.vue b/src/components/sections/HeroSection.vue index aca2361..053b3eb 100644 --- a/src/components/sections/HeroSection.vue +++ b/src/components/sections/HeroSection.vue @@ -32,8 +32,8 @@ diff --git a/src/components/sections/ImageLeftFeatureSection.vue b/src/components/sections/ImageLeftFeatureSection.vue index 074c10d..c305723 100644 --- a/src/components/sections/ImageLeftFeatureSection.vue +++ b/src/components/sections/ImageLeftFeatureSection.vue @@ -39,13 +39,13 @@ import {FontAwesomeIcon} from "@fortawesome/vue-fontawesome"; import type {IconDefinition} from "@fortawesome/free-regular-svg-icons"; interface FeaturePoint { - name: String, - description: String, + name: string, + description: string, icon: IconDefinition } const props = defineProps({ - title: String | null, + title: { type: String, default: null, required: false }, subtitle: String, description: String, imageUrl: String, diff --git a/src/components/sections/ImageRightFeatureSection.vue b/src/components/sections/ImageRightFeatureSection.vue index 24c830f..df98dea 100644 --- a/src/components/sections/ImageRightFeatureSection.vue +++ b/src/components/sections/ImageRightFeatureSection.vue @@ -37,13 +37,13 @@ import {FontAwesomeIcon} from "@fortawesome/vue-fontawesome"; import type {IconDefinition} from "@fortawesome/free-regular-svg-icons"; interface FeaturePoint { - name: String, - description: String, + name: string, + description: string, icon: IconDefinition } const props = defineProps({ - title: String | null, + title: { type: String, default: null, required: false }, subtitle: String, description: String, imageUrl: String, diff --git a/src/components/sections/SquareImageFeatureSection.vue b/src/components/sections/SquareImageFeatureSection.vue index dcae76d..0c9a89b 100644 --- a/src/components/sections/SquareImageFeatureSection.vue +++ b/src/components/sections/SquareImageFeatureSection.vue @@ -14,7 +14,7 @@ {{ description }}