From 70db5be257005a230a3f0f52f28d7ec650cc3886 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Tue, 4 Aug 2026 12:28:19 +0800 Subject: [PATCH] feat(docs): add sponsor contact form --- docs/app/[lang]/sponsors/page.tsx | 28 ++-- .../components/landing/SponsorContactForm.tsx | 145 ++++++++++++++++++ 2 files changed, 157 insertions(+), 16 deletions(-) create mode 100644 docs/components/landing/SponsorContactForm.tsx diff --git a/docs/app/[lang]/sponsors/page.tsx b/docs/app/[lang]/sponsors/page.tsx index d5d89df1f..7d5f9d352 100644 --- a/docs/app/[lang]/sponsors/page.tsx +++ b/docs/app/[lang]/sponsors/page.tsx @@ -2,6 +2,7 @@ import type { Metadata } from "next"; import Link from "next/link"; import { LandingFooter } from "@/components/landing/LandingFooter"; import { LandingNav } from "@/components/landing/LandingNav"; +import { SponsorContactForm } from "@/components/landing/SponsorContactForm"; import { buildMetadata } from "@/lib/metadata"; const i18n = { @@ -14,10 +15,8 @@ const i18n = { rainyunSponsorAction: "Visit RainYun", easysearchSponsorDesc: "Easysearch is an enterprise-grade distributed search engine compatible with Elasticsearch APIs, combining full-text, vector, geospatial search, real-time analytics, and AI capabilities in one platform.", easysearchSponsorAction: "Visit Easysearch", - becomeTitle: "Support DBX", - becomeDesc: "Financial sponsorship, infrastructure, developer tools, services, and other forms of support are all welcome from individuals and organizations.", - becomeContact: "QQ: 86554840", - becomeAction: "Contact us", + becomeTitle: "Sponsorship inquiries", + becomeDesc: "If you would like to support DBX with funding, infrastructure, developer tools, or services, tell us about the idea and how to reach you.", }, cn: { title: "赞助商与合作伙伴", @@ -28,10 +27,8 @@ const i18n = { rainyunSponsorAction: "访问雨云", easysearchSponsorDesc: "Easysearch 是一款企业级分布式搜索引擎,兼容 ES API、融合全文检索、向量检索、地理空间位置检索、实时分析与 AI 能力,为企业提供统一的数据检索与智能分析基础设施。", easysearchSponsorAction: "访问 Easysearch", - becomeTitle: "支持 DBX", - becomeDesc: "无论是个人还是团队,资金赞助、基础设施、开发工具、服务资源或其他形式的支持都十分欢迎。", - becomeContact: "QQ:86554840", - becomeAction: "联系赞助合作", + becomeTitle: "赞助合作", + becomeDesc: "如果你愿意通过资金、基础设施、开发工具或服务资源支持 DBX,请留下联系方式和合作说明。", }, }; @@ -107,14 +104,13 @@ export default async function SponsorsPage({ params }: { params: Promise<{ lang: ))} -
{t.becomeDesc}
-{t.becomeDesc}
+