diff --git a/apps/web/src/app/(home)/_components/customizable-section.tsx b/apps/web/src/app/(home)/_components/customizable-section.tsx deleted file mode 100644 index b30cb11..0000000 --- a/apps/web/src/app/(home)/_components/customizable-section.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { motion } from "motion/react"; -import StackBuilder from "./stack-builder"; - -export default function CustomizableSection() { - return ( -
-
- -

- - Roll Your Own Stack - -

-
- - -

- Build your perfect TypeScript stack. -

-
-
- - - - -
- ); -} diff --git a/apps/web/src/app/(home)/_components/stack-builder.tsx b/apps/web/src/app/(home)/new/_components/stack-builder.tsx similarity index 100% rename from apps/web/src/app/(home)/_components/stack-builder.tsx rename to apps/web/src/app/(home)/new/_components/stack-builder.tsx diff --git a/apps/web/src/app/(home)/new/layout.tsx b/apps/web/src/app/(home)/new/layout.tsx deleted file mode 100644 index 81b680b..0000000 --- a/apps/web/src/app/(home)/new/layout.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import type { Metadata } from "next"; -import type { ReactNode } from "react"; - -export const metadata: Metadata = { - title: "Stack Builder - Better-T-Stack", - description: "Interactive Ui to roll your own stack", - openGraph: { - title: "Stack Builder - Better-T-Stack", - description: "Interactive Ui to roll your own stack", - url: "https://better-t-stack.dev/new", - images: [ - { - url: "https://r2.better-t-stack.dev/og.png", - width: 1200, - height: 630, - alt: "Better-T-Stack Stack Builder", - }, - ], - }, - twitter: { - card: "summary_large_image", - title: "Stack Builder - Better-T-Stack", - description: "Interactive Ui to roll your own stack", - images: ["https://r2.better-t-stack.dev/og.png"], - }, -}; - -export default function NewLayout({ children }: { children: ReactNode }) { - return children; -} diff --git a/apps/web/src/app/(home)/new/page.tsx b/apps/web/src/app/(home)/new/page.tsx index bec25c1..ae7588f 100644 --- a/apps/web/src/app/(home)/new/page.tsx +++ b/apps/web/src/app/(home)/new/page.tsx @@ -1,9 +1,37 @@ -import StackBuilder from "../_components/stack-builder"; +import type { Metadata } from "next"; +import { Suspense } from "react"; +import StackBuilder from "./_components/stack-builder"; + +export const metadata: Metadata = { + title: "Stack Builder - Better-T-Stack", + description: "Interactive Ui to roll your own stack", + openGraph: { + title: "Stack Builder - Better-T-Stack", + description: "Interactive Ui to roll your own stack", + url: "https://better-t-stack.dev/new", + images: [ + { + url: "https://r2.better-t-stack.dev/og.png", + width: 1200, + height: 630, + alt: "Better-T-Stack Stack Builder", + }, + ], + }, + twitter: { + card: "summary_large_image", + title: "Stack Builder - Better-T-Stack", + description: "Interactive Ui to roll your own stack", + images: ["https://r2.better-t-stack.dev/og.png"], + }, +}; export default function FullScreenStackBuilder() { return ( -
- -
+ +
+ +
+
); }