1
1
import { useTranslations } from "@/i18n" ;
2
2
import Image from "next/image" ;
3
3
4
- import ILC from "@/assets/images/collaborators/ilc.png" ;
5
- import Rangelands from "@/assets/images/collaborators/rangelands.png" ;
6
4
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" ;
10
6
import IUCN from "@/assets/images/collaborators/iucn.png" ;
11
7
12
8
const COLLABORATORS = [
13
- { name : "ilc" , image : ILC } ,
14
- { name : "rangelands" , image : Rangelands } ,
9
+ { name : "gef" , image : GEF } ,
15
10
{ name : "ilri" , image : ILRI } ,
16
- { name : "unep" , image : UNEP } ,
17
- { name : "fao" , image : FAO } ,
18
- { name : "wwf" , image : WWF } ,
19
11
{ name : "iucn" , image : IUCN } ,
20
12
] ;
21
13
@@ -26,11 +18,11 @@ const Collaborators = () => {
26
18
< p className = "text-center uppercase" > { t ( "collaborators" ) } :</ p >
27
19
< div className = "flex flex-wrap content-center items-center justify-between gap-6" >
28
20
{ COLLABORATORS . map ( ( { name, image } ) => (
29
- < div key = { name } className = "p-5" >
21
+ < div key = { name } className = "flex-1 p-5" >
30
22
< Image
31
23
src = { image }
32
24
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"
34
26
/>
35
27
</ div >
36
28
) ) }
0 commit comments