feat(services): add services section with outsourcing and bugfix cards

Add new services section to showcase outsourcing projects and bug fixing services
Update i18n translations for services section
Change hero section link from projects to about
Remove personalInfo import and use translation for name in footer
This commit is contained in:
joyzhao
2025-06-16 17:29:35 +08:00
parent a18a0cdff1
commit 1354ffab58
5 changed files with 194 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
import { personalInfo } from "@/lib/data";
import { useTranslations, type Lang } from "@/i18n/utils";
import { motion } from "framer-motion";
@@ -22,7 +21,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()} {personalInfo.name}. {t('footer.rights')}
© {new Date().getFullYear()} {t('personal.name')}. {t('footer.rights')}
</motion.p>
<motion.p
className="text-sm text-muted-foreground mt-2 md:mt-0 text-center md:text-left"

View File

@@ -84,7 +84,7 @@ export default function HeroSection({ lang }: { lang: "en" | "zh" }) {
variants={childVariants}
>
<motion.a
href="#projects"
href="#about"
className="bg-purple-500 hover:bg-purple-600 text-white px-8 py-3 rounded-lg font-semibold transition-colors flex items-center gap-2"
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}