refactor(i18n): move Lang type to types/i18n directory

Update import paths for Lang type across layout files to use new location
Add umami analytics script in production mode
This commit is contained in:
joyzhao
2025-06-21 22:30:44 +08:00
parent 3b9e0465e4
commit 710ce9ba39
4 changed files with 8 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
---
import Layout from './Layout.astro';
import type { MarkdownLayoutProps } from 'astro';
import { type Lang } from '@/i18n/utils';
import { type Lang } from '@/types/i18n';
import { type FrontmatterProps } from '@/types';
import { defaultLang } from '@/i18n/ui';
import GlassHeader from '@/components/GlassHeader';