Skip to content

Commit a9dbdca

Browse files
refactor(web): organize stack builder
1 parent ea3d8d9 commit a9dbdca

File tree

4 files changed

+32
-80
lines changed

4 files changed

+32
-80
lines changed

apps/web/src/app/(home)/_components/customizable-section.tsx

Lines changed: 0 additions & 46 deletions
This file was deleted.
File renamed without changes.

apps/web/src/app/(home)/new/layout.tsx

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,37 @@
1-
import StackBuilder from "../_components/stack-builder";
1+
import type { Metadata } from "next";
2+
import { Suspense } from "react";
3+
import StackBuilder from "./_components/stack-builder";
4+
5+
export const metadata: Metadata = {
6+
title: "Stack Builder - Better-T-Stack",
7+
description: "Interactive Ui to roll your own stack",
8+
openGraph: {
9+
title: "Stack Builder - Better-T-Stack",
10+
description: "Interactive Ui to roll your own stack",
11+
url: "https://better-t-stack.dev/new",
12+
images: [
13+
{
14+
url: "https://r2.better-t-stack.dev/og.png",
15+
width: 1200,
16+
height: 630,
17+
alt: "Better-T-Stack Stack Builder",
18+
},
19+
],
20+
},
21+
twitter: {
22+
card: "summary_large_image",
23+
title: "Stack Builder - Better-T-Stack",
24+
description: "Interactive Ui to roll your own stack",
25+
images: ["https://r2.better-t-stack.dev/og.png"],
26+
},
27+
};
228

329
export default function FullScreenStackBuilder() {
430
return (
5-
<div className="grid h-[calc(100vh-64px)] w-full flex-1 grid-cols-1 overflow-hidden">
6-
<StackBuilder />
7-
</div>
31+
<Suspense>
32+
<div className="grid h-[calc(100vh-64px)] w-full flex-1 grid-cols-1 overflow-hidden">
33+
<StackBuilder />
34+
</div>
35+
</Suspense>
836
);
937
}

0 commit comments

Comments
 (0)