feat: update mobile layout, fixes

This commit is contained in:
Andrea
2024-09-24 21:21:59 +02:00
parent 6d72ac0a56
commit bf0a411639
13 changed files with 76 additions and 65 deletions

1
app/hooks/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from "./useFormattedDate";

View File

@@ -0,0 +1,4 @@
export function useFormattedDate(_date: string) {
const date = new Date(_date)
return `${date.getUTCFullYear()}/${date.getUTCMonth()}/${date.getUTCDate()}`
}