feat(sponsors): add Qiniu Cloud placement
This commit is contained in:
parent
31ad4cfaca
commit
8fd2cb6b27
15
README.md
15
README.md
|
|
@ -401,7 +401,7 @@ The installer will be in `src-tauri/target/release/bundle/`.
|
|||
|
||||
DBX is free and open source, but ongoing maintenance, database compatibility testing, infrastructure, and release work require sustained time and resources.
|
||||
|
||||
### Infrastructure Sponsor
|
||||
### Infrastructure Sponsors
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
|
@ -417,6 +417,19 @@ DBX is free and open source, but ongoing maintenance, database compatibility tes
|
|||
<a href="https://www.rainyun.com/MTE5Mjc4Ng==_" target="_blank">Visit RainYun</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="180">
|
||||
<a href="https://www.qiniu.com/" target="_blank">
|
||||
<img src="https://www-static.qbox.me/_next/static/media/logo.0fc18feaa621d2068a7180631f742256.jpg" alt="Qiniu Cloud" height="64" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
Qiniu Cloud provides DBX with object storage, CDN, and other cloud infrastructure resources.
|
||||
</td>
|
||||
<td align="center" width="140">
|
||||
<a href="https://www.qiniu.com/" target="_blank">Visit Qiniu Cloud</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
- [Support DBX](https://my.feishu.cn/wiki/WMTkwdATDiiu4rk14JMcoyhTnoh) — voluntary donations via WeChat or Alipay
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ make package
|
|||
|
||||
DBX 是免费开源项目,但持续维护、数据库兼容性测试、基础设施建设和版本发布都需要长期投入时间与资源。
|
||||
|
||||
### 基础设施赞助
|
||||
### 基础设施赞助商
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
|
@ -413,6 +413,19 @@ DBX 是免费开源项目,但持续维护、数据库兼容性测试、基础
|
|||
<a href="https://www.rainyun.com/MTE5Mjc4Ng==_" target="_blank">访问雨云</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" width="180">
|
||||
<a href="https://www.qiniu.com/" target="_blank">
|
||||
<img src="https://www-static.qbox.me/_next/static/media/logo.0fc18feaa621d2068a7180631f742256.jpg" alt="七牛云" height="64" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
七牛云为 DBX 提供对象存储、CDN 等云基础设施资源支持。
|
||||
</td>
|
||||
<td align="center" width="140">
|
||||
<a href="https://www.qiniu.com/" target="_blank">访问七牛云</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
- [支持 DBX](https://my.feishu.cn/wiki/WMTkwdATDiiu4rk14JMcoyhTnoh) —— 通过微信或支付宝自愿捐助
|
||||
|
|
|
|||
|
|
@ -383,9 +383,11 @@ const i18nText = {
|
|||
capabilitiesTitle: "Built for real database work",
|
||||
contributorsTitle: "Built by the community",
|
||||
contributorsDesc: "DBX is fully open-source. Every feature, fix, and driver starts with a contributor.",
|
||||
sponsorLabel: "Infrastructure Sponsor",
|
||||
sponsorDesc: "RainYun is a cloud service provider offering cloud servers, physical servers, game hosting, and developer-friendly infrastructure services.",
|
||||
sponsorAction: "Visit RainYun",
|
||||
sponsorLabel: "Infrastructure Sponsors",
|
||||
qiniuSponsorDesc: "Qiniu Cloud provides DBX with object storage, CDN, and other cloud infrastructure resources.",
|
||||
qiniuSponsorAction: "Visit Qiniu Cloud",
|
||||
rainyunSponsorDesc: "RainYun is a cloud service provider offering cloud servers, physical servers, game hosting, and developer-friendly infrastructure services.",
|
||||
rainyunSponsorAction: "Visit RainYun",
|
||||
footerTitle: "Ready to try DBX?",
|
||||
footerDesc: "Use the desktop app for local work, or deploy the Docker version for browser-based access.",
|
||||
release: "Latest release",
|
||||
|
|
@ -409,9 +411,11 @@ const i18nText = {
|
|||
capabilitiesTitle: "面向真实数据库工作的能力",
|
||||
contributorsTitle: "社区共建",
|
||||
contributorsDesc: "DBX 因每一位贡献者而生长",
|
||||
sponsorLabel: "基础设施赞助",
|
||||
sponsorDesc: "雨云是面向开发者和站长的云服务提供商,提供云服务器、物理服务器、游戏云和配套基础设施服务。",
|
||||
sponsorAction: "访问雨云",
|
||||
sponsorLabel: "基础设施赞助商",
|
||||
qiniuSponsorDesc: "七牛云为 DBX 提供对象存储、CDN 等云基础设施资源支持。",
|
||||
qiniuSponsorAction: "访问七牛云",
|
||||
rainyunSponsorDesc: "雨云是面向开发者和站长的云服务提供商,提供云服务器、物理服务器、游戏云和配套基础设施服务。",
|
||||
rainyunSponsorAction: "访问雨云",
|
||||
footerTitle: "准备试试 DBX?",
|
||||
footerDesc: "本地工作使用桌面版,需要浏览器访问时部署 Docker 版。",
|
||||
release: "最新版本",
|
||||
|
|
@ -460,6 +464,24 @@ export default async function LandingPage({ params }: { params: Promise<{ lang:
|
|||
const contributors = contributorsFromActivity(contributorData.contributors);
|
||||
const initialDownloadVersion = initialLatestRelease?.version ?? appVersion;
|
||||
const testimonialItems = testimonials[l];
|
||||
const sponsorItems = [
|
||||
{
|
||||
name: "RainYun",
|
||||
href: "https://www.rainyun.com/MTE5Mjc4Ng==_",
|
||||
logo: "https://www.rainyun.com/img/logo.d193755d.png",
|
||||
logoClass: "h-10 w-auto max-w-[100px]",
|
||||
description: t.rainyunSponsorDesc,
|
||||
action: t.rainyunSponsorAction,
|
||||
},
|
||||
{
|
||||
name: l === "cn" ? "七牛云" : "Qiniu Cloud",
|
||||
href: "https://www.qiniu.com/",
|
||||
logo: "https://www-static.qbox.me/_next/static/media/logo.0fc18feaa621d2068a7180631f742256.jpg",
|
||||
logoClass: "h-14 w-14 object-contain",
|
||||
description: t.qiniuSponsorDesc,
|
||||
action: t.qiniuSponsorAction,
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<main className="landing">
|
||||
|
|
@ -602,17 +624,23 @@ export default async function LandingPage({ params }: { params: Promise<{ lang:
|
|||
|
||||
{/* Sponsor */}
|
||||
<RevealSection className="max-w-[1180px] mx-auto px-7 mt-10 max-[760px]:px-[18px]">
|
||||
<div className="flex items-center justify-between gap-5 rounded-[10px] border border-landing-line bg-landing-panel px-5 py-4 max-[760px]:block">
|
||||
<Link href="https://www.rainyun.com/MTE5Mjc4Ng==_" target="_blank" className="flex shrink-0 items-center justify-center rounded-lg bg-white px-4 py-3 shadow-[0_10px_30px_rgba(15,23,42,0.08)] max-[760px]:w-max">
|
||||
<img src="https://www.rainyun.com/img/logo.d193755d.png" alt="RainYun" className="h-10 w-auto max-w-[150px]" />
|
||||
</Link>
|
||||
<div className="min-w-0 flex-1 max-[760px]:mt-4">
|
||||
<p className="m-0 text-xs font-[720] uppercase tracking-[0.18em] text-landing-blue">{t.sponsorLabel}</p>
|
||||
<p className="mt-1.5 text-sm leading-[1.65] text-landing-muted">{t.sponsorDesc}</p>
|
||||
</div>
|
||||
<Link href="https://www.rainyun.com/MTE5Mjc4Ng==_" target="_blank" className="landing-final-link inline-flex shrink-0 items-center justify-center min-h-[42px] rounded-[7px] px-[15px] text-sm font-[650] max-[760px]:mt-4">
|
||||
{t.sponsorAction}
|
||||
</Link>
|
||||
<p className="m-0 text-xs font-[720] uppercase tracking-[0.18em] text-landing-blue">{t.sponsorLabel}</p>
|
||||
<div className="mt-3 grid grid-cols-2 gap-4 max-[900px]:grid-cols-1">
|
||||
{sponsorItems.map((sponsor) => (
|
||||
<div key={sponsor.name} className="flex min-h-[154px] items-center gap-5 rounded-[10px] border border-landing-line bg-landing-panel px-5 py-4 max-[560px]:block">
|
||||
<Link href={sponsor.href} target="_blank" className="flex h-20 w-28 shrink-0 items-center justify-center rounded-lg bg-white px-4 py-3 shadow-[0_10px_30px_rgba(15,23,42,0.08)]">
|
||||
<img src={sponsor.logo} alt={sponsor.name} className={sponsor.logoClass} />
|
||||
</Link>
|
||||
<div className="min-w-0 flex-1 max-[560px]:mt-4">
|
||||
<h2 className="text-lg font-[720] text-landing-ink">{sponsor.name}</h2>
|
||||
<p className="mt-1.5 text-sm leading-[1.65] text-landing-muted">{sponsor.description}</p>
|
||||
<Link href={sponsor.href} target="_blank" className="landing-inline-link mt-3 inline-flex items-center gap-[7px] text-sm font-[650]">
|
||||
{sponsor.action}
|
||||
<span aria-hidden="true">→</span>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</RevealSection>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,10 @@ const i18n = {
|
|||
en: {
|
||||
title: "Sponsors & Partners",
|
||||
desc: "Thank you to the sponsors and partners supporting DBX through funding, resources, services, and collaboration.",
|
||||
sponsorDesc: "RainYun is a cloud service provider offering cloud servers, physical servers, game hosting, and developer-friendly infrastructure services.",
|
||||
sponsorAction: "Visit RainYun",
|
||||
qiniuSponsorDesc: "Qiniu Cloud provides DBX with object storage, CDN, and other cloud infrastructure resources.",
|
||||
qiniuSponsorAction: "Visit Qiniu Cloud",
|
||||
rainyunSponsorDesc: "RainYun is a cloud service provider offering cloud servers, physical servers, game hosting, and developer-friendly infrastructure services.",
|
||||
rainyunSponsorAction: "Visit RainYun",
|
||||
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",
|
||||
|
|
@ -18,8 +20,10 @@ const i18n = {
|
|||
cn: {
|
||||
title: "赞助商与合作伙伴",
|
||||
desc: "感谢赞助商与合作伙伴通过资金、资源、服务和协作等方式支持 DBX 持续发展。",
|
||||
sponsorDesc: "雨云是面向开发者和站长的云服务提供商,提供云服务器、物理服务器、游戏云和配套基础设施服务。",
|
||||
sponsorAction: "访问雨云",
|
||||
qiniuSponsorDesc: "七牛云为 DBX 提供对象存储、CDN 等云基础设施资源支持。",
|
||||
qiniuSponsorAction: "访问七牛云",
|
||||
rainyunSponsorDesc: "雨云是面向开发者和站长的云服务提供商,提供云服务器、物理服务器、游戏云和配套基础设施服务。",
|
||||
rainyunSponsorAction: "访问雨云",
|
||||
becomeTitle: "支持 DBX",
|
||||
becomeDesc: "无论是个人还是团队,资金赞助、基础设施、开发工具、服务资源或其他形式的支持都十分欢迎。",
|
||||
becomeContact: "QQ:86554840",
|
||||
|
|
@ -44,6 +48,24 @@ export default async function SponsorsPage({ params }: { params: Promise<{ lang:
|
|||
const { lang } = await params;
|
||||
const locale = lang === "cn" ? "cn" : "en";
|
||||
const t = i18n[locale];
|
||||
const sponsorItems = [
|
||||
{
|
||||
name: "RainYun",
|
||||
href: "https://www.rainyun.com/MTE5Mjc4Ng==_",
|
||||
logo: "https://www.rainyun.com/img/logo.d193755d.png",
|
||||
logoClass: "h-12 w-auto max-w-[150px]",
|
||||
description: t.rainyunSponsorDesc,
|
||||
action: t.rainyunSponsorAction,
|
||||
},
|
||||
{
|
||||
name: locale === "cn" ? "七牛云" : "Qiniu Cloud",
|
||||
href: "https://www.qiniu.com/",
|
||||
logo: "https://www-static.qbox.me/_next/static/media/logo.0fc18feaa621d2068a7180631f742256.jpg",
|
||||
logoClass: "h-16 w-16 object-contain",
|
||||
description: t.qiniuSponsorDesc,
|
||||
action: t.qiniuSponsorAction,
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<main className="min-h-screen bg-[#0b1120] text-landing-ink">
|
||||
|
|
@ -53,20 +75,24 @@ export default async function SponsorsPage({ params }: { params: Promise<{ lang:
|
|||
<h1 className="text-4xl font-[820] tracking-tight">{t.title}</h1>
|
||||
<p className="mt-3 max-w-[700px] text-landing-muted text-lg leading-relaxed">{t.desc}</p>
|
||||
|
||||
<div className="mt-10 rounded-xl border border-landing-line bg-landing-panel p-6">
|
||||
<div className="flex items-center gap-6 max-[640px]:block">
|
||||
<Link href="https://www.rainyun.com/MTE5Mjc4Ng==_" target="_blank" className="flex h-24 w-44 shrink-0 items-center justify-center rounded-lg bg-white px-5 shadow-[0_10px_30px_rgba(15,23,42,0.08)] max-[640px]:w-max">
|
||||
<img src="https://www.rainyun.com/img/logo.d193755d.png" alt="RainYun" className="h-12 w-auto max-w-[150px]" />
|
||||
</Link>
|
||||
<div className="min-w-0 max-[640px]:mt-5">
|
||||
<h2 className="text-2xl font-[760]">RainYun</h2>
|
||||
<p className="mt-2 text-sm leading-[1.7] text-landing-muted">{t.sponsorDesc}</p>
|
||||
<Link href="https://www.rainyun.com/MTE5Mjc4Ng==_" target="_blank" className="landing-inline-link mt-4 inline-flex items-center gap-[7px] text-sm font-[650]">
|
||||
{t.sponsorAction}
|
||||
<span aria-hidden="true">→</span>
|
||||
</Link>
|
||||
<div className="mt-10 grid gap-4">
|
||||
{sponsorItems.map((sponsor) => (
|
||||
<div key={sponsor.name} className="rounded-xl border border-landing-line bg-landing-panel p-6">
|
||||
<div className="flex items-center gap-6 max-[640px]:block">
|
||||
<Link href={sponsor.href} target="_blank" className="flex h-24 w-44 shrink-0 items-center justify-center rounded-lg bg-white px-5 shadow-[0_10px_30px_rgba(15,23,42,0.08)] max-[640px]:w-max">
|
||||
<img src={sponsor.logo} alt={sponsor.name} className={sponsor.logoClass} />
|
||||
</Link>
|
||||
<div className="min-w-0 max-[640px]:mt-5">
|
||||
<h2 className="text-2xl font-[760]">{sponsor.name}</h2>
|
||||
<p className="mt-2 text-sm leading-[1.7] text-landing-muted">{sponsor.description}</p>
|
||||
<Link href={sponsor.href} target="_blank" className="landing-inline-link mt-4 inline-flex items-center gap-[7px] text-sm font-[650]">
|
||||
{sponsor.action}
|
||||
<span aria-hidden="true">→</span>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="mt-10 rounded-xl border border-landing-line bg-landing-panel px-6 py-5">
|
||||
|
|
|
|||
Loading…
Reference in New Issue