feat: onboarding

This commit is contained in:
2025-04-18 15:00:52 +00:00
parent 5d2d407659
commit e87b661f08
24 changed files with 408 additions and 139 deletions

View File

@ -63,3 +63,12 @@ export const messageSplit = (message: any) => {
export const shouldPreferDark = () => {
return window.matchMedia('(prefers-color-scheme: dark)').matches;
};
export const prettyPrint = (game: Game) => {
switch (game) {
case 'ongeki':
return 'O.N.G.E.K.I.';
case 'chunithm':
return 'CHUNITHM';
}
};