Skip to content

Commit 56fbe40

Browse files
Merge remote-tracking branch 'upstream/main' into twitter-card
2 parents a4347c6 + 0d5a0f4 commit 56fbe40

15 files changed

Lines changed: 619 additions & 240 deletions

File tree

apps/web/app/globals.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,8 @@
7878
transform: scale(2);
7979
width: fit-content;
8080
height: fit-content;
81-
}
81+
}
82+
83+
.roboto-flex {
84+
font-family: var(--font-roboto-flex), sans-serif;
85+
}

apps/web/app/layout.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { Metadata } from "next";
22
import localFont from "next/font/local";
3+
import { Roboto_Flex } from "next/font/google";
4+
35
import "./globals.css";
46

57
const geistSans = localFont({
@@ -10,7 +12,10 @@ const geistMono = localFont({
1012
src: "./fonts/GeistMonoVF.woff",
1113
variable: "--font-geist-mono",
1214
});
13-
15+
const robotoFlex = Roboto_Flex({
16+
subsets: ["latin"],
17+
variable: "--font-roboto-flex",
18+
});
1419
const keyworsSeo = [
1520
"postermaker",
1621
"interactive",
@@ -65,7 +70,7 @@ export default function RootLayout({
6570
content="Create stunning posters with Postermaker.dev, the interactive poster maker app. Design your own posters easily with our web-based tool."
6671
/>
6772
</head>
68-
<body className={`${geistSans.variable} ${geistMono.variable}`}>
73+
<body className={`${geistSans.variable} ${geistMono.variable} ${robotoFlex.variable}`}>
6974
{children}
7075
</body>
7176
</html>

apps/web/app/page.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,12 @@ const tabs = [
1616
{
1717
key: "chatgpt",
1818
label: "ChatGPT Card",
19-
},
19+
}
20+
// ,
2021
// {
2122
// key: "gradient",
2223
// label: "Gradient Card",
2324
// },
24-
{
25-
key: "twitter",
26-
label: "Twitter Card",
27-
}
2825
];
2926

3027
export default function Home() {
@@ -35,8 +32,7 @@ export default function Home() {
3532
<CardSizeProvider>
3633
{tab === "markdown" ? <QuizMarkdownEditor /> : null}
3734
{tab === "chatgpt" ? <ChatgptEditor /> : null}
38-
{/* {tab === "gradient" ? <GradientEditor /> : null} */}
39-
{tab === "twitter" ? <TwitterEditor /> : null}
35+
{/* {tab === "gradient" ? <GradientEditor /> : null} */}
4036
</CardSizeProvider>
4137
</MainHomeLayout>
4238
);

apps/web/components/chatgpt-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export default function ChatgptEditor() {
176176
value={text}
177177
name="text"
178178
onChange={(e) => setStateValue(e.target.name, e.target.value)}
179-
placeholder="Paste your markdown here..."
179+
placeholder="Paste your prompt here..."
180180
/>
181181

182182
<div className="flex flex-col mt-4 border p-2 rounded-md">

0 commit comments

Comments
 (0)