feat(pages): add rewards page)

This commit is contained in:
shafin-r
2026-01-18 19:23:48 +06:00
parent ce1e35a3cf
commit 9fd3a7b0e2
5 changed files with 774 additions and 20 deletions

View File

@ -17,3 +17,15 @@ export function formatStatus(status: string) {
return status;
}
}
export function formatTimeFilter(time: string) {
switch (time) {
case "week":
return "Week";
case "month":
return "Month";
case "alltime":
return "All Time";
default:
return "Today";
}
}