Public Access
refactor(dashboard): load in useDashboardData, welcome and most played cards
This commit is contained in:
1 parent
05f4ca42e5
commit
6da612bebd
5 files changed
+230
-186
No files matched your search
@@ -57,6 +57,9 @@ export const DEFAULT_DASHBOARD = all(['GAME_COUNT', 'MOST_PLAYED', 'PLAYING', 'P
|
||||
export const DEFAULT_PROFILE = all(['SUMMARY', 'STATUS', 'PLAYING', 'FINISHED']);
|
||||
|
||||
export const SIZES = ['S', 'M', 'L'];
|
||||
// Games per dashboard tile size; the dashboard loads the most for the large tile.
|
||||
export const TOP_GAMES = {S: 3, M: 5, L: 10};
|
||||
export const PLAYING_GAMES = {S: 2, M: 4, L: 8};
|
||||
|
||||
// Written out, so Tailwind finds every class.
|
||||
const SPANS = {
|
||||
|
||||
Reference in new issue
Block a user