2023-07-10 10:13:06 +00:00
|
|
|
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) {
|
2024-08-05 23:31:15 +02:00
|
|
|
const setupModeActive = process.env.SETUP_MODE === "true";
|
|
|
|
|
|
|
|
|
|
return (
|
2024-08-07 12:02:33 +02:00
|
|
|
<InternalLayout
|
|
|
|
|
setupModeActive={setupModeActive}
|
|
|
|
|
>
|
2024-08-05 23:31:15 +02:00
|
|
|
{children}
|
|
|
|
|
</InternalLayout>
|
|
|
|
|
);
|
2023-07-10 10:13:06 +00:00
|
|
|
}
|