feat:游戏启动自动置顶+聚焦
Some checks failed
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled

This commit is contained in:
2026-09-13 13:41:58 +08:00
parent 9b704919cf
commit 567184b061
9 changed files with 68 additions and 1574 deletions

View File

@ -5,8 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "pnpm contributors:sync && vue-tsc --noEmit && vite build",
"contributors:sync": "node ../../scripts/axolotl/sync-contributors.mjs",
"build": "vue-tsc --noEmit && vite build",
"tsc:check": "vue-tsc --noEmit",
"lint": "eslint . && prettier --check .",
"fix": "eslint . --fix && prettier --write .",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,4 @@
import contributorsData from './contributors.json'
import teamData from './team.json'
@ -10,7 +11,7 @@ export interface TeamMember {
export interface Contributor {
name: string
avatarUrl: string
avatar: string
url: string
contributions: number
}
@ -26,4 +27,9 @@ export const teamMembers: (TeamMember & { avatarUrl: string })[] = teamData.map(
avatarUrl: teamAvatarModules[`./avatars/${member.avatar}`],
}))
export const contributors = contributorsData as Contributor[]
export const contributors: (Contributor & { avatarUrl: string })[] = (
contributorsData as Contributor[]
).map((contributor) => ({
...contributor,
avatarUrl: teamAvatarModules[`./avatars/${contributor.avatar}`],
}))