Files
web/components/MyPages/Blocks/Overview/index.tsx
Michael Zetterberg 14e93eba7c chore: lint fix
2024-04-23 14:43:17 +02:00

25 lines
594 B
TypeScript

import Title from "@/components/MyPages/Title"
import Friend from "./Friend"
import Stats from "./Stats"
import styles from "./overview.module.css"
import type { OverviewProps } from "@/types/components/myPages/myPage/overview"
export default function Overview({ user }: OverviewProps) {
return (
<section className={styles.container}>
<header>
<Title as="h2" uppercase>
Good morning
</Title>
</header>
<section className={styles.overview}>
<Friend user={user} />
<Stats user={user} />
</section>
</section>
)
}