refactor(data): move data exports to index file

Consolidate data exports from data.ts to index.ts for better organization and maintainability. Remove the now redundant data.ts file.
This commit is contained in:
joyzhao
2025-06-21 10:17:27 +08:00
parent 6d80b12855
commit d0fe30a5e3
8 changed files with 11 additions and 51 deletions

View File

@@ -1,5 +1,5 @@
import { type AuthorCardProps } from '@/types';
import { personalInfo } from '@/lib/data';
import { personalInfo } from '@/lib/data/index';
export default function AuthorCard({ lang, author }: AuthorCardProps) {
// Default author info based on personalInfo