diff --git a/app/[locale]/(user)/collaboratives/CollaborativesListingClient.tsx b/app/[locale]/(user)/collaboratives/CollaborativesListingClient.tsx index 4c4cc91f..9d9fdbe5 100644 --- a/app/[locale]/(user)/collaboratives/CollaborativesListingClient.tsx +++ b/app/[locale]/(user)/collaboratives/CollaborativesListingClient.tsx @@ -181,7 +181,7 @@ const CollaborativesListingClient = () => { name: 'CivicDataLab', url: `${process.env.NEXT_PUBLIC_PLATFORM_URL}/collaboratives`, description: - 'Explore collaborative data initiatives and partnerships that bring organizations together to create impactful solutions.', + 'Solving the world\'s major challenges requires greater access to interoperable data that currently resides in silos. Data Collaboratives bring together government, academia, civil society, philanthropy, and companies to responsibly share and use data for public value. Building on trusted, long-term relationships among stakeholders, we can open access to high-impact datasets and responsible AI use-cases to generate insights for climate action, public health, gender equity, and other major shared problems, thereby advancing progress toward the Sustainable Development Goals. Our goal is to accelerate the formation of Data Collaboratives with shared governance, clear safeguards, and collaborative analytics, allowing stakeholders to harness data and AI for the public good.', }); return (
@@ -197,7 +197,7 @@ const CollaborativesListingClient = () => {
-
+
{ fontWeight="regular" className="leading-3 lg:leading-5" > - By Collaboratives we mean a collective effort by several organisations - in any specific sectors that can be applied to address some of the - most pressing concerns from hyper-local to the global level simultaneously. + Solving the world's major challenges requires greater access to interoperable data that currently resides in silos. Data Collaboratives bring together government, academia, civil society, philanthropy, and companies to responsibly share and use data for public value. Building on trusted, long-term relationships among stakeholders, we can open access to high-impact datasets and responsible AI use-cases to generate insights for climate action, public health, gender equity, and other major shared problems, thereby advancing progress toward the Sustainable Development Goals. Our goal is to accelerate the formation of Data Collaboratives with shared governance, clear safeguards, and collaborative analytics, allowing stakeholders to harness data and AI for the public good.
-
+
{'collaborative'} {
-
+ {/*
{data.collaborativeBySlug.contributors?.length || 0} Contributors -
+
*/}
diff --git a/app/[locale]/dashboard/[entityType]/[entitySlug]/collaboratives/edit/[id]/metadata/page.tsx b/app/[locale]/dashboard/[entityType]/[entitySlug]/collaboratives/edit/[id]/metadata/page.tsx index c466c33e..763ceb4d 100644 --- a/app/[locale]/dashboard/[entityType]/[entitySlug]/collaboratives/edit/[id]/metadata/page.tsx +++ b/app/[locale]/dashboard/[entityType]/[entitySlug]/collaboratives/edit/[id]/metadata/page.tsx @@ -132,6 +132,7 @@ const UpdateCollaborativeMetadata: any = graphql(` id code name + number } geographies { id @@ -216,7 +217,9 @@ const Metadata = () => { defaultVal['sdgs'] = data?.sdgs?.map((sdg: any) => { - const num = String(sdg.number || 0).padStart(2, '0'); + const num = sdg.number + ? String(sdg.number).padStart(2, '0') + : sdg.code.replace('SDG', '').padStart(2, '0'); return { label: `${num}. ${sdg.name}`, value: sdg.id, @@ -437,7 +440,9 @@ const Metadata = () => { name="sdgs" list={ getSDGsList?.data?.sdgs?.map((item: any) => { - const num = String(item.number || 0).padStart(2, '0'); + const num = item.number + ? String(item.number).padStart(2, '0') + : item.code.replace('SDG', '').padStart(2, '0'); return { label: `${num}. ${item.name}`, value: item.id, diff --git a/app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/metadata/page.tsx b/app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/metadata/page.tsx index 705ecf84..3fcae8cc 100644 --- a/app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/metadata/page.tsx +++ b/app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/metadata/page.tsx @@ -85,6 +85,7 @@ const UpdateUseCaseMetadataMutation: any = graphql(` id code name + number } } } @@ -240,7 +241,9 @@ const Metadata = () => { defaultVal['sdgs'] = data?.sdgs?.map((sdg: any) => { - const num = String(sdg.number || 0).padStart(2, '0'); + const num = sdg.number + ? String(sdg.number).padStart(2, '0') + : sdg.code.replace('SDG', '').padStart(2, '0'); return { label: `${num}. ${sdg.name}`, value: sdg.id, @@ -465,7 +468,9 @@ const Metadata = () => { name="sdgs" list={ getSDGsList?.data?.sdgs?.map((item: any) => { - const num = String(item.number || 0).padStart(2, '0'); + const num = item.number + ? String(item.number).padStart(2, '0') + : item.code.replace('SDG', '').padStart(2, '0'); return { label: `${num}. ${item.name}`, value: item.id,