23 lines
482 B
TypeScript
23 lines
482 B
TypeScript
import { ReactNode } from "react";
|
|
import { Metadata } from "next";
|
|
import { InternalLayout } from "./_components/InternalLayout";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Link",
|
|
};
|
|
|
|
type LayoutProps = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
export default function Layout({ children }: LayoutProps) {
|
|
const setupModeActive = process.env.SETUP_MODE === "true";
|
|
|
|
return (
|
|
<InternalLayout
|
|
setupModeActive={setupModeActive}
|
|
>
|
|
{children}
|
|
</InternalLayout>
|
|
);
|
|
}
|