feat(i18n): add multilingual support for all sections
Implement internationalization across all components by adding lang prop and translation keys Update data structure to use translation keys instead of hardcoded text Add comprehensive English and Chinese translations in ui.ts
This commit is contained in:
@@ -16,12 +16,12 @@ const lang = getLangFromUrl(Astro.url);
|
||||
<Layout title="Home" lang={lang}>
|
||||
<GlassHeader lang={lang} client:only="react" />
|
||||
<main class="min-h-screen">
|
||||
<HeroSection client:only="react" />
|
||||
<ExperienceSection client:only="react" />
|
||||
<SkillsSection client:only="react" />
|
||||
<ProjectsSection client:only="react" />
|
||||
<AwardsSection client:only="react" />
|
||||
<EducationSection client:only="react" />
|
||||
<HeroSection lang={lang} client:only="react" />
|
||||
<ExperienceSection lang={lang} client:only="react" />
|
||||
<SkillsSection lang={lang} client:only="react" />
|
||||
<ProjectsSection lang={lang} client:only="react" />
|
||||
<AwardsSection lang={lang} client:only="react" />
|
||||
<EducationSection lang={lang} client:only="react" />
|
||||
</main>
|
||||
<Footer lang={lang} client:only="react" />
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user