2025-05-02 10:05:45 +08:00
|
|
|
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
|
|
import { GithubFilled } from "@ant-design/icons";
|
|
|
|
|
import Link from "next/link";
|
2025-07-12 15:18:28 +08:00
|
|
|
import { useTranslations } from "next-intl";
|
2025-05-02 10:05:45 +08:00
|
|
|
|
|
|
|
|
import { AuroraText } from "~/components/magicui/aurora-text";
|
|
|
|
|
import { Button } from "~/components/ui/button";
|
|
|
|
|
|
2025-05-08 08:53:47 +08:00
|
|
|
import { SectionHeader } from "../components/section-header";
|
2025-05-02 10:05:45 +08:00
|
|
|
|
|
|
|
|
export function JoinCommunitySection() {
|
2025-07-12 15:18:28 +08:00
|
|
|
const t = useTranslations("landing.joinCommunity");
|
2025-05-02 10:05:45 +08:00
|
|
|
return (
|
|
|
|
|
<section className="flex w-full flex-col items-center justify-center pb-12">
|
|
|
|
|
<SectionHeader
|
2025-05-08 08:53:47 +08:00
|
|
|
anchor="join-community"
|
2025-05-02 10:05:45 +08:00
|
|
|
title={
|
|
|
|
|
<AuroraText colors={["#60A5FA", "#A5FA60", "#A560FA"]}>
|
2025-07-12 15:18:28 +08:00
|
|
|
{t("title")}
|
2025-05-02 10:05:45 +08:00
|
|
|
</AuroraText>
|
|
|
|
|
}
|
2025-07-12 15:18:28 +08:00
|
|
|
description={t("description")}
|
2025-05-02 10:05:45 +08:00
|
|
|
/>
|
|
|
|
|
<Button className="text-xl" size="lg" asChild>
|
|
|
|
|
<Link href="https://github.com/bytedance/deer-flow" target="_blank">
|
|
|
|
|
<GithubFilled />
|
2025-07-12 15:18:28 +08:00
|
|
|
{t("contributeNow")}
|
2025-05-02 10:05:45 +08:00
|
|
|
</Link>
|
|
|
|
|
</Button>
|
|
|
|
|
</section>
|
|
|
|
|
);
|
|
|
|
|
}
|