diff --git a/astro.config.ts b/astro.config.ts index 571dddc..84547f1 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -24,7 +24,7 @@ import remarkSectionize from 'remark-sectionize' // Project configuration and utilities import UnoCSS from 'unocss/astro' import { themeConfig } from './src/config' -import { langMap } from './src/i18n/ui' +import { langMap } from './src/i18n/config' import { AdmonitionComponent } from './src/plugins/rehype-component-admonition' import { GithubCardComponent } from './src/plugins/rehype-component-github-card' import { parseDirectiveNode } from './src/plugins/remark-directive-rehype' diff --git a/src/components/Comments/Waline.astro b/src/components/Comments/Waline.astro index 8314bd7..936eb98 100644 --- a/src/components/Comments/Waline.astro +++ b/src/components/Comments/Waline.astro @@ -1,7 +1,6 @@ --- -import { themeConfig } from '@/config' -import { defaultLocale } from '@/i18n/config' -import { walineLocaleMap } from '@/i18n/ui' +import { defaultLocale, themeConfig } from '@/config' +import { walineLocaleMap } from '@/i18n/config' // Theme color configuration const { diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 0be0d1a..89abdf1 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -24,7 +24,7 @@ const year = Number(startYear) === currentYear className, ]} > - + - +