refactor: 调整语言类型导入顺序,删除无用的临时博客文章

This commit is contained in:
joyzhao
2026-01-08 17:30:49 +08:00
parent eda4430fa5
commit 4a4fd423b2
2 changed files with 2 additions and 48 deletions

View File

@@ -5,7 +5,8 @@ import CategoryCard from '../../../components/blog/CategoryCard.astro';
import TagCard from '../../../components/blog/TagCard.astro';
import Container from '../../../components/ui/Container';
import { type BlogPost } from '@/types';
import { type Lang, useTranslations } from '@/i18n/utils';
import { useTranslations } from '@/i18n/utils';
import { type Lang } from '@/types/i18n';
import { defaultLang } from '@/i18n/ui';
import { sortPostsByDate, extractCategories, extractTags } from '@/utils/blog-utils';