Files
web/components/MyPages/Blocks/Overview/index.tsx
2024-04-12 16:25:52 +02:00

24 lines
593 B
TypeScript

import Friend from "./Friend"
import Stats from "./Stats"
import Title from "@/components/MyPages/Title"
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>
)
}