import { firaMono, firaSans } from "@/app/[lang]/(live)/fonts"

import Header from "@/components/MyPages/Header"

import styles from "./layout.module.css"

import type { MyPagesLayoutProps } from "@/types/components/myPages/layout"

export default async function LoyaltyPagesLayout({
  children,
  params,
}: React.PropsWithChildren<MyPagesLayoutProps>) {
  return (
    <div
      className={`${firaMono.variable} ${firaSans.variable} ${styles.layout}`}
    >
      <Header lang={params.lang} />
      {children}
    </div>
  )
}
