Files
mintlify__docs/zh/index.mdx
locadex-agent[bot] 531dd031e9 docs(locadex): add translations (#2491)
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
2025-12-22 19:11:07 -08:00

54 lines
2.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "简介"
description: "邂逅新一代文档体验:AI 原生、开箱即用且美观,为开发者打造。"
mode: "frame"
keywords: ["概览", "平台", "快速开始", "功能"]
---
export const HeroCard = ({ filename, title, description, href }) => {
return (
<a className="group cursor-pointer pb-8" href={href}>
<img
src={`https://mintlify.s3.us-west-1.amazonaws.com/mintlify/images/hero/${filename}.png`}
className="block dark:hidden pointer-events-none group-hover:scale-105 transition-all duration-100"
/>
<img
src={`https://mintlify.s3.us-west-1.amazonaws.com/mintlify/images/hero/${filename}-dark.png`}
className="pointer-events-none group-hover:scale-105 transition-all duration-100 hidden dark:block"
/>
<h3 className="mt-5 text-gray-900 dark:text-zinc-50 font-medium">
{title}
</h3>
<span className="mt-1.5">{description}</span>
</a>
);
};
<div className="relative">
<div className="absolute -top-14 left-0 right-0 opacity-80">
<img src="/images/hero/background-light.svg" className="block dark:hidden pointer-events-none w-full h-auto" alt="装饰性背景图像。" />
<img src="/images/hero/background-dark.svg" className="hidden dark:block pointer-events-none w-full h-auto" alt="装饰性背景图像。" />
</div>
<div className="relative z-10 px-4 py-16 lg:py-48 lg:pb-24 max-w-3xl mx-auto">
<h1 className="block text-4xl font-medium text-center text-gray-900 dark:text-zinc-50 tracking-tight">
文档
</h1>
<div className="max-w-xl mx-auto px-4 mt-4 text-lg text-center text-gray-500 dark:text-zinc-500">
迎接新一代文档体验。AI 原生,开箱即用且精美,为开发者和团队打造。
</div>
<div className="px-6 lg:px-0 mt-12 lg:mt-24 grid sm:grid-cols-2 gap-x-6 gap-y-4">
<HeroCard filename="rocket" title="快速开始" description="通过我们的分步指南,在几分钟内部署你的第一个文档站点" href="/zh/quickstart" />
<HeroCard filename="cli" title="CLI 安装" description="安装命令行界面(CLI),在本地预览和开发文档" href="/zh/installation" />
<HeroCard filename="editor" title="网页编辑器" description="使用基于浏览器的编辑器快速更新和管理内容" href="/zh/editor/index" />
<HeroCard filename="components" title="组件" description="使用我们开箱即用的组件构建丰富、互动性强的文档" href="/zh/components/accordions" />
</div>
</div>
</div>