feat(WEB-128): desktop and mobile initial wireframe implemented

This commit is contained in:
Simon Emanuelsson
2024-03-18 17:24:17 +01:00
parent fd6c49ac7c
commit b173c2fb11
44 changed files with 957 additions and 19 deletions

View File

@@ -0,0 +1,23 @@
import { firaSans } from "@/app/[lang]/(live)/fonts"
import Header from "@/components/MyPages/Header"
import Sidebar from "@/components/MyPages/Sidebar"
import styles from "./layout.module.css"
import type { LangParams, LayoutArgs } from "@/types/params"
export default function MyPagesLayout({
children,
params,
}: React.PropsWithChildren<LayoutArgs<LangParams>>) {
return (
<section className={`${firaSans.variable} ${styles.page}`}>
<Header lang={params.lang} />
<section className={styles.content}>
<Sidebar />
<main>{children}</main>
</section>
</section>
)
}