From ca5eeb7bdeccb1c206a7ff9618afc9a26166f651 Mon Sep 17 00:00:00 2001 From: Julien Genestoux Date: Fri, 2 Feb 2024 18:46:31 -0500 Subject: [PATCH] updated layout --- src/app/layout.tsx | 23 ++++++- src/app/new/Form.tsx | 141 ++++++++++++++++++++++------------------- src/app/new/NavBar.tsx | 13 +--- src/app/new/layout.tsx | 2 +- src/app/new/page.tsx | 2 +- src/app/page.tsx | 25 ++------ 6 files changed, 107 insertions(+), 99 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index fdf5aac..7c5d850 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,6 +2,7 @@ import type { Metadata } from "next"; import { Inter } from "next/font/google"; import "./globals.css"; import { AppConfig } from "./AppConfig"; +import Link from "next/link"; const inter = Inter({ subsets: ["latin"] }); @@ -18,7 +19,27 @@ export default function RootLayout({ return ( -
{children}
+
{children}
+ ); diff --git a/src/app/new/Form.tsx b/src/app/new/Form.tsx index d79dfb8..6585a37 100644 --- a/src/app/new/Form.tsx +++ b/src/app/new/Form.tsx @@ -6,6 +6,7 @@ import { useFormState } from "react-dom"; import { useAccount } from "wagmi"; import { useRouter } from "next/navigation"; import { useEffect } from "react"; +import Link from "next/link"; export const Form = () => { const { push } = useRouter(); @@ -25,77 +26,87 @@ export const Form = () => { }, [frame, push]); return ( -
- +
+

+ Please complete the following form! You can use any ERC721 contract, + including Unlock Protocol's{" "} + + Membership contracts + + ! +

+ + -
- - -
+
+ + +
-
- -