2022-02-18 08:56:42 +00:00
|
|
|
import type { ReactNode } from "react";
|
2022-02-17 06:05:50 +00:00
|
|
|
|
2022-02-18 08:56:42 +00:00
|
|
|
type LayoutProps = {
|
|
|
|
|
children: ReactNode;
|
|
|
|
|
};
|
|
|
|
|
export default function Layout({ children }: LayoutProps) {
|
2022-02-17 06:05:50 +00:00
|
|
|
return (
|
|
|
|
|
<>
|
2022-02-18 08:56:42 +00:00
|
|
|
<header className="py-5 px-20">
|
|
|
|
|
<h1 className="text-2xl">Mock SAML IdP</h1>
|
|
|
|
|
</header>
|
|
|
|
|
<main>{children}</main>
|
2022-02-17 06:05:50 +00:00
|
|
|
</>
|
2022-02-18 08:56:42 +00:00
|
|
|
);
|
|
|
|
|
}
|