Files
zhaoguiyang.site/src/pages/index.astro
joyzhao a18a0cdff1 feat(portfolio): replace skills section with about section and skills marquee
- Remove old skills data and components
- Add new about section with personal introduction and stats
- Implement animated skills marquee component
- Update navigation to reflect new section structure
2025-06-16 12:50:08 +08:00

27 lines
964 B
Plaintext

---
import Layout from "@/layouts/Layout.astro";
import GlassHeader from "@/components/GlassHeader";
import HeroSection from "@/components/HeroSection";
import AboutSection from "@/components/AboutSection";
import SkillsMarquee from "@/components/SkillsMarquee";
import ProjectsSection from "@/components/ProjectsSection";
import Footer from "@/components/Footer";
import { useTranslations, type Lang } from "@/i18n/utils";
import { defaultLang } from "@/i18n/ui";
const lang: Lang = defaultLang;
const t = useTranslations(lang);
const pageTitle = t('page.home.title');
---
<Layout title={pageTitle}>
<GlassHeader lang={lang} client:only="react" />
<main class="min-h-screen">
<HeroSection lang={lang} client:only="react" />
<SkillsMarquee lang={lang} client:only="react" />
<AboutSection lang={lang} client:only="react" />
<ProjectsSection lang={lang} client:only="react" />
</main>
<Footer lang={lang} client:only="react" />
</Layout>