diff --git a/app/api/frames/createStamp/route.tsx b/app/api/frames/createStamp/route.tsx
new file mode 100644
index 0000000..29f3a78
--- /dev/null
+++ b/app/api/frames/createStamp/route.tsx
@@ -0,0 +1,27 @@
+import { Button, createFrames } from 'frames.js/next';
+
+const frames = createFrames({
+ basePath: '/api/frames/createStamp',
+});
+
+const handleRequest = frames(async (ctx) => {
+ console.log(ctx);
+
+ return {
+ image: (
+
+ ),
+ imageOptions: {
+ aspectRatio: '1:1',
+ },
+ buttons: [
+ ,
+ ],
+ };
+});
+
+export const POST = handleRequest;
diff --git a/app/page.tsx b/app/page.tsx
index 5acd83f..74b0f08 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -80,7 +80,11 @@ export default async function Home({ searchParams }: NextServerPageProps) {
- {!state.generated ? generate : null}
+ {!state.generated ? (
+
+ generate
+
+ ) : null}
{state.generated ? initialize : null}
{state.generated ? Mint : null}
{state.generated ? Share : null}