refactor: 🔥 Remove experimental warning

This commit is contained in:
Jesse Wierzbinski 2024-08-28 18:28:11 +02:00
parent 33c2015274
commit 4a6a1f07a0
No known key found for this signature in database
2 changed files with 0 additions and 23 deletions

View file

@ -1,21 +0,0 @@
import type { FC } from "react";
export const ExperimentalWarning: FC = () => (
<>
<aside className="pointer-events-none z-50 fixed inset-x-0 bottom-0 sm:flex sm:justify-start sm:px-6 sm:pb-5 lg:px-8">
<div className="pointer-events-auto flex items-center justify-between gap-x-6 bg-zinc-900 sm:dark:shadow-brand-600 shadow-glow px-6 py-2.5 sm:rounded-md ring-1 ring-white/10 sm:py-3 sm:pl-4 sm:pr-3.5">
<p className="text-sm leading-6 text-white">
<strong className="font-semibold">Warning!</strong>
<svg
viewBox="0 0 2 2"
className="mx-2 inline h-0.5 w-0.5 fill-current"
aria-hidden="true"
>
<circle cx={1} cy={1} r={1} />
</svg>
This site is experimental and under active development.
</p>
</div>
</aside>
</>
);

View file

@ -5,7 +5,6 @@ import Link from "next/link";
import { usePathname } from "next/navigation"; import { usePathname } from "next/navigation";
import type { ReactNode } from "react"; import type { ReactNode } from "react";
import { ExperimentalWarning } from "./ExperimentalWarning";
import { Footer } from "./Footer"; import { Footer } from "./Footer";
import { Header } from "./Header"; import { Header } from "./Header";
import { Logo } from "./Logo"; import { Logo } from "./Logo";
@ -43,7 +42,6 @@ export function Layout({
<Footer /> <Footer />
</div> </div>
</div> </div>
<ExperimentalWarning />
</SectionProvider> </SectionProvider>
); );
} }