feat(contact): add multilingual contact pages and dynamic configurations

- Created `src/pages/contact.astro` and `src/pages/zh/contact.astro` to support multilingual contact functionality.
- Introduced `contactIntents` and `contactMethods` dynamic configurations in `src/lib/data/contact.ts` for streamlined content management.
- Designed responsive and localized layouts with enhanced UX for both languages.
This commit is contained in:
zguiyang
2026-03-16 15:32:40 +08:00
parent 965ae613f8
commit ce6110588f
40 changed files with 3474 additions and 2547 deletions

View File

@@ -12,7 +12,7 @@ interface Props {
}
const lang = Astro.currentLocale as Lang || defaultLang;
const { title = "Rishikesh S - Portfolio", description = "My Portfolio" } =
const { title = "Joey Zhao - Portfolio", description = "Engineering-focused personal website" } =
Astro.props;
const t = useTranslations(lang);
---