From 1c36d7dc507764124d6b44f1e1088f4de473d43d Mon Sep 17 00:00:00 2001
From: parzival-space
Date: Mon, 13 May 2024 09:50:04 +0200
Subject: [PATCH] Resolve type-check errors
---
src/components/sections/Centered2x2GridSection.vue | 6 +++---
src/components/sections/HeroSection.vue | 4 ++--
src/components/sections/ImageLeftFeatureSection.vue | 6 +++---
src/components/sections/ImageRightFeatureSection.vue | 6 +++---
.../sections/SquareImageFeatureSection.vue | 4 ++--
src/components/sections/TeamSection.vue | 12 ++++++------
6 files changed, 19 insertions(+), 19 deletions(-)
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 }}
- -
+
-
{{ feature.name }}
@@ -31,7 +31,7 @@ import {FontAwesomeIcon} from "@fortawesome/vue-fontawesome";
import type {IconDefinition} from "@fortawesome/free-regular-svg-icons";
interface FeaturePoint {
- name: String,
+ name: string,
icon: IconDefinition
}
diff --git a/src/components/sections/TeamSection.vue b/src/components/sections/TeamSection.vue
index 7212cfd..5449e6a 100644
--- a/src/components/sections/TeamSection.vue
+++ b/src/components/sections/TeamSection.vue
@@ -18,7 +18,7 @@
{{ person.role }}
- -
+
-
{{ connection.name }}
@@ -38,16 +38,16 @@ import {FontAwesomeIcon} from "@fortawesome/vue-fontawesome";
import type {IconDefinition} from "@fortawesome/free-regular-svg-icons";
interface PersonInformation {
- name: String,
- imageUrl: String,
- role: String,
+ name: string,
+ imageUrl: string,
+ role: string,
connections: Connection[]
}
interface Connection {
- name: String,
+ name: string,
icon: IconDefinition,
- to: String,
+ to: string,
}
const props = defineProps({