"use client";
import { FC } from "react";
import { useTranslate } from "react-polyglot";
import Image from "next/legacy/image";
import Link from "next/link";
import { Grid, Container, Box, Button } from "@mui/material";
import { useAppContext } from "../../../apps/leafcutter/app/_components/AppProvider";
import { PageHeader } from "./PageHeader";
import { AboutFeature } from "./AboutFeature";
import { AboutBox } from "./AboutBox";
import AbstractDiagram from "../images/abstract-diagram.png";
import AboutHeader from "../images/about-header.png";
import Globe from "../images/globe.png";
import Controls from "../images/controls.png";
import CommunityBackground from "../images/community-background.png";
import Bicycle from "../images/bicycle.png";
export const About: FC = () => {
const t = useTranslate();
const {
colors: { white, leafcutterElectricBlue, cdrLinkOrange },
typography: { h1, h4, p },
} = useAppContext();
return (
<>
{t("aboutLeafcutterTitle")}
{t("aboutLeafcutterDescription")}
{t("whereDataComesFromTitle")}
{t("whereDataComesFromDescription")
.split("\n")
.map((line: string, i: number) => (
{line}
))}
{t("projectSupportTitle")}
{t("projectSupportDescription")
.split("\n")
.map((line: string, i: number) => (
{line}
))}
{t("interestedInLeafcutterTitle")}
{t("interestedInLeafcutterDescription")
.split("\n")
.map((line: string, i: number) => (
{line}
))}
>
);
};