fix(web): remove landing statistics strip

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
XiaoSeS 2026-09-09 17:16:37 +08:00
parent 24a1ed269c
commit 3ae87fcf3f
4 changed files with 0 additions and 45 deletions

View file

@ -172,12 +172,6 @@
"title": "Manage the complete skill lifecycle, from registration to distribution",
"description": "More than a package repository: one platform for publishing, review, distribution, and governance."
},
"stats": {
"publicSkills": "Public skills in this registry",
"accessModes": "Access modes",
"permissionScopes": "RBAC scopes",
"license": "Open-source license"
},
"enterprise": {
"title": "Built for teams and enterprises",
"description": "Self-hosting, access control, review workflows, and auditability in one registry.",

View file

@ -172,12 +172,6 @@
"title": "Полный жизненный цикл скилла — от регистрации до распространения",
"description": "Единая платформа для публикации, ревью, распространения и управления, а не просто хранилище пакетов."
},
"stats": {
"publicSkills": "Публичные скиллы в реестре",
"accessModes": "Способы доступа",
"permissionScopes": "Уровни RBAC",
"license": "Лицензия открытого кода"
},
"enterprise": {
"title": "Для команд и предприятий",
"description": "Self-hosting, контроль доступа, ревью и аудит в одном реестре.",

View file

@ -172,12 +172,6 @@
"title": "从注册到分发,管理完整的技能生命周期",
"description": "不只是技能仓库,而是一套覆盖发布、审核、分发和治理的平台。"
},
"stats": {
"publicSkills": "当前 Registry 公开技能",
"accessModes": "接入方式",
"permissionScopes": "RBAC 层级",
"license": "开源许可证"
},
"enterprise": {
"title": "为团队和企业而建",
"description": "在一个 Registry 中提供自托管、权限控制、审核流程与审计能力。",

View file

@ -151,31 +151,6 @@ function HeroBrowserMockup({ onSearch }: { onSearch: (query: string) => void })
)
}
function LandingStatsSection({ skillCount }: { skillCount?: number }) {
const { t, i18n } = useTranslation()
const stats = [
{ value: skillCount === undefined ? '—' : skillCount.toLocaleString(i18n.language), label: t('landing.experience.stats.publicSkills') },
{ value: '3', label: t('landing.experience.stats.accessModes') },
{ value: '2', label: t('landing.experience.stats.permissionScopes') },
{ value: 'Apache-2.0', label: t('landing.experience.stats.license') },
]
return (
<section className="w-full border-y border-border/70 bg-background px-6 py-14 md:py-16">
<div className="mx-auto grid max-w-5xl grid-cols-2 gap-8 md:grid-cols-4">
{stats.map((stat) => (
<div key={stat.label} className="text-center">
<div className="mb-1 text-3xl font-semibold tracking-tight text-foreground md:text-4xl">
{stat.value}
</div>
<div className="text-sm text-muted-foreground">{stat.label}</div>
</div>
))}
</div>
</section>
)
}
function EnterpriseSection() {
const { t } = useTranslation()
@ -496,8 +471,6 @@ export function LandingPage() {
</div>
</section>
<LandingStatsSection skillCount={popularSkills?.total} />
<div ref={enterpriseView.ref} className={`scroll-fade-up${enterpriseView.inView ? ' in-view' : ''}`}>
<EnterpriseSection />
</div>