feat:游戏启动自动置顶+聚焦

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

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}`],
}))