Update LanguageSelector and development page components for improved client behavior

- Changed LanguageSelectorComponent to use client:visible for better loading performance.
- Updated CollapsibleIntro and ContributionCalendar components to utilize client:visible, enhancing user experience by ensuring they load only when in view.
This commit is contained in:
2025-06-07 16:58:32 +02:00
parent 73ec3b5120
commit a4c02a712c
3 changed files with 4 additions and 4 deletions

View File

@@ -8,4 +8,4 @@ interface Props {
const { defaultLang } = Astro.props;
---
<LanguageSelectorComponent client:load defaultLang={defaultLang} />
<LanguageSelectorComponent client:visible defaultLang={defaultLang} />