build(#10336): load locales and vite config

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-03-20 14:56:34 +09:00
parent 91e0e498eb
commit 0dcb99df19
441 changed files with 1365 additions and 15 deletions

View File

@@ -443,11 +443,13 @@ export const ACHIEVEMENT_BADGES = {
bg: 'linear-gradient(0deg, rgb(144, 224, 255), rgb(255, 168, 252))',
frame: 'bronze',
},
/*
} as const satisfies Record<typeof ACHIEVEMENT_TYPES[number], {
img: string;
bg: string | null;
frame: 'bronze' | 'silver' | 'gold' | 'platinum';
}>;
*/ } as const;
export const claimedAchievements: typeof ACHIEVEMENT_TYPES[number][] = ($i && $i.achievements) ? $i.achievements.map(x => x.name) : [];