Skip to content

Commit

Permalink
Update collaborators section (#75)
Browse files Browse the repository at this point in the history
* Fix dataset description style

* Update collaborators section (#74)
  • Loading branch information
barbara-chaves authored Sep 12, 2024
1 parent 07ea21d commit f5f5030
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Binary file added client/src/assets/images/collaborators/gef.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 4 additions & 12 deletions client/src/containers/home/collaborator.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
import { useTranslations } from "@/i18n";
import Image from "next/image";

import ILC from "@/assets/images/collaborators/ilc.png";
import Rangelands from "@/assets/images/collaborators/rangelands.png";
import ILRI from "@/assets/images/collaborators/ilri.png";
import UNEP from "@/assets/images/collaborators/unep.png";
import FAO from "@/assets/images/collaborators/fao.png";
import WWF from "@/assets/images/collaborators/wwf.png";
import GEF from "@/assets/images/collaborators/gef.png";
import IUCN from "@/assets/images/collaborators/iucn.png";

const COLLABORATORS = [
{ name: "ilc", image: ILC },
{ name: "rangelands", image: Rangelands },
{ name: "gef", image: GEF },
{ name: "ilri", image: ILRI },
{ name: "unep", image: UNEP },
{ name: "fao", image: FAO },
{ name: "wwf", image: WWF },
{ name: "iucn", image: IUCN },
];

Expand All @@ -26,11 +18,11 @@ const Collaborators = () => {
<p className="text-center uppercase">{t("collaborators")}:</p>
<div className="flex flex-wrap content-center items-center justify-between gap-6">
{COLLABORATORS.map(({ name, image }) => (
<div key={name} className="p-5">
<div key={name} className="flex-1 p-5">
<Image
src={image}
alt={name}
className="h-full max-h-20 w-full max-w-40 object-contain"
className="mx-auto h-full max-h-20 w-full max-w-40 object-contain"
/>
</div>
))}
Expand Down

0 comments on commit f5f5030

Please sign in to comment.