From 4e4452a881a2dd30b41081cdfbffcc11a17f3ab1 Mon Sep 17 00:00:00 2001 From: Luc Date: Sat, 27 Jan 2024 14:15:01 +0000 Subject: [PATCH] Introduce Partial POAP Redemption Support --- app/[slug]/page.tsx | 10 +- app/layout.tsx | 2 +- components/POAPModal/POAPModal.tsx | 103 +++++++++++++++--- components/POAPModal/SPOAPModal.tsx | 7 +- components/POAPModal/settings.tsx | 1 + components/POAPModal/stages/MintToProfile.tsx | 82 ++++++++++++++ components/POAPModal/stages/NameInput.tsx | 80 ++++++++++++++ .../POAPModal/stages/PendingApproval.tsx | 15 +++ components/Records/records.tsx | 5 +- hooks/useIYKRef.ts | 2 +- package.json | 2 +- pnpm-lock.yaml | 16 +-- 12 files changed, 292 insertions(+), 33 deletions(-) create mode 100644 components/POAPModal/settings.tsx create mode 100644 components/POAPModal/stages/MintToProfile.tsx create mode 100644 components/POAPModal/stages/NameInput.tsx create mode 100644 components/POAPModal/stages/PendingApproval.tsx diff --git a/app/[slug]/page.tsx b/app/[slug]/page.tsx index 6da11c6..c58586b 100644 --- a/app/[slug]/page.tsx +++ b/app/[slug]/page.tsx @@ -73,11 +73,17 @@ export default async function ({ name={enstate.name} /> )} - {iykData && } + {iykData && ( + + )}
Site by{' '} diff --git a/app/layout.tsx b/app/layout.tsx index ca20927..0caaecc 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -15,7 +15,7 @@ export default function RootLayout({ return ( {children} -