23 lines
488 B
TypeScript
23 lines
488 B
TypeScript
import Sidebar from "@/components/MyPages/Sidebar"
|
|
|
|
import styles from "./layout.module.css"
|
|
|
|
export default async function MyPagesLayout({
|
|
breadcrumbs,
|
|
children,
|
|
}: React.PropsWithChildren<{
|
|
breadcrumbs: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<div className={styles.container}>
|
|
<section className={styles.layout}>
|
|
{breadcrumbs}
|
|
<section className={styles.content}>
|
|
<Sidebar />
|
|
{children}
|
|
</section>
|
|
</section>
|
|
</div>
|
|
)
|
|
}
|