From 09bcef4c5de0da212e5de2a5c23cce6873f18f3b Mon Sep 17 00:00:00 2001 From: Ignacio Pascual <4764217+ignapas@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:23:30 +0100 Subject: [PATCH 1/2] added consortia links to docs --- components/Paper/Paper.vue | 7 +++++++ pages/about/consortia/[id].vue | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/components/Paper/Paper.vue b/components/Paper/Paper.vue index 93a5d00..585cf41 100644 --- a/components/Paper/Paper.vue +++ b/components/Paper/Paper.vue @@ -5,6 +5,9 @@
+ + {{ readMoreLink.label }} +
@@ -66,6 +69,10 @@ export default { showShareLinks: { type: Boolean, default: false + }, + readMoreLink: { + type: Object, + default: null } } } diff --git a/pages/about/consortia/[id].vue b/pages/about/consortia/[id].vue index bfd2224..30c4d59 100644 --- a/pages/about/consortia/[id].vue +++ b/pages/about/consortia/[id].vue @@ -10,7 +10,7 @@
- +
@@ -91,6 +91,7 @@ const ourResearchButtonText = computed(() => pathOr('', ['fields', 'ourResearchB const ourResearchButtonLink = computed(() => pathOr('', ['fields', 'ourResearchButtonLink'], consortiaItem.value)) const learnMore = computed(() => pathOr([], ['fields', 'learnMore'], consortiaItem.value)) const logoUrl = computed(() => pathOr('', ['fields', 'logo', 'fields', 'file', 'url'], consortiaItem.value)) +const readMoreLink = computed(() => pathOr('', ['fields', 'readMoreLink'], consortiaItem.value)) const featuredDatasetLink = computed(() => { const datasetPath = featuredDataset.value?.id ? `/datasets/${featuredDataset.value.id}` : '/'; From 58cae5560f7f6889e74b458b7ab0b4bf64c4dd92 Mon Sep 17 00:00:00 2001 From: Ignacio Pascual <4764217+ignapas@users.noreply.github.com> Date: Mon, 23 Dec 2024 18:36:50 +0100 Subject: [PATCH 2/2] latest requirements --- components/Paper/Paper.vue | 7 ------- pages/about/consortia/[id].vue | 27 +++++++++++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/components/Paper/Paper.vue b/components/Paper/Paper.vue index 585cf41..93a5d00 100644 --- a/components/Paper/Paper.vue +++ b/components/Paper/Paper.vue @@ -5,9 +5,6 @@
- - {{ readMoreLink.label }} -
@@ -69,10 +66,6 @@ export default { showShareLinks: { type: Boolean, default: false - }, - readMoreLink: { - type: Object, - default: null } } } diff --git a/pages/about/consortia/[id].vue b/pages/about/consortia/[id].vue index 30c4d59..b1b0725 100644 --- a/pages/about/consortia/[id].vue +++ b/pages/about/consortia/[id].vue @@ -10,12 +10,14 @@
- +
+