25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
feat(docs): refine landing page presentation
t8y22b7d3533135d
diff --git a/docs/app/(root)/layout.tsx b/docs/app/(root)/layout.tsxindex edb8161a54..fe615232e0 100644--- a/docs/app/(root)/layout.tsx+++ b/docs/app/(root)/layout.tsx@@ -25,7 +25,7 @@ export const viewport: Viewport = {width: "device-width",initialScale: 1,viewportFit: "cover",- themeColor: "#0b1120",+ themeColor: "#08080a",colorScheme: "dark light",};diff --git a/docs/app/[lang]/changelog/page.tsx b/docs/app/[lang]/changelog/page.tsxindex 97522463f5..8ac30da02c 100644--- a/docs/app/[lang]/changelog/page.tsx+++ b/docs/app/[lang]/changelog/page.tsx@@ -36,7 +36,7 @@ export default async function ChangelogPage({ params }: { params: Promise<{ langconst initialData = await fetchChangelog(l);return (- <main className="min-h-screen bg-[#0b1120] text-landing-ink">+ <main className="min-h-screen bg-[#08080a] text-landing-ink"><LandingNav lang={l} active="changelog" /><div className="max-w-[860px] mx-auto px-6 pt-32 pb-4 max-[760px]:px-[18px] max-[760px]:pt-28">diff --git a/docs/app/[lang]/community/page.tsx b/docs/app/[lang]/community/page.tsxindex 852f76c70b..dfddbbb048 100644--- a/docs/app/[lang]/community/page.tsx+++ b/docs/app/[lang]/community/page.tsx@@ -80,7 +80,7 @@ export default async function CommunityPage({ params }: { params: Promise<{ langconst t = i18n[l];return (- <main className="min-h-screen bg-[#0b1120] text-landing-ink">+ <main className="min-h-screen bg-[#08080a] text-landing-ink"><LandingNav lang={l} active="community" /><div className="max-w-[860px] mx-auto px-6 pt-32 pb-4 max-[760px]:px-[18px] max-[760px]:pt-28">@@ -93,7 +93,7 @@ export default async function CommunityPage({ params }: { params: Promise<{ lang{channels.map((ch) => {const meta = t[ch.id as keyof typeof t] as { name: string; desc: string };return (- <a key={ch.id} href={ch.href} target="_blank" rel="noopener noreferrer" className="group flex items-center gap-5 rounded-xl border border-landing-line bg-landing-panel px-6 py-5 transition-colors hover:border-[rgba(155,176,205,0.32)]">+ <a key={ch.id} href={ch.href} target="_blank" rel="noopener noreferrer" className="group flex items-center gap-5 rounded-xl border border-landing-line bg-landing-panel px-6 py-5 transition-colors hover:border-[rgba(173,176,182,0.32)]"><span className="grid place-items-center w-11 h-11 rounded-lg shrink-0" style={{ backgroundColor: `${ch.color}18`, color: ch.color }}>{ch.icon}</span>diff --git a/docs/app/[lang]/contributors/page.tsx b/docs/app/[lang]/contributors/page.tsxindex ecdd951fd0..96c6da27b6 100644--- a/docs/app/[lang]/contributors/page.tsx+++ b/docs/app/[lang]/contributors/page.tsx@@ -36,7 +36,7 @@ export default async function ContributorsPage({ params }: { params: Promise<{ lconst data = contributorSnapshot as ContributorActivityData;return (- <main className="landing min-h-screen bg-[#061016]">+ <main className="landing min-h-screen bg-[#08080a]"><LandingNav lang={locale} active="contributors" /><ContributorsExperience data={data} lang={locale} /><LandingFooter lang={locale} />diff --git a/docs/app/[lang]/databases/page.tsx b/docs/app/[lang]/databases/page.tsxindex 7b07cd6e9a..e393cdfb66 100644--- a/docs/app/[lang]/databases/page.tsx+++ b/docs/app/[lang]/databases/page.tsx@@ -49,7 +49,7 @@ export default async function DatabasesPage({ params }: { params: Promise<{ langconst t = i18n[l];return (- <main className="min-h-screen bg-[#0b1120] text-landing-ink">+ <main className="min-h-screen bg-[#08080a] text-landing-ink"><LandingNav lang={l} active="databases" />{/* Hero */}diff --git a/docs/app/[lang]/drivers/DriversClient.tsx b/docs/app/[lang]/drivers/DriversClient.tsxindex 30fc8d8495..30170dda80 100644--- a/docs/app/[lang]/drivers/DriversClient.tsx+++ b/docs/app/[lang]/drivers/DriversClient.tsx@@ -417,7 +417,7 @@ export function DriversClient({ initialCatalog }: { initialCatalog: AgentDownloaclassName="h-8 min-w-[190px] rounded-[6px] border border-landing-line bg-black/10 px-2.5 text-xs text-landing-ink outline-none transition-colors focus:border-landing-blue max-[760px]:w-full">{group.options.map((option) => (- <option key={nativeKey(option)} value={option.platformKey} className="bg-[#10151d] text-landing-ink">+ <option key={nativeKey(option)} value={option.platformKey} className="bg-[#121317] text-landing-ink">{option.platformLabel}</option>))}diff --git a/docs/app/[lang]/layout.tsx b/docs/app/[lang]/layout.tsxindex ca83a2d463..495a0c44f1 100644--- a/docs/app/[lang]/layout.tsx+++ b/docs/app/[lang]/layout.tsx@@ -50,7 +50,7 @@ export const viewport: Viewport = {width: "device-width",initialScale: 1,viewportFit: "cover",- themeColor: "#0b1120",+ themeColor: "#08080a",colorScheme: "dark light",};diff --git a/docs/app/[lang]/page.tsx b/docs/app/[lang]/page.tsxindex b75eb4710e..d074d0eb92 100644--- a/docs/app/[lang]/page.tsx+++ b/docs/app/[lang]/page.tsx@@ -1,22 +1,19 @@import Link from "next/link";import type { Metadata } from "next";-import type { CSSProperties } from "react";import { HeroProductStage } from "@/components/aceternity/HeroProductStage";import { InfiniteMovingCards } from "@/components/aceternity/InfiniteMovingCards";import { Spotlight } from "@/components/aceternity/Spotlight";import { LandingNav } from "@/components/landing/LandingNav";import { LandingFooter } from "@/components/landing/LandingFooter";import { InstallTabs } from "@/components/landing/InstallTabs";-import { LandingLatestUpdates } from "@/components/landing/LandingLatestUpdates";import { RevealSection } from "@/components/landing/RevealSection";import { ContributorsWallContent } from "@/components/landing/ContributorsWall";-import { ExpandableDatabaseGrid } from "@/components/landing/ExpandableDatabaseGrid";+import { DatabasePillMarquee } from "@/components/landing/DatabasePillMarquee";import contributorSnapshot from "@/data/contributors.json";import { databaseSupport } from "@/data/databaseSupport";import type { ContributorActivityData } from "@/lib/contributorActivity";import { contributorsFromActivity } from "@/lib/contributors";import { getAppVersion } from "@/lib/appVersion";-import { fetchChangelog } from "@/lib/changelog";import { fetchLatestReleaseInfo } from "@/lib/latestRelease";import { buildMetadata, getHtmlLang } from "@/lib/metadata";import { buildSoftwareApplicationStructuredData } from "@/lib/structuredData";@@ -386,7 +383,7 @@ export default async function LandingPage({ params }: { params: Promise<{ lang:const starLabel = formatStars(contributorData.stars);const metricItems = metrics(starLabel)[l];const appVersion = getAppVersion();- const [initialChangelog, initialLatestRelease] = await Promise.all([fetchChangelog(l), fetchLatestReleaseInfo()]);+ const initialLatestRelease = await fetchLatestReleaseInfo();const contributors = contributorsFromActivity(contributorData.contributors);const initialDownloadVersion = initialLatestRelease?.version ?? appVersion;const testimonialItems = testimonials[l];@@ -504,35 +501,7 @@ export default async function LandingPage({ params }: { params: Promise<{ lang:</Link></div></div>- <ExpandableDatabaseGrid lang={l}>- {databaseSupport.map((db) => {- const isCta = "href" in db && db.href;- const nameSizeClass = db.name.length >= 14- ? "text-[11px] tracking-[-0.035em] max-[760px]:text-[9px]"- : db.name.length >= 11- ? "text-xs tracking-[-0.015em] max-[760px]:text-[10px]"- : "text-sm max-[760px]:text-[11px]";- const CardTag = isCta ? "a" : "div";- return (- <CardTag- className={`landing-db-card grid place-items-center aspect-square rounded-[10px] px-2.5 py-[18px] max-[760px]:px-1.5 max-[760px]:py-2.5 ${isCta ? "border-2 border-dashed border-[color-mix(in_srgb,var(--color-landing-blue)_40%,transparent)] hover:border-[color-mix(in_srgb,var(--color-landing-blue)_70%,transparent)] transition-colors cursor-pointer" : ""}`}- key={db.name}- {...(isCta ? { href: db.href, target: "_blank", rel: "noopener noreferrer" } : {})}- style={{ "--db-tone": db.tone } as CSSProperties}- data-stagger- >- <div className="landing-db-icon grid place-items-center w-12 h-12 mb-[15px] max-[760px]:size-8 max-[760px]:mb-2">- {isCta ? (- <span className="grid place-items-center w-10 h-10 rounded-full border-2 border-dashed text-landing-blue border-landing-blue text-2xl leading-none">+</span>- ) : (- <img src={db.icon} alt="" width={38} height={38} loading="lazy" decoding="async" className="block w-[38px] h-[38px] object-contain max-[760px]:size-7" />- )}- </div>- <strong className={`block w-full min-w-0 px-1 font-[650] leading-[1.2] text-center [overflow-wrap:anywhere] min-[761px]:whitespace-nowrap ${nameSizeClass} ${isCta ? "text-landing-blue" : "text-[color-mix(in_srgb,var(--color-landing-ink)_92%,var(--color-landing-muted))]"}`}>{db.name}</strong>- </CardTag>- );- })}- </ExpandableDatabaseGrid>+ <DatabasePillMarquee items={databaseSupport.filter((db) => !db.href)} /></RevealSection>{/* Testimonials */}@@ -589,9 +558,6 @@ export default async function LandingPage({ params }: { params: Promise<{ lang:</div></RevealSection>- {/* Updates */}- <LandingLatestUpdates lang={l} fallbackVersion={appVersion} initialRelease={initialChangelog.releases[0]} initialLatestRelease={initialLatestRelease} />-{/* Final CTA */}<RevealSection className="flex items-center justify-between gap-6 max-w-[1180px] mx-auto px-7 border border-landing-line rounded-[10px] bg-landing-panel mt-[72px] mb-14 py-[30px] max-[760px]:block max-[760px]:px-[18px]"><div>diff --git a/docs/app/[lang]/sponsors/page.tsx b/docs/app/[lang]/sponsors/page.tsxindex 30bab5d441..8445d19d34 100644--- a/docs/app/[lang]/sponsors/page.tsx+++ b/docs/app/[lang]/sponsors/page.tsx@@ -89,7 +89,7 @@ export default async function SponsorsPage({ params }: { params: Promise<{ lang:];return (- <main className="min-h-screen bg-[#0b1120] text-landing-ink">+ <main className="min-h-screen bg-[#08080a] text-landing-ink"><LandingNav lang={locale} active="sponsors" /><section className="max-w-[1180px] mx-auto px-6 pt-32 pb-24">diff --git a/docs/app/global.css b/docs/app/global.cssindex 7d22b994b3..44c3a1d3b0 100644--- a/docs/app/global.css+++ b/docs/app/global.css@@ -3,15 +3,15 @@@import "fumadocs-ui/css/preset.css";@theme {- --color-landing-ink: #f7fbff;- --color-landing-muted: #9aa9bc;+ --color-landing-ink: #ededf0;+ --color-landing-muted: #9c9ea3;--color-landing-blue: #6ea8ff;--color-landing-sky: #52d5ff;--color-landing-green: #44d19d;- --color-landing-line: rgba(155, 176, 205, 0.18);- --color-landing-soft: rgba(148, 163, 184, 0.1);- --color-landing-panel: rgba(17, 21, 29, 0.84);- --color-landing-panel-strong: rgba(23, 28, 38, 0.94);+ --color-landing-line: rgba(173, 176, 182, 0.18);+ --color-landing-soft: rgba(255, 255, 255, 0.05);+ --color-landing-panel: rgba(19, 20, 23, 0.84);+ --color-landing-panel-strong: rgba(25, 26, 30, 0.94);}:root {@@ -355,7 +355,7 @@ a {--landing-max: 1180px;min-height: 100vh;color: var(--color-landing-ink);- background: #0b1120;+ background: #08080a;overflow: hidden;position: relative;}@@ -453,7 +453,7 @@ a {.landing-nav.is-scrolled {border-bottom-color: var(--color-landing-line);- background: color-mix(in srgb, #0c1120 44%, transparent);+ background: color-mix(in srgb, #0c0d10 44%, transparent);}.landing-nav.is-scrolled::before {@@ -462,7 +462,7 @@ a {.landing-nav.is-menu-open {border-bottom-color: var(--color-landing-line);- background: rgba(8, 12, 20, 0.94);+ background: rgba(9, 10, 12, 0.94);}.landing-nav.is-menu-open::before {@@ -495,7 +495,7 @@ a {inset: 0;border: 0;z-index: 0;- background: rgba(2, 6, 12, 0.82);+ background: rgba(3, 4, 6, 0.82);opacity: 0;backdrop-filter: blur(8px);transition: opacity 0.2s ease;@@ -512,7 +512,7 @@ a {border: 1px solid var(--color-landing-line);border-radius: 0 0 16px 16px;z-index: 1;- background: #0b1120;+ background: #08080a;box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);opacity: 0;transform: translateY(-12px);@@ -566,8 +566,8 @@ a {position: absolute;inset: 0;background:- radial-gradient(ellipse at 50% 34%, rgba(44, 88, 174, 0.48), transparent 52%), radial-gradient(ellipse at 18% 16%, rgba(82, 213, 255, 0.13), transparent 34%), radial-gradient(ellipse at 76% 22%, rgba(68, 209, 157, 0.1), transparent 30%),- linear-gradient(180deg, #0b1120 0%, #0c1528 48%, #0b1120 82%, #0b1120 100%);+ radial-gradient(ellipse at 50% 34%, rgba(44, 88, 174, 0.42), transparent 52%), radial-gradient(ellipse at 18% 16%, rgba(82, 213, 255, 0.13), transparent 34%), radial-gradient(ellipse at 76% 22%, rgba(68, 209, 157, 0.1), transparent 30%),+ linear-gradient(180deg, #08080a 0%, #0d0e12 48%, #08080a 82%, #08080a 100%);z-index: -3;}@@ -622,8 +622,8 @@ a {/* Buttons */.landing-btn-primary {- background: #f7fbff;- color: #090d13;+ background: #f0f1f4;+ color: #0a0b0e;box-shadow:0 14px 36px rgba(110, 168, 255, 0.18),0 0 0 1px rgba(255, 255, 255, 0.4) inset;@@ -651,7 +651,7 @@ a {}.landing-btn-secondary:hover {- border-color: rgba(178, 200, 230, 0.34);+ border-color: rgba(190, 193, 199, 0.34);background: var(--color-landing-panel-strong);transform: translateY(-1px);}@@ -744,7 +744,7 @@ a {.landing-product {border: 1px solid var(--color-landing-line);- background: #0d1117;+ background: #0e0f12;box-shadow:0 38px 110px rgba(0, 0, 0, 0.5),0 0 80px rgba(82, 213, 255, 0.1),@@ -794,8 +794,8 @@ a {}.landing-product-dots {- border: 1px solid rgba(155, 176, 205, 0.16);- background: rgba(5, 8, 13, 0.66);+ border: 1px solid rgba(173, 176, 182, 0.16);+ background: rgba(6, 7, 9, 0.66);backdrop-filter: blur(16px);}@@ -843,16 +843,16 @@ a {/* Glass cards */.landing-glass-card {- border: 1px solid rgba(155, 176, 205, 0.14);- background: radial-gradient(circle at 78% 12%, rgba(110, 168, 255, 0.12), transparent 44%), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), rgba(12, 15, 22, 0.72);+ border: 1px solid rgba(173, 176, 182, 0.14);+ background: radial-gradient(circle at 78% 12%, rgba(110, 168, 255, 0.12), transparent 44%), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), rgba(15, 16, 19, 0.72);box-shadow:0 18px 44px rgba(0, 0, 0, 0.14),0 0 0 1px rgba(255, 255, 255, 0.02) inset;}.landing-glass-card-green {- border: 1px solid rgba(155, 176, 205, 0.14);- background: radial-gradient(circle at 78% 16%, rgba(68, 209, 157, 0.1), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), rgba(12, 15, 22, 0.72);+ border: 1px solid rgba(173, 176, 182, 0.14);+ background: radial-gradient(circle at 78% 16%, rgba(68, 209, 157, 0.1), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), rgba(15, 16, 19, 0.72);box-shadow:0 18px 44px rgba(0, 0, 0, 0.14),0 0 0 1px rgba(255, 255, 255, 0.02) inset;@@ -896,19 +896,11 @@ a {box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);}-/* Update version badge */--.landing-update-version {- border: 1px solid var(--color-landing-line);- background: var(--color-landing-panel);- color: var(--color-landing-blue);-}-/* DB card */.landing-db-card {- border: 1px solid rgba(155, 176, 205, 0.14);- background: radial-gradient(circle at 50% 112%, color-mix(in srgb, var(--db-tone) 20%, transparent), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), rgba(12, 15, 22, 0.74);+ border: 1px solid rgba(173, 176, 182, 0.14);+ background: radial-gradient(circle at 50% 112%, color-mix(in srgb, var(--db-tone) 20%, transparent), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), rgba(15, 16, 19, 0.74);box-shadow:0 18px 44px rgba(0, 0, 0, 0.15),0 0 0 1px rgba(255, 255, 255, 0.02) inset;@@ -919,8 +911,8 @@ a {}.landing-db-card:hover {- border-color: color-mix(in srgb, var(--db-tone) 42%, rgba(155, 176, 205, 0.18));- background: radial-gradient(circle at 50% 112%, color-mix(in srgb, var(--db-tone) 26%, transparent), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)), rgba(14, 18, 27, 0.9);+ border-color: color-mix(in srgb, var(--db-tone) 42%, rgba(173, 176, 182, 0.18));+ background: radial-gradient(circle at 50% 112%, color-mix(in srgb, var(--db-tone) 26%, transparent), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)), rgba(20, 21, 24, 0.9);transform: translateY(-3px);}@@ -929,7 +921,7 @@ a {}.landing-db-icon span {- background: color-mix(in srgb, var(--db-tone) 78%, #10151d);+ background: color-mix(in srgb, var(--db-tone) 78%, #121317);box-shadow: 0 10px 20px color-mix(in srgb, var(--db-tone) 22%, transparent);}@@ -948,12 +940,12 @@ a {.landing-testimonial-wall::before {left: 0;- background: linear-gradient(90deg, #10151d, rgba(16, 21, 29, 0));+ background: linear-gradient(90deg, #08080a, rgba(8, 8, 10, 0));}.landing-testimonial-wall::after {right: 0;- background: linear-gradient(270deg, #10151d, rgba(16, 21, 29, 0));+ background: linear-gradient(270deg, #08080a, rgba(8, 8, 10, 0));}.landing-testimonial-marquee[data-speed="slow"] {@@ -974,13 +966,83 @@ a {}.landing-testimonial-card {- border: 1px solid rgba(155, 176, 205, 0.14);- background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)), rgba(13, 18, 26, 0.78);+ border: 1px solid rgba(173, 176, 182, 0.14);+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)), rgba(17, 18, 21, 0.78);box-shadow:0 18px 45px rgba(0, 0, 0, 0.18),0 0 0 1px rgba(255, 255, 255, 0.025) inset;}+/* Database pill marquee */++.landing-db-wall {+ --db-marquee-duration: 72s;+}++.landing-db-marquee {+ display: flex;+ overflow: hidden;+ -webkit-mask-image: linear-gradient(90deg, transparent 0, black 9%, black 91%, transparent 100%);+ mask-image: linear-gradient(90deg, transparent 0, black 9%, black 91%, transparent 100%);+}++.landing-db-track {+ animation: landing-db-scroll var(--db-marquee-duration, 72s) linear infinite;+}++.landing-db-marquee:hover .landing-db-track {+ animation-play-state: paused;+}++.landing-db-marquee[data-direction="right"] .landing-db-track {+ animation-direction: reverse;+}++.landing-db-pill {+ display: inline-flex;+ flex: 0 0 auto;+ align-items: center;+ gap: 10px;+ border: 1px solid rgba(255, 255, 255, 0.08);+ border-radius: 999px;+ padding: 9px 16px;+ background: rgba(255, 255, 255, 0.05);+ color: color-mix(in srgb, var(--color-landing-ink) 84%, var(--color-landing-muted));+ font-size: 13px;+ font-weight: 560;+ white-space: nowrap;+ transition:+ border-color 0.16s ease,+ background 0.16s ease,+ color 0.16s ease;+}++.landing-db-pill:hover {+ border-color: rgba(255, 255, 255, 0.2);+ background: rgba(255, 255, 255, 0.07);+ color: var(--color-landing-ink);+}++.landing-db-pill img {+ display: block;+ width: 20px;+ height: 20px;+ object-fit: contain;+}++@media (max-width: 760px) {+ .landing-db-pill {+ gap: 8px;+ padding: 8px 13px;+ font-size: 12px;+ }++ .landing-db-pill img {+ width: 17px;+ height: 17px;+ }+}+/* Contributors wall */.landing-contributor-grid {@@ -1015,8 +1077,8 @@ a {width: 58px;height: 58px;border-radius: 50%;- border: 1.5px solid rgba(155, 176, 205, 0.16);- background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), rgba(12, 15, 22, 0.78);+ border: 1.5px solid rgba(173, 176, 182, 0.16);+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), rgba(15, 16, 19, 0.78);box-shadow:0 8px 24px rgba(0, 0, 0, 0.18),0 0 0 1px rgba(255, 255, 255, 0.03) inset;@@ -1049,8 +1111,8 @@ a {white-space: nowrap;padding: 6px 12px;border-radius: 6px;- background: rgba(18, 22, 32, 0.96);- border: 1px solid rgba(155, 176, 205, 0.22);+ background: rgba(21, 22, 25, 0.96);+ border: 1px solid rgba(173, 176, 182, 0.22);box-shadow:0 8px 24px rgba(0, 0, 0, 0.32),0 0 0 1px rgba(255, 255, 255, 0.04) inset;@@ -1111,7 +1173,7 @@ a {}.landing-final-link:hover {- border-color: rgba(178, 200, 230, 0.34);+ border-color: rgba(190, 193, 199, 0.34);background: var(--color-landing-panel-strong);transform: translateY(-1px);}@@ -1166,7 +1228,7 @@ a {.landing-hero::before {right: 0;- background: radial-gradient(circle at 50% 18%, rgba(82, 213, 255, 0.18), transparent 280px), radial-gradient(circle at 76% 26%, rgba(68, 209, 157, 0.08), transparent 220px), linear-gradient(180deg, #10151d 0%, #0c1528 44%, #10151d 94%);+ background: radial-gradient(circle at 50% 18%, rgba(82, 213, 255, 0.18), transparent 280px), radial-gradient(circle at 76% 26%, rgba(68, 209, 157, 0.08), transparent 220px), linear-gradient(180deg, #0b0c0f 0%, #0d0e12 44%, #0b0c0f 94%);}.landing-hero::after {@@ -1323,12 +1385,12 @@ a {}.issue-page {- --issue-ink: #f4f7fb;- --issue-muted: #9aa9bc;- --issue-line: rgba(155, 176, 205, 0.18);- --issue-panel: rgba(17, 21, 29, 0.84);+ --issue-ink: #ededf0;+ --issue-muted: #9c9ea3;+ --issue-line: rgba(173, 176, 182, 0.18);+ --issue-panel: rgba(19, 20, 23, 0.84);min-height: 100vh;- background: #0b1120;+ background: #08080a;}.issue-page::before,@@ -1373,7 +1435,7 @@ a {display: flex;align-items: center;gap: 8px;- color: #dce5ed;+ color: #dfe2e7;font-size: 12px;}@@ -1432,7 +1494,7 @@ a {.issue-field > span,.issue-upload-block strong {- color: #dce5ed;+ color: #dfe2e7;font-size: 13px;font-weight: 650;}@@ -1449,10 +1511,10 @@ a {.issue-field input,.issue-field select {width: 100%;- border: 1px solid rgba(155, 176, 205, 0.22);+ border: 1px solid rgba(173, 176, 182, 0.22);border-radius: 9px;outline: none;- background: rgba(6, 12, 20, 0.72);+ background: rgba(8, 9, 11, 0.72);color: var(--issue-ink);font-size: 14px;transition: border-color 0.15s ease, box-shadow 0.15s ease;@@ -1478,7 +1540,7 @@ a {.issue-field textarea::placeholder,.issue-field input::placeholder {- color: #637387;+ color: #6b7078;}.issue-field textarea:focus,@@ -1499,7 +1561,7 @@ a {position: absolute;right: 12px;bottom: 9px;- color: #66778a;+ color: #6d727a;font-size: 10px;font-style: normal;}@@ -1530,7 +1592,7 @@ a {border-radius: 8px;padding: 0 13px;background: rgba(255, 255, 255, 0.035);- color: #d6e1ea;+ color: #d7dbdf;font-size: 12px;font-weight: 620;transition: border-color 0.15s ease, background 0.15s ease;@@ -1559,7 +1621,7 @@ a {aspect-ratio: 16 / 10;border: 1px solid var(--issue-line);border-radius: 8px;- background: #060b12;+ background: #07080b;overflow: hidden;}@@ -1591,7 +1653,7 @@ a {border-radius: 4px;padding: 2px 5px;background: rgba(4, 8, 14, 0.78);- color: #c4cfda;+ color: #c5c9cf;font-size: 9px;}@@ -1621,9 +1683,9 @@ a {.issue-primary-button,.issue-submit-button {- border: 1px solid #f2f5f8;- background: #f2f5f8;- color: #0b1120;+ border: 1px solid #f0f1f4;+ background: #f0f1f4;+ color: #0a0b0e;}.issue-primary-button:hover:not(:disabled),@@ -1635,11 +1697,11 @@ a {.issue-secondary-button {border: 1px solid var(--issue-line);background: transparent;- color: #d6e0e8;+ color: #d7dbdf;}.issue-secondary-button:hover:not(:disabled) {- border-color: rgba(155, 176, 205, 0.38);+ border-color: rgba(173, 176, 182, 0.38);background: rgba(255, 255, 255, 0.035);}@@ -1657,7 +1719,7 @@ a {border-radius: 8px;padding: 11px 12px;background: rgba(110, 168, 255, 0.07);- color: #b8c8d6;+ color: #b9bdc4;font-size: 12px;line-height: 1.65;}@@ -1704,7 +1766,7 @@ a {width: 20px;height: 20px;place-items: center;- border: 1px solid rgba(155, 176, 205, 0.4);+ border: 1px solid rgba(173, 176, 182, 0.4);border-radius: 5px;color: transparent;}@@ -1722,7 +1784,7 @@ a {.issue-confirm-row p {grid-column: 2;- color: #b9c6d2;+ color: #b8bcc2;font-size: 12px;line-height: 1.6;}@@ -1892,7 +1954,7 @@ a {@keyframes landing-pulse {0%,100% {- border-color: rgba(155, 176, 205, 0.18);+ border-color: rgba(173, 176, 182, 0.18);box-shadow:0 0 0 1px rgba(82, 213, 255, 0.04) inset,0 0 28px rgba(82, 213, 255, 0.13);@@ -1928,6 +1990,15 @@ a {}}+@keyframes landing-db-scroll {+ from {+ transform: translateX(0);+ }+ to {+ transform: translateX(calc(-50% - 6px));+ }+}+@media (prefers-reduced-motion: reduce) {.landing *,.landing *::before,diff --git a/docs/components/aceternity/InfiniteMovingCards.tsx b/docs/components/aceternity/InfiniteMovingCards.tsxindex 451d8faba2..c4f8ea6688 100644--- a/docs/components/aceternity/InfiniteMovingCards.tsx+++ b/docs/components/aceternity/InfiniteMovingCards.tsx@@ -20,7 +20,7 @@ export function InfiniteMovingCards({ items, direction = "left", speed = "normal{repeatedItems.map((item, index) => (<figure aria-hidden={index >= items.length} className="landing-testimonial-card flex-[0_0_340px] min-h-[188px] rounded-[9px] m-0 p-[22px] max-[760px]:flex-[0_0_286px] max-[760px]:min-h-[210px] max-[760px]:p-[18px]" key={`${item.name}-${index}`}><div className="flex gap-3 items-center">- <img className="w-[42px] h-[42px] shrink-0 border border-[rgba(178,200,230,0.18)] rounded-full bg-[rgba(255,255,255,0.04)] object-cover" src={item.avatar} alt="" width={42} height={42} loading="lazy" decoding="async" />+ <img className="w-[42px] h-[42px] shrink-0 border border-[rgba(184,187,193,0.18)] rounded-full bg-[rgba(255,255,255,0.04)] object-cover" src={item.avatar} alt="" width={42} height={42} loading="lazy" decoding="async" /><figcaption><strong className="block text-landing-ink text-[15px] font-[740] leading-[1.25]">{item.name}</strong><span className="block mt-[3px] text-landing-muted text-xs leading-[1.35]">{item.role}</span>diff --git a/docs/components/contributors/ContributorsExperience.module.css b/docs/components/contributors/ContributorsExperience.module.cssindex 84f7e75bbe..d3d270916d 100644--- a/docs/components/contributors/ContributorsExperience.module.css+++ b/docs/components/contributors/ContributorsExperience.module.css@@ -3,13 +3,13 @@--violet-deep: #348bcf;--lavender: #52d5ff;--gold: #d9ad3d;- --ink: #f7fbff;- --muted: #9aa9bc;+ --ink: #ededf0;+ --muted: #9c9ea3;min-height: 100vh;overflow: hidden;background:radial-gradient(circle at 82% 20%, rgba(82, 213, 255, 0.05), transparent 28rem),- #10151d;+ #0e0f12;color: var(--ink);font-family: "Avenir Next", "PingFang SC", sans-serif;}@@ -26,7 +26,7 @@background:radial-gradient(circle at 14% 8%, rgba(82, 213, 255, 0.14), transparent 24rem),radial-gradient(circle at 84% 64%, rgba(217, 173, 61, 0.08), transparent 26rem),- linear-gradient(138deg, #10151d 0%, #0c1528 58%, #111827 100%);+ linear-gradient(138deg, #101114 0%, #0e0f13 58%, #141519 100%);color: #fff;}@@ -89,8 +89,8 @@padding: 0 22px;border: 0;border-radius: 10px;- background: #f7fbff;- color: #111827;+ background: #f0f1f4;+ color: #121315;box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);font-size: 14px;font-weight: 750;@@ -110,7 +110,7 @@padding: 10px;border: 1px solid rgba(255, 255, 255, 0.26);border-radius: 14px;- background: rgba(17, 21, 29, 0.7);+ background: rgba(19, 20, 23, 0.7);backdrop-filter: blur(18px);}.verifiedPanel img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }@@ -170,30 +170,30 @@max-width: 1180px;margin: -22px auto 0;overflow: hidden;- border: 1px solid rgba(155, 176, 205, 0.18);+ border: 1px solid rgba(173, 176, 182, 0.18);border-radius: 18px;- background: rgba(17, 21, 29, 0.96);+ background: rgba(19, 20, 23, 0.96);box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);}-.metrics div { padding: 22px 28px; border-right: 1px solid rgba(155, 176, 205, 0.16); }+.metrics div { padding: 22px 28px; border-right: 1px solid rgba(173, 176, 182, 0.16); }.metrics div:last-child { border-right: 0; }-.metrics strong { display: block; color: #f7fbff; font-size: 28px; }+.metrics strong { display: block; color: #ededf0; font-size: 28px; }.metrics span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }.directorySection { max-width: 1180px; margin: 0 auto; padding: 92px 28px 120px; }.directoryHeader h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; letter-spacing: -0.03em; }.directoryHeader { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }-.directoryHeader label { display: flex; align-items: center; gap: 9px; width: min(360px, 100%); height: 46px; padding: 0 14px; border: 1px solid rgba(155, 176, 205, 0.2); border-radius: 10px; background: rgba(17, 21, 29, 0.88); color: var(--violet); }+.directoryHeader label { display: flex; align-items: center; gap: 9px; width: min(360px, 100%); height: 46px; padding: 0 14px; border: 1px solid rgba(173, 176, 182, 0.2); border-radius: 10px; background: rgba(19, 20, 23, 0.88); color: var(--violet); }.directoryHeader input { width: 100%; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }.directoryGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }-.directoryGrid a { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid rgba(155, 176, 205, 0.16); border-radius: 10px; background: rgba(17, 21, 29, 0.82); color: var(--ink); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }-.directoryGrid a:hover { transform: translateY(-3px); border-color: rgba(110, 168, 255, 0.38); background: rgba(23, 28, 38, 0.96); }+.directoryGrid a { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid rgba(173, 176, 182, 0.16); border-radius: 10px; background: rgba(19, 20, 23, 0.82); color: var(--ink); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }+.directoryGrid a:hover { transform: translateY(-3px); border-color: rgba(110, 168, 255, 0.38); background: rgba(25, 26, 30, 0.96); }.directoryGrid img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }.directoryGrid strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.directoryGrid small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }-.directoryGrid svg { color: #718396; }-.directoryToggle { display: none; width: 100%; min-height: 46px; margin-top: 12px; border: 1px solid rgba(155, 176, 205, 0.2); border-radius: 10px; background: rgba(17, 21, 29, 0.88); color: var(--ink); font-size: 13px; font-weight: 740; cursor: pointer; }-.empty { padding: 60px; border: 1px dashed rgba(155, 176, 205, 0.2); border-radius: 12px; color: var(--muted); text-align: center; }+.directoryGrid svg { color: #767c86; }+.directoryToggle { display: none; width: 100%; min-height: 46px; margin-top: 12px; border: 1px solid rgba(173, 176, 182, 0.2); border-radius: 10px; background: rgba(19, 20, 23, 0.88); color: var(--ink); font-size: 13px; font-weight: 740; cursor: pointer; }+.empty { padding: 60px; border: 1px dashed rgba(173, 176, 182, 0.2); border-radius: 12px; color: var(--muted); text-align: center; }.modalBackdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(31, 27, 66, 0.74); backdrop-filter: blur(16px); }.modal { width: min(980px, 100%); }@@ -234,7 +234,7 @@.verifiedPanel > button:not(.logoutButton), .verifiedPanel a { grid-column: 1 / -1; }.metrics { grid-template-columns: repeat(2, 1fr); margin: -24px 18px 0; }.metrics div:nth-child(2) { border-right: 0; }- .metrics div:nth-child(-n + 2) { border-bottom: 1px solid rgba(155, 176, 205, 0.16); }+ .metrics div:nth-child(-n + 2) { border-bottom: 1px solid rgba(173, 176, 182, 0.16); }.directorySection { padding-right: 18px; padding-left: 18px; }.directoryHeader { align-items: stretch; flex-direction: column; }.directoryGrid { grid-template-columns: 1fr; }diff --git a/docs/components/landing/ChangelogList.tsx b/docs/components/landing/ChangelogList.tsxindex 673b36e052..70f626df3b 100644--- a/docs/components/landing/ChangelogList.tsx+++ b/docs/components/landing/ChangelogList.tsx@@ -42,40 +42,40 @@ function ReleaseCard({ release, lang, featured, expanded }: { release: Changelogconst t = lang === "cn" ? { publishedOn: "发布于", download: "下载", seeGitHub: "查看 GitHub Release 获取详情" } : { publishedOn: "Published on", download: "Download", seeGitHub: "See GitHub Release for details" };return (- <details className="changelog-release border-t border-[rgba(155,176,205,0.18)]" open={featured || expanded || undefined}>- <summary className="changelog-release-summary min-h-[72px] cursor-pointer list-none items-center justify-between gap-4 py-4 text-[#e2e8f0]">+ <details className="changelog-release border-t border-[rgba(173,176,182,0.18)]" open={featured || expanded || undefined}>+ <summary className="changelog-release-summary min-h-[72px] cursor-pointer list-none items-center justify-between gap-4 py-4 text-[#e4e7ea]"><span className="min-w-0"><strong className="block truncate text-[17px] font-[720]">Release {release.tag}</strong>- <span className="mt-1 block text-xs text-[#64748b]">{formatDate(release.date, lang)}</span>+ <span className="mt-1 block text-xs text-[#71717a]">{formatDate(release.date, lang)}</span></span><ChevronDown className="changelog-release-chevron shrink-0 text-[#6ea8ff]" size={18} /></summary><div className="changelog-release-body py-12 max-[760px]:py-8"><div className="flex items-center justify-between gap-4 mb-8 max-[760px]:items-start max-[760px]:flex-wrap max-[760px]:mb-6"><div className="flex items-center gap-4 max-[760px]:flex-wrap max-[760px]:gap-2.5">- <span className="flex items-center gap-1.5 px-3.5 py-1.5 rounded-full border border-[rgba(155,176,205,0.25)] text-sm font-semibold text-[#e2e8f0]">+ <span className="flex items-center gap-1.5 px-3.5 py-1.5 rounded-full border border-[rgba(173,176,182,0.25)] text-sm font-semibold text-[#e4e7ea]"><Tag size={13} className="text-[#6ea8ff]" />{release.tag.replace("v", "")}</span>- <span className="text-[15px] text-[#64748b] max-[760px]:text-[13px]">+ <span className="text-[15px] text-[#71717a] max-[760px]:text-[13px]">{t.publishedOn} {formatDate(release.date, lang)}</span></div>- <a href={`https://github.com/t8y2/dbx/releases/tag/${release.tag}`} target="_blank" rel="noopener noreferrer" className="flex min-h-11 items-center gap-1.5 px-4 rounded-full border border-[rgba(155,176,205,0.25)] text-sm text-[#e2e8f0] hover:border-[rgba(155,176,205,0.4)] transition-colors">+ <a href={`https://github.com/t8y2/dbx/releases/tag/${release.tag}`} target="_blank" rel="noopener noreferrer" className="flex min-h-11 items-center gap-1.5 px-4 rounded-full border border-[rgba(173,176,182,0.25)] text-sm text-[#e4e7ea] hover:border-[rgba(173,176,182,0.4)] transition-colors">{t.download}<ChevronDown size={14} /></a></div>- <h2 className="text-[28px] font-[720] text-[#f7fbff] mb-10 max-[760px]:text-2xl max-[760px]:mb-7">Release {release.tag}</h2>+ <h2 className="text-[28px] font-[720] text-[#ededf0] mb-10 max-[760px]:text-2xl max-[760px]:mb-7">Release {release.tag}</h2>{release.sections.map((section, sectionIndex) => (<div key={sectionIndex} className={sectionIndex > 0 ? "mt-10 max-[760px]:mt-8" : ""}>- <h3 className="text-xl font-bold text-[#f7fbff] mb-5 max-[760px]:text-lg max-[760px]:mb-4">{sectionLabels[section.type]?.[lang] || section.title}</h3>+ <h3 className="text-xl font-bold text-[#ededf0] mb-5 max-[760px]:text-lg max-[760px]:mb-4">{sectionLabels[section.type]?.[lang] || section.title}</h3><ul className="space-y-3">{section.items.map((item, itemIndex) => (- <li key={itemIndex} className="flex gap-3 text-[15px] leading-relaxed text-[#b8c5d6] max-[760px]:text-sm">- <span className="mt-2 w-1.5 h-1.5 rounded-full bg-[#475569] shrink-0" />+ <li key={itemIndex} className="flex gap-3 text-[15px] leading-relaxed text-[#bcc1c9] max-[760px]:text-sm">+ <span className="mt-2 w-1.5 h-1.5 rounded-full bg-[#52525b] shrink-0" /><span>{item.desc ? (<>@@ -91,7 +91,7 @@ function ReleaseCard({ release, lang, featured, expanded }: { release: Changelog</div>))}- {release.sections.length === 0 && <p className="text-[15px] text-[#64748b] italic">{t.seeGitHub}</p>}+ {release.sections.length === 0 && <p className="text-[15px] text-[#71717a] italic">{t.seeGitHub}</p>}</div></details>);@@ -127,7 +127,7 @@ export function ChangelogList({ releases, lang }: { releases: ChangelogRelease[]<ReleaseCard key={release.tag} release={release} lang={lang} featured={index === 0} expanded={isDesktop} />))}{hasMore && (- <div ref={sentinelRef} className="flex justify-center py-12 text-[#64748b] text-sm">+ <div ref={sentinelRef} className="flex justify-center py-12 text-[#71717a] text-sm">{lang === "cn" ? "加载更多版本…" : "Loading more versions…"}</div>)}diff --git a/docs/components/landing/DatabasePillMarquee.tsx b/docs/components/landing/DatabasePillMarquee.tsxnew file mode 100644index 0000000000..fd3c3b417d--- /dev/null+++ b/docs/components/landing/DatabasePillMarquee.tsx@@ -0,0 +1,26 @@+import type { DatabaseSupportItem } from "@/data/databaseSupport";++const ROW_COUNT = 5;+const ROW_DIRECTIONS = ["left", "right", "left", "right", "left"];++export function DatabasePillMarquee({ items }: { items: DatabaseSupportItem[] }) {+ const perRow = Math.ceil(items.length / ROW_COUNT);+ const rows = Array.from({ length: ROW_COUNT }, (_, rowIndex) => items.slice(rowIndex * perRow, (rowIndex + 1) * perRow));++ return (+ <div className="landing-db-wall grid gap-3 py-1" aria-label="Supported databases">+ {rows.map((row, rowIndex) => (+ <div key={rowIndex} className="landing-db-marquee flex overflow-hidden" data-direction={ROW_DIRECTIONS[rowIndex]}>+ <div className="landing-db-track flex w-max min-w-full shrink-0 gap-3 px-[6px]">+ {[...row, ...row].map((db, index) => (+ <div aria-hidden={index >= row.length} className="landing-db-pill" key={`${db.id}-${index}`}>+ <img src={db.icon} alt="" width={20} height={20} loading="lazy" decoding="async" />+ <span>{db.name}</span>+ </div>+ ))}+ </div>+ </div>+ ))}+ </div>+ );+}diff --git a/docs/components/landing/InstallTabs.tsx b/docs/components/landing/InstallTabs.tsxindex 3be054959e..7ab6e27a47 100644--- a/docs/components/landing/InstallTabs.tsx+++ b/docs/components/landing/InstallTabs.tsx@@ -83,7 +83,7 @@ export function InstallTabs({ lang, version }: InstallTabsProps) {<PlatformIcon id={primary?.iconId ?? fallbackIconId} size={30} variant="dark" /><span className="grid gap-0.5 min-w-0 text-left"><strong className="overflow-hidden text-[15px] font-[780] leading-[1.2] truncate">{downloadLabel[lang]}</strong>- <small className="overflow-hidden text-xs font-[520] leading-tight truncate text-[color-mix(in_srgb,#0f172a_48%,#94a3b8)]">{primary?.label ?? fallbackLabel}</small>+ <small className="overflow-hidden text-xs font-[520] leading-tight truncate text-[color-mix(in_srgb,#121315_48%,#9aa0a8)]">{primary?.label ?? fallbackLabel}</small></span></>);@@ -122,14 +122,14 @@ export function InstallTabs({ lang, version }: InstallTabsProps) {aria-expanded={open}aria-haspopup="menu"aria-label={lang === "cn" ? "显示其他下载选项" : "Show other download options"}- className="landing-install-toggle grid place-items-center border-0 border-l border-l-[rgba(15,23,42,0.12)] bg-transparent text-[#5f6876] cursor-pointer"+ className="landing-install-toggle grid place-items-center border-0 border-l border-l-[rgba(10,11,13,0.12)] bg-transparent text-[#6a6f78] cursor-pointer"onClick={() => setOpen((current) => !current)}><ChevronDown size={18} /></button></div><div- className="landing-install-menu absolute z-30 top-[calc(100%+12px)] left-1/2 -translate-x-1/2 grid w-[min(380px,calc(100vw-32px))] border border-[rgba(155,176,205,0.17)] rounded-xl py-1.5 max-[760px]:left-auto max-[760px]:translate-x-0"+ className="landing-install-menu absolute z-30 top-[calc(100%+12px)] left-1/2 -translate-x-1/2 grid w-[min(380px,calc(100vw-32px))] border border-[rgba(173,176,182,0.17)] rounded-xl py-1.5 max-[760px]:left-auto max-[760px]:translate-x-0"id="landing-install-menu"role="menu"aria-label={lang === "cn" ? "下载选项" : "Download options"}diff --git a/docs/components/landing/LandingFooter.tsx b/docs/components/landing/LandingFooter.tsxindex 9cc1e3b8e8..4b53b7db0f 100644--- a/docs/components/landing/LandingFooter.tsx+++ b/docs/components/landing/LandingFooter.tsx@@ -23,7 +23,7 @@ export function LandingFooter({ lang }: { lang: "en" | "cn" }) {const t = i18n[lang];return (- <footer className="border-t border-[var(--color-landing-line)] bg-[#0b1120]">+ <footer className="border-t border-[var(--color-landing-line)] bg-[#08080a]"><div className="max-w-[1180px] mx-auto px-7 py-7 max-[760px]:px-[18px]"><div className="flex items-center justify-between gap-4 max-[760px]:flex-col max-[760px]:gap-3 max-[760px]:text-center">{/* Logo */}diff --git a/docs/components/landing/LandingLatestUpdates.tsx b/docs/components/landing/LandingLatestUpdates.tsxdeleted file mode 100644index 213165de5b..0000000000--- a/docs/components/landing/LandingLatestUpdates.tsx+++ /dev/null@@ -1,39 +0,0 @@-import Link from "next/link";-import { ArrowRight, CheckCircle2 } from "lucide-react";-import { RevealSection } from "@/components/landing/RevealSection";-import type { ChangelogRelease } from "@/lib/changelog";-import { buildLandingLatestUpdates } from "@/lib/landingLatest";-import type { LatestReleaseInfo } from "@/lib/latestRelease";--type LandingLatestUpdatesProps = {- lang: "en" | "cn";- fallbackVersion: string;- initialRelease?: ChangelogRelease;- initialLatestRelease?: LatestReleaseInfo | null;-};--export function LandingLatestUpdates({ lang, fallbackVersion, initialRelease, initialLatestRelease }: LandingLatestUpdatesProps) {- const latest = buildLandingLatestUpdates(lang, initialRelease, fallbackVersion, initialLatestRelease);-- return (- <RevealSection className="grid grid-cols-[minmax(86px,0.16fr)_minmax(210px,0.32fr)_minmax(0,0.38fr)_max-content] gap-[22px] items-center max-w-[1180px] mx-auto px-7 border-t border-b border-landing-line mt-[62px] py-6 max-[1040px]:grid-cols-[minmax(0,1fr)_max-content] max-[760px]:block max-[760px]:px-[18px]">- <div className="landing-update-version w-max rounded-[7px] px-2.5 py-[7px] text-[13px] font-[720]">{latest.version}</div>- <div className="max-[1040px]:col-span-full max-[760px]:mt-4">- <h2 className="m-0 text-[21px] font-[720] text-landing-ink">{latest.title}</h2>- <p className="mt-1.5 text-landing-muted text-[13px] leading-[1.55]">{latest.desc}</p>- </div>- <ul className="grid gap-2 m-0 p-0 list-none max-[1040px]:col-span-full max-[760px]:mt-4">- {latest.items.map((item) => (- <li key={item} className="flex gap-2 items-center text-[13px] font-[560] leading-[1.45] text-[color-mix(in_srgb,var(--color-landing-ink)_88%,var(--color-landing-muted))]" data-stagger>- <CheckCircle2 size={14} className="shrink-0 text-landing-green" />- <span>{item}</span>- </li>- ))}- </ul>- <Link href={`/${lang}/changelog`} prefetch={false} className="landing-inline-link flex shrink-0 items-center gap-[7px] text-sm font-[650] max-[760px]:mt-4">- {latest.link}- <ArrowRight size={15} />- </Link>- </RevealSection>- );-}diff --git a/docs/components/landing/SponsorContactForm.tsx b/docs/components/landing/SponsorContactForm.tsxindex ee94412fad..42d4ef06d4 100644--- a/docs/components/landing/SponsorContactForm.tsx+++ b/docs/components/landing/SponsorContactForm.tsx@@ -88,7 +88,7 @@ export function SponsorContactForm({ lang }: { lang: "en" | "cn" }) {}const fieldClassName =- "mt-2 min-h-11 w-full rounded-lg border border-landing-line bg-[#0d1422] px-3.5 text-sm text-landing-ink outline-none transition placeholder:text-[#65758b] focus:border-[#6ea8ff]/70 focus:ring-2 focus:ring-[#6ea8ff]/15";+ "mt-2 min-h-11 w-full rounded-lg border border-landing-line bg-[#0e0f13] px-3.5 text-sm text-landing-ink outline-none transition placeholder:text-[#6b7078] focus:border-[#6ea8ff]/70 focus:ring-2 focus:ring-[#6ea8ff]/15";return (<form onSubmit={handleSubmit} className="grid gap-5" aria-label={t.subject}>@@ -129,7 +129,7 @@ export function SponsorContactForm({ lang }: { lang: "en" | "cn" }) {<p className="max-w-[440px] text-xs leading-relaxed text-landing-muted">{t.privacy}</p><buttontype="submit"- className="inline-flex min-h-11 shrink-0 items-center justify-center gap-2 rounded-lg bg-[#f2f7ff] px-5 text-sm font-[720] text-[#0b1120] transition hover:-translate-y-0.5 hover:bg-white focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-landing-sky"+ className="inline-flex min-h-11 shrink-0 items-center justify-center gap-2 rounded-lg bg-[#f0f1f4] px-5 text-sm font-[720] text-[#0a0b0e] transition hover:-translate-y-0.5 hover:bg-white focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-landing-sky"><Send aria-hidden="true" size={16} strokeWidth={2.2} />{t.submit}diff --git a/docs/lib/landingLatest.ts b/docs/lib/landingLatest.tsdeleted file mode 100644index c1313ee650..0000000000--- a/docs/lib/landingLatest.ts+++ /dev/null@@ -1,48 +0,0 @@-import type { ChangelogRelease } from "@/lib/changelog";-import type { LatestReleaseInfo } from "@/lib/latestRelease";--type LandingLatestUpdates = {- version: string;- title: string;- desc: string;- link: string;- items: string[];-};--const text = {- en: {- title: "Latest updates",- desc: "Mirrored from the latest GitHub release notes.",- link: "Read the changelog",- fallbackItems: ["Desktop and Docker release assets", "Database workflow improvements", "Bug fixes and reliability updates", "Documentation and packaging updates"],- },- cn: {- title: "最近更新",- desc: "同步 GitHub 最新 Release Notes。",- link: "查看更新日志",- fallbackItems: ["桌面版与 Docker 发布资产", "数据库工作流改进", "问题修复与稳定性更新", "文档与打包流程更新"],- },-};--function releaseItems(release: ChangelogRelease, lang: "en" | "cn") {- const separator = lang === "cn" ? "," : ": ";-- return release.sections- .flatMap((section) => section.items)- .map((item) => (item.desc ? `${item.title}${separator}${item.desc}` : item.title))- .slice(0, 4);-}--export function buildLandingLatestUpdates(lang: "en" | "cn", release: ChangelogRelease | undefined, appVersion: string, latestRelease?: LatestReleaseInfo | null): LandingLatestUpdates {- const t = text[lang];- const items = release ? releaseItems(release, lang) : [];- const version = latestRelease?.version ? `v${latestRelease.version}` : (release?.tag ?? `v${appVersion}`);-- return {- version,- title: t.title,- desc: t.desc,- link: t.link,- items: items.length > 0 ? items : t.fallbackItems,- };-}