Skip to content

Commit a4347c6

Browse files
Added new feature
1 parent 3d31001 commit a4347c6

5 files changed

Lines changed: 3190 additions & 2047 deletions

File tree

apps/web/app/page.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import React, { useState } from "react";
44
import "./page.module.css";
55
import QuizMarkdownEditor from "../components/markdown-editor";
66
import ChatgptEditor from "../components/chatgpt-editor";
7+
import TwitterEditor from "../components/twitter-editor";
78
import GradientEditor from "../components/gradient-editor";
89
import { CardSizeProvider } from "@repo/ui/context/CardSizeContext";
910

@@ -15,12 +16,15 @@ const tabs = [
1516
{
1617
key: "chatgpt",
1718
label: "ChatGPT Card",
18-
}
19-
// ,
19+
},
2020
// {
2121
// key: "gradient",
2222
// label: "Gradient Card",
2323
// },
24+
{
25+
key: "twitter",
26+
label: "Twitter Card",
27+
}
2428
];
2529

2630
export default function Home() {
@@ -31,8 +35,9 @@ export default function Home() {
3135
<CardSizeProvider>
3236
{tab === "markdown" ? <QuizMarkdownEditor /> : null}
3337
{tab === "chatgpt" ? <ChatgptEditor /> : null}
34-
{/* {tab === "gradient" ? <GradientEditor /> : null} */}
38+
{/* {tab === "gradient" ? <GradientEditor /> : null} */}
39+
{tab === "twitter" ? <TwitterEditor /> : null}
3540
</CardSizeProvider>
3641
</MainHomeLayout>
3742
);
38-
}
43+
}

0 commit comments

Comments
 (0)