Files
nixcn-web/astro.config.mjs
Asai Neko 26713548a1 Remove galaxy theme due to ui alignment errors
- Disable galaxy theme from astro.config.mjs plugins
- Remove galaxy theme dep from package.json

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-09 11:18:36 +08:00

39 lines
1015 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import mdx from '@astrojs/mdx';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Nix CN',
defaultLocale: 'root',
logo: {
light: './src/assets/nix-cn.svg',
dark: './src/assets/nix-cn-dark.svg',
replacesTitle: true,
},
locales: {
root: {
label: '简体中文',
lang: 'zh-CN',
},
en: {
label: 'English',
},
},
social: [
{
icon: 'seti:git',
label: 'Source',
href: 'https://git.sne.moe/sugar/nixcn-web',
},
],
sidebar: [],
plugins: [],
}),
mdx(),
],
});