Skip to content

Commit f5f5030

Browse files
Update collaborators section (#75)
* Fix dataset description style * Update collaborators section (#74)
1 parent 07ea21d commit f5f5030

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed
30.9 KB
Loading

client/src/containers/home/collaborator.tsx

+4-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
import { useTranslations } from "@/i18n";
22
import Image from "next/image";
33

4-
import ILC from "@/assets/images/collaborators/ilc.png";
5-
import Rangelands from "@/assets/images/collaborators/rangelands.png";
64
import ILRI from "@/assets/images/collaborators/ilri.png";
7-
import UNEP from "@/assets/images/collaborators/unep.png";
8-
import FAO from "@/assets/images/collaborators/fao.png";
9-
import WWF from "@/assets/images/collaborators/wwf.png";
5+
import GEF from "@/assets/images/collaborators/gef.png";
106
import IUCN from "@/assets/images/collaborators/iucn.png";
117

128
const COLLABORATORS = [
13-
{ name: "ilc", image: ILC },
14-
{ name: "rangelands", image: Rangelands },
9+
{ name: "gef", image: GEF },
1510
{ name: "ilri", image: ILRI },
16-
{ name: "unep", image: UNEP },
17-
{ name: "fao", image: FAO },
18-
{ name: "wwf", image: WWF },
1911
{ name: "iucn", image: IUCN },
2012
];
2113

@@ -26,11 +18,11 @@ const Collaborators = () => {
2618
<p className="text-center uppercase">{t("collaborators")}:</p>
2719
<div className="flex flex-wrap content-center items-center justify-between gap-6">
2820
{COLLABORATORS.map(({ name, image }) => (
29-
<div key={name} className="p-5">
21+
<div key={name} className="flex-1 p-5">
3022
<Image
3123
src={image}
3224
alt={name}
33-
className="h-full max-h-20 w-full max-w-40 object-contain"
25+
className="mx-auto h-full max-h-20 w-full max-w-40 object-contain"
3426
/>
3527
</div>
3628
))}

0 commit comments

Comments
 (0)