diff --git a/app/layout.tsx b/app/layout.tsx index e156118..a29bffb 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -10,7 +10,7 @@ import type { ReactNode } from "react"; export const metadata: Metadata = { title: { - template: "%s - Lysand API Reference", + template: "%s • Lysand API Reference", default: "Lysand API Reference", }, }; diff --git a/components/ExperimentalWarning.tsx b/components/ExperimentalWarning.tsx new file mode 100644 index 0000000..2ec1bda --- /dev/null +++ b/components/ExperimentalWarning.tsx @@ -0,0 +1,22 @@ +import type { FC } from "react"; + +export const ExperimentalWarning: FC = () => ( + <> +
+
+

+ Warning! + + This is a testing site used for development, not a finished + page. +

+
+
+ +); diff --git a/components/Layout.tsx b/components/Layout.tsx index b07de15..fd50fa1 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -5,6 +5,7 @@ import Link from "next/link"; import { usePathname } from "next/navigation"; import type { ReactNode } from "react"; +import { ExperimentalWarning } from "./ExperimentalWarning"; import { Footer } from "./Footer"; import { Header } from "./Header"; import { Logo } from "./Logo"; @@ -42,6 +43,7 @@ export function Layout({