diff --git a/packages/frontpage/app/(app)/invite-only/page.tsx b/packages/frontpage/app/(app)/invite-only/page.tsx deleted file mode 100644 index bf10ef82..00000000 --- a/packages/frontpage/app/(app)/invite-only/page.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import { FRONTPAGE_ATPROTO_HANDLE } from "@/lib/constants"; -import { OpenInNewWindowIcon } from "@radix-ui/react-icons"; - -export default function ClosedBeta() { - return ( -
-

- Frontpage is in closed beta -

- -
-

- While we work out the kinks, participating on Frontpage is - invite-only. -

-

- Please DM us on Bluesky{" "} - - @frontpage.fyi - {" "} - and we'll invite you ASAP. Thanks! -

-

- Here's a list of things that are currently broken and/or - we're working on: -

- -
-
- ); -} diff --git a/packages/frontpage/app/(app)/layout.tsx b/packages/frontpage/app/(app)/layout.tsx index 9b3ff0cb..0c200083 100644 --- a/packages/frontpage/app/(app)/layout.tsx +++ b/packages/frontpage/app/(app)/layout.tsx @@ -2,7 +2,7 @@ import { deleteAuthCookie, getSession, signOut } from "@/lib/auth"; import Link from "next/link"; import { Suspense } from "react"; import { Button } from "@/lib/components/ui/button"; -import { isAdmin, isBetaUser } from "@/lib/data/user"; +import { isAdmin } from "@/lib/data/user"; import { OpenInNewWindowIcon } from "@radix-ui/react-icons"; import { ThemeToggle } from "./_components/theme-toggle"; import { @@ -34,7 +34,6 @@ export default async function Layout({ children: React.ReactNode; }) { const session = await getSession(); - const isInBeta = await isBetaUser(); return (
@@ -55,37 +54,6 @@ export default async function Layout({
- {session ? ( -
- - {isInBeta ? ( - <> - Thanks for joining the beta! There will be bugs! Please the - report them to{" "} - - @frontpage.fyi - - - ) : ( - <>You're not currently part of the beta - )} - - - {!isInBeta && ( - - )} -
- ) : null} -
{children}