feat: finish my pages overview page according to wireframe
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type ChallengesProps = {
|
||||
journeys: User["journeys"]
|
||||
victories: User["victories"]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type OverviewProps = {
|
||||
user: User
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type ShortcutsProps = {
|
||||
shortcuts: User["shortcuts"]
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
export type StayProps = {
|
||||
dateArrive: Date
|
||||
dateDepart: Date
|
||||
guests: number
|
||||
hotel: string
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { Stay, User } from "@/types/user"
|
||||
|
||||
export type StaysProps = {
|
||||
stays: User["stays"]
|
||||
}
|
||||
|
||||
export type StayProps = Stay
|
||||
Reference in New Issue
Block a user