Skip to content

docs(projects): header support language switch #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

Azir-11
Copy link
Member

@Azir-11 Azir-11 commented Mar 25, 2025

尝试支持了一下header的语言切换,第一次写vitepress的组件,不知是否可以这样实现,部分效果(item的disable之类)在当前的SDropdownMenu貌似没有支持,后续更新组件后可以继续优化,主要实现了对locales配置的自适应支持,跳转对应语言的对应页面

@honghuangdc honghuangdc merged commit ff6f4c6 into soybeanjs:main Mar 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants