feat(website): simplify heading api

This commit is contained in:
Simon
2026-02-27 20:36:00 +08:00
parent ce2258fe16
commit c2daf13ead
15 changed files with 69 additions and 127 deletions

View File

@@ -373,7 +373,6 @@ export default function TroubleshootingPage() {
<section key={section.id} className="scroll-mt-24">
<Heading
id={section.id}
level={2}
className="text-2xl font-bold mb-4 text-gray-900 dark:text-white"
>
{isZh ? section.title.zh : section.title.en}