quivr/frontend/app/(home)/components/UseCases/UseCases.tsx

31 lines
914 B
TypeScript

import Link from "next/link";
import { useTranslation } from "react-i18next";
import { LuChevronRight } from "react-icons/lu";
import Button from "@/lib/components/ui/Button";
import { UseCasesListing } from "./components/UseCasesListing/UseCasesListing";
export const UseCases = (): JSX.Element => {
const { t } = useTranslation("home");
return (
<div className="text-white w-full">
<div className="mb-3">
<h2 className="text-center text-3xl font-semibold mb-2">
{t("useCases.title")}
</h2>
<p className="text-center text-lg">{t("useCases.subtitle")}</p>
</div>
<UseCasesListing />
<div className="mt-10 flex md:justify-center">
<Link href="/signup">
<Button className="bg-black rounded-full">
{t("intro.try_demo")} <LuChevronRight size={24} />
</Button>
</Link>
</div>
</div>
);
};