Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<main>
Expand All @@ -197,7 +197,7 @@ const CollaborativesListingClient = () => {
<div className="w-full">
<div className=" bg-primaryBlue">
<div className=" container flex flex-col-reverse items-center gap-8 py-10 lg:flex-row ">
<div className="flex flex-col gap-5 lg:w-1/2">
<div className="flex flex-col gap-5 lg:w-3/5">
<Text
variant="heading2xl"
fontWeight="bold"
Expand All @@ -211,12 +211,10 @@ 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&apos;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.
</Text>
</div>
<div className="flex w-full items-center justify-center lg:w-1/2">
<div className="flex w-full items-center justify-center lg:w-2/5">
<Image
src={'/collaborative.svg'}
alt={'collaborative'}
Expand Down
4 changes: 2 additions & 2 deletions app/[locale]/(user)/collaboratives/components/Details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ const PrimaryDetails = ({ data, isLoading }: { data: any; isLoading: any }) => {
</Text>
</div>

<div className="flex flex-col border-x-[1px] border-solid border-tertiaryAccent px-8">
{/* <div className="flex flex-col border-x-[1px] border-solid border-tertiaryAccent px-8">
<Text variant="heading3xl" className="text-secondaryOrange">
{data.collaborativeBySlug.contributors?.length || 0}
</Text>
<Text variant="bodyLg" color="onBgDefault" className="w-24">
Contributors
</Text>
</div>
</div> */}
</div>

<div className=" lg:pr-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ const UpdateCollaborativeMetadata: any = graphql(`
id
code
name
number
}
geographies {
id
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const UpdateUseCaseMetadataMutation: any = graphql(`
id
code
name
number
}
}
}
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down