diff --git a/astro.config.mjs b/astro.config.mjs index 0f1c991..79ce5c9 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -32,17 +32,13 @@ export default defineConfig({ href: 'https://github.com/NixOS-CN/nixcn-web', }, ], - sidebar: ['meetup-2-guide', 'souvenir-customization', 'volunteers'], + sidebar: ['meetup-2-guide', 'souvenir-customization', 'volunteers', 'code-of-conduct'], plugins: [ starlightUITweaks({ - navbarLinks: [ - { label: 'Nix CN 社区 ↗', href: 'https://nixos-cn.org/' }, - ], + navbarLinks: [{ label: 'Nix CN 社区 ↗', href: 'https://nixos-cn.org/' }], locales: { en: { - navbarLinks: [ - { label: "Nix CN Community ↗", href: "https://nixos-cn.org/" }, - ], + navbarLinks: [{ label: 'Nix CN Community ↗', href: 'https://nixos-cn.org/' }], }, }, }), diff --git a/src/components/BadgeTemplates.astro b/src/components/BadgeTemplates.astro index f035ec7..6d7a83b 100644 --- a/src/components/BadgeTemplates.astro +++ b/src/components/BadgeTemplates.astro @@ -5,10 +5,10 @@ import RainbowBadgeTemplate from '@assets/badges/rainbow.webp'; import TransBadgeTemplate from '@assets/badges/trans.webp'; --- -