Files
gitlab-instance-0a899031_no…/app/vip/components/VipLayout.tsx
2026-03-11 23:47:45 -05:00

21 lines
499 B
TypeScript

"use client";
import { type ReactNode } from "react";
import { VipHeader } from "./VipHeader";
import styles from "./vip.module.css";
type VipLayoutProps = {
children: ReactNode;
isLoggedIn: boolean;
userName?: string | null;
};
export function VipLayout({ children, isLoggedIn, userName }: VipLayoutProps) {
return (
<div className={styles.root}>
<VipHeader isLoggedIn={isLoggedIn} userName={userName} />
<main className={styles.main}>{children}</main>
</div>
);
}