From 7c1f8cca577aff49c8a6111b0d4aa960885b6074 Mon Sep 17 00:00:00 2001 From: shenlan Date: Sun, 9 Nov 2025 23:37:25 +0800 Subject: [PATCH] Refine homepage hero to minimal Cloud-Neutral layout (#665) * Refine homepage hero to minimal Cloud-Neutral layout * Simplify homepage hero layout --- dashboard/ui/homepage/page.tsx | 152 ++++++++++++++++++++------------- 1 file changed, 94 insertions(+), 58 deletions(-) diff --git a/dashboard/ui/homepage/page.tsx b/dashboard/ui/homepage/page.tsx index 3666d9a..d1fff03 100644 --- a/dashboard/ui/homepage/page.tsx +++ b/dashboard/ui/homepage/page.tsx @@ -2,7 +2,6 @@ import clsx from 'clsx' -import Hero from '@components/Hero' import Features from '@components/Features' import OpenSource from '@components/OpenSource' import DownloadSection from '@components/DownloadSection' @@ -11,75 +10,112 @@ import { designTokens } from '@theme/designTokens' import { useLanguage } from '../../i18n/LanguageProvider' -const heroCopy = { +const heroContent = { zh: { eyebrow: 'Cloud-Neutral', - title: '云原生套件', - description: '构建一体化的云原生工具集,让 DevOps、观测与 AI 协作拥有更轻盈的体验。', - highlights: ['多云 IaC 与 GitOps 统一编排', '全链路观测与事件驱动的自动化响应', 'AI Copilot 嵌入日常运维', '企业级身份、合规与安全防护'], - primaryCta: { label: '产品体验', href: '/demo?product=xcloudflow' }, - secondaryCta: { label: '了解方案', href: '/docs' }, + title: '构建一体化的 Cloud-Neutral 云原生生态', + description: + '通过统一治理、自动化与可观测能力,连接团队、工具与环境,让企业以更简洁的方式管理复杂的多云栈。', + focusAreas: ['跨云统一治理', '安全与合规自动化', '可观测与智能协同'], + products: [ + { + label: 'XCloudFlow', + headline: '多云自动化与 GitOps 编排', + description: '以声明式 IaC 驱动跨云交付流程,内建审批、审计与合规校验,保障变更可控。', + }, + { + label: 'XScoveHub', + headline: '可观测与智能协同', + description: '统一指标、日志、链路与事件流,AI 助理联动诊断与响应,缩短故障恢复时间。', + }, + { + label: 'XStream', + headline: '安全与合规自动化', + description: '策略即代码将安全基线嵌入流水线,持续评估风险并生成可追溯的合规报告。', + }, + { + label: 'XBoard', + headline: '平台体验与工作流', + description: '统一门户连接角色、权限、成本与协作,帮助平台团队构建一致的交付体验。', + }, + ], }, en: { eyebrow: 'Cloud-Neutral', - title: 'Cloud-Native Suite', - description: 'A unified toolkit for DevOps, observability, and AI workflows with room to breathe.', - highlights: ['Orchestrate multi-cloud IaC and GitOps', 'Streaming observability with automated responses', 'AI copilots embedded in platform operations', 'Enterprise-grade identity, compliance, and security'], - primaryCta: { label: 'Try the product', href: '/demo?product=xcloudflow' }, - secondaryCta: { label: 'Explore docs', href: '/docs' }, + title: 'Build a Cloud-Neutral cloud operations fabric', + description: + 'Unify governance, automation, and observability so teams can manage complex multi-cloud estates with clarity.', + focusAreas: ['Unified multi-cloud governance', 'Automated security & compliance', 'Observability with intelligent workflows'], + products: [ + { + label: 'XCloudFlow', + headline: 'Multi-cloud automation & GitOps orchestration', + description: 'Drive declarative IaC workflows with approvals, audit trails, and guardrails built in from day one.', + }, + { + label: 'XScoveHub', + headline: 'Observability & intelligent collaboration', + description: 'Correlate metrics, logs, traces, and events while AI copilots coordinate diagnosis and remediation.', + }, + { + label: 'XStream', + headline: 'Security & compliance automation', + description: 'Embed policy-as-code controls into every release to surface risks early and keep evidence auditable.', + }, + { + label: 'XBoard', + headline: 'Platform experience & workflows', + description: 'Connect roles, permissions, costs, and collaboration in a unified workspace for platform teams.', + }, + ], }, } -function HeroMedia() { - return ( -
-
-
-
-
-

Stack Snapshot

-

Terraform · Pulumi · Helm · ArgoCD

-
-
- {[{ label: 'Clusters', value: '38' }, { label: 'Pipelines', value: '126' }, { label: 'Playbooks', value: '42' }, { label: 'Latency', value: '99.9% SLA' }].map((item) => ( -
-
{item.label}
-
{item.value}
-
- ))} -
-
-

AI Copilot routed 12 incidents to automation in the last 24 hours.

-
-
-
-
- ) -} - export default function Homepage() { const { language } = useLanguage() - const copy = heroCopy[language] + const content = heroContent[language] return ( -
- } - /> +
+
+
+
+
+
+ + {content.eyebrow} + +
+

{content.title}

+

{content.description}

+
+
    + {content.focusAreas.map((item) => ( +
  • + + {item} +
  • + ))} +
+
+
+ {content.products.map((product) => ( +
+ {product.label} +

{product.headline}

+

{product.description}

+
+ ))} +
+
+
+