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:
@@ -8,4 +8,4 @@ interface Props {
|
||||
const { defaultLang } = Astro.props;
|
||||
---
|
||||
|
||||
<LanguageSelectorComponent client:load defaultLang={defaultLang} />
|
||||
<LanguageSelectorComponent client:visible defaultLang={defaultLang} />
|
||||
|
Reference in New Issue
Block a user