diff --git a/components/Ecosystem/EcosystemCard.vue b/components/Ecosystem/EcosystemCard.vue
index 7cfaf463c1..a882ccb3bd 100644
--- a/components/Ecosystem/EcosystemCard.vue
+++ b/components/Ecosystem/EcosystemCard.vue
@@ -12,19 +12,19 @@
}"
:to="member.url"
:secondary-cta="websiteCta"
+ :description="member.description"
>
-
-
- {{ member.licence }}
-
-
-
- {{ member.stars }}
-
-
-
- {{ member.description }}
-
+
+
+
+ {{ member.licence }}
+
+
+
+ {{ member.stars }}
+
+
+
-
-
- {{ description }}
-
-
- {{ description.substring(0, MAX_DESCRIPTION_LENGTH_CH).trim() }}...
- show more
-
-
- {{ description }}
- show less
-
-
@@ -77,7 +57,7 @@ interface Props {
regions?: string[];
}
-const props = withDefaults(defineProps
(), {
+withDefaults(defineProps(), {
types: () => [],
altText: "Event image",
institution: "",
@@ -91,15 +71,6 @@ const props = withDefaults(defineProps(), {
to: "",
regions: () => [],
});
-
-const MAX_DESCRIPTION_LENGTH_CH = 240;
-const tooLongDescription =
- props.description && props.description.length > MAX_DESCRIPTION_LENGTH_CH;
-
-const showMore = ref(false);
-function toggleDescriptionLength() {
- showMore.value = !showMore.value;
-}