refactor: simplify personal info and remove unused components

- Replace translation-based personal info with direct values
- Remove unused HeroSection, AboutSection, and ProjectsSection components
- Clean up i18n translations to only keep essential navigation items
This commit is contained in:
joyzhao
2025-06-16 18:32:43 +08:00
parent 1354ffab58
commit 1ace97c5e1
8 changed files with 1062 additions and 978 deletions

View File

@@ -1,4 +1,5 @@
import { useTranslations, type Lang } from "@/i18n/utils";
import { personalInfo } from "@/lib/data";
import { motion } from "framer-motion";
interface FooterProps {
@@ -21,7 +22,7 @@ export default function Footer({ lang }: FooterProps) {
className="text-sm text-muted-foreground text-center md:text-left"
whileHover={{ scale: 1.01 }}
>
© {new Date().getFullYear()} {t('personal.name')}. {t('footer.rights')}
© {new Date().getFullYear()} { personalInfo.name }. {t('footer.rights')}
</motion.p>
<motion.p
className="text-sm text-muted-foreground mt-2 md:mt-0 text-center md:text-left"