--- import Icon from './Icon.astro'; import type { T, Lang } from '../i18n/strings'; interface Props { t: T; lang: Lang } const { t, lang } = Astro.props; // 中文走 /zh/docs/*,其余语言暂共用英文文档(/docs/*)。 const base = lang === 'zh' ? '/zh/docs' : '/docs'; const docs = [ { icon: 'rocket', t: 'docs.1t', d: 'docs.1d', slug: 'quickstart' }, { icon: 'circle-help', t: 'docs.2t', d: 'docs.2d', slug: 'faq' }, { icon: 'shield-check', t: 'docs.3t', d: 'docs.3d', slug: 'protocol' }, { icon: 'lock', t: 'docs.4t', d: 'docs.4d', slug: 'privacy' }, ]; ---
{t('docs.eyebrow')}

{t('docs.h')}

{t('docs.sub')}