feat(docs): add NavGrid/NavCard components and restructure stage pages

- Add NavGrid.vue and NavCard.vue components for better navigation layout
- Restructure stage-0 index pages across languages into intro.md with new navigation components
- Remove old stage-0 index.md files and update stage-3 pages similarly
- Add new dependencies 'claude' and 'codex' to package.json
- Improve code formatting in multiple Vue components for better readability
- Update documentation content and structure for better user experience
This commit is contained in:
sanbuphy
2026-02-01 23:42:12 +08:00
parent a9a5c5c8a7
commit ad95658a11
171 changed files with 16366 additions and 7946 deletions
@@ -1,7 +1,11 @@
// auth-design 公共组件配置
// 生成按钮类名
export const getButtonClasses = (variant = 'primary', disabled = false, size = 'medium') => {
export const getButtonClasses = (
variant = 'primary',
disabled = false,
size = 'medium'
) => {
const base = 'auth-demo-btn'
const classes = [base]
@@ -83,7 +87,10 @@ export const getTableRowClasses = (highlight = false, index = 0) => {
}
// 生成图标容器类名
export const getIconContainerClasses = (size = 'medium', variant = 'default') => {
export const getIconContainerClasses = (
size = 'medium',
variant = 'default'
) => {
return `auth-icon-container auth-icon-container-${size} auth-icon-container-${variant}`
}