mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-19 00:22:14 +03:00
7e70e4fc84
Issue https://github.com/StanGirard/quivr/issues/1404 https://github.com/StanGirard/quivr/assets/63923024/703fedf3-2f39-407b-afc2-78318829ca0f
42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
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";
|
|
import { useHomepageTracking } from "../../hooks/useHomepageTracking";
|
|
|
|
export const UseCases = (): JSX.Element => {
|
|
const { t } = useTranslation("home");
|
|
const { onLinkClick } = useHomepageTracking();
|
|
|
|
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="/login"
|
|
onClick={(event) => {
|
|
onLinkClick({
|
|
href: "/login",
|
|
label: "SIGN_IN",
|
|
event,
|
|
});
|
|
}}
|
|
>
|
|
<Button className="bg-black rounded-full">
|
|
{t("intro.try_demo")} <LuChevronRight size={24} />
|
|
</Button>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|