feat(WEB-250): overview hero final ui
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type OverviewProps = {
|
||||
title: string | null
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type QualifyingPointsProps = {
|
||||
user: User
|
||||
}
|
||||
@@ -1,13 +1,11 @@
|
||||
import { ReactNode } from "react"
|
||||
|
||||
export type ShortcutsProps = {
|
||||
openInNewTab?: boolean
|
||||
shortcuts: {
|
||||
url: string
|
||||
title: string
|
||||
openInNewTab?: boolean
|
||||
text?: string
|
||||
}[]
|
||||
title: string | ReactNode
|
||||
subtitle?: string | null
|
||||
openInNewTab?: boolean
|
||||
subtitle: string | null
|
||||
title: string | null
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type StatsProps = {
|
||||
user: User
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type TotalPointsProps = {
|
||||
user: User
|
||||
}
|
||||
@@ -2,5 +2,5 @@ import { Stay } from "@/server/routers/user/output"
|
||||
|
||||
export type Page = {
|
||||
data: Stay[]
|
||||
nextCursor?: number
|
||||
nextCursor?: string
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export type HeaderProps = {
|
||||
title: string | null
|
||||
subtitle: string | null
|
||||
link?: { href: string; text: string }
|
||||
subtitle: string | null
|
||||
title: string | null
|
||||
topTitle?: boolean
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
import { headingVariants } from "@/components/Title/variants"
|
||||
|
||||
import type { VariantProps } from "class-variance-authority"
|
||||
|
||||
type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6"
|
||||
|
||||
export interface HeadingProps
|
||||
extends React.HTMLAttributes<HTMLHeadingElement>,
|
||||
VariantProps<typeof headingVariants> {
|
||||
as?: HeadingLevel
|
||||
level?: HeadingLevel
|
||||
uppercase?: boolean
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type FriendProps = {
|
||||
export interface UserProps {
|
||||
user: User
|
||||
}
|
||||
Reference in New Issue
Block a user