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,6 +1,6 @@
import { useTranslations } from "@/i18n/utils";
import type { Lang } from "@/types/i18n";
import { personalInfo } from "@/lib/data";
import { personalInfo } from "@/lib/data/index";
import { motion } from "framer-motion";
import { useState, useEffect } from "react";
import { defaultLang } from "@/i18n/ui";