Add event code of conduct

- Both en and cn version

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-14 17:08:09 +08:00
parent e4d896df52
commit c209263fe6
3 changed files with 108 additions and 7 deletions

View File

@@ -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/' }],
},
},
}),