diff --git a/website/i18n.json b/website/i18n.json index 0f57325..6f0c667 100644 --- a/website/i18n.json +++ b/website/i18n.json @@ -159,6 +159,18 @@ "en": "Configuration", "zh": "配置" }, + "apiReference": { + "en": "API reference", + "zh": "API 参考" + }, + "ideIntegration": { + "en": "IDE integration", + "zh": "IDE 集成" + }, + "migration": { + "en": "Migration", + "zh": "迁移" + }, "ecosystem": { "en": "Ecosystem", "zh": "生态" diff --git a/website/theme/components/HomeFooter.module.scss b/website/theme/components/HomeFooter.module.scss index 14404fe..e5a678c 100644 --- a/website/theme/components/HomeFooter.module.scss +++ b/website/theme/components/HomeFooter.module.scss @@ -12,11 +12,15 @@ .container { display: flex; - justify-content: space-around; + justify-content: space-between; + gap: 2rem; width: 100%; max-width: 72rem; - padding-top: 3rem; - padding-bottom: 1rem; + padding: 3rem 2rem 1rem; + + @media (max-width: 640px) { + padding-inline: 1.25rem; + } } .column { @@ -27,7 +31,7 @@ h2 { margin: 1rem 0; font-size: 1.125rem; - font-weight: 700; + font-weight: 600; line-height: 1.75rem; } diff --git a/website/theme/components/HomeFooter.tsx b/website/theme/components/HomeFooter.tsx index 50140ff..bf2772b 100644 --- a/website/theme/components/HomeFooter.tsx +++ b/website/theme/components/HomeFooter.tsx @@ -20,6 +20,18 @@ function useFooterData() { title: t('configuration'), link: getLink('/guide/configuration'), }, + { + title: t('apiReference'), + link: getLink('/guide/api-reference'), + }, + { + title: t('ideIntegration'), + link: getLink('/guide/ide-integration'), + }, + { + title: t('migration'), + link: getLink('/guide/migration'), + }, ], }, { @@ -87,6 +99,14 @@ function useFooterData() { title: 'Discord', link: 'https://discord.gg/XsaKEEk4mW', }, + { + title: 'X', + link: 'https://x.com/rspack_dev', + }, + { + title: 'Bluesky', + link: 'https://bsky.app/profile/rspack.dev', + }, ], }, ];