From ca0ecf2467a3746571040425788085f73415fda9 Mon Sep 17 00:00:00 2001 From: benhur Date: Sat, 24 Aug 2024 13:19:53 +0530 Subject: [PATCH] adjusted the logo to be visible on dark and light mode and some padding adjustment and button positioning in the modal --- packages/nextjs/components/CheckInFlag.tsx | 26 ++++++++++--------- packages/nextjs/components/Footer.tsx | 2 +- .../components/assets/BatchMemberLogo.tsx | 10 ++++--- .../WrongNetworkDropdown.tsx | 2 +- 4 files changed, 22 insertions(+), 18 deletions(-) diff --git a/packages/nextjs/components/CheckInFlag.tsx b/packages/nextjs/components/CheckInFlag.tsx index 5ff272a..38b9e21 100644 --- a/packages/nextjs/components/CheckInFlag.tsx +++ b/packages/nextjs/components/CheckInFlag.tsx @@ -14,31 +14,33 @@ export const CheckInFlag = () => { }; return (
- +
-

You have successfully checked inπŸŽ‰

-

You have to yet check in 😌

+

You have successfully checked inπŸŽ‰

+

You have to yet check in 😌

-

You used the below contract to check in

-

{isCheckedIn}

+

You used the below contract to check in

+

{isCheckedIn}

-

Visit the github issue for the checkIn challenge

+

Visit the github issue for the checkIn challenge

-
{/* Conditionally renders the batch member logo is they are in the allow list */}
- +
)} diff --git a/packages/nextjs/components/assets/BatchMemberLogo.tsx b/packages/nextjs/components/assets/BatchMemberLogo.tsx index 761e020..6ed77a8 100644 --- a/packages/nextjs/components/assets/BatchMemberLogo.tsx +++ b/packages/nextjs/components/assets/BatchMemberLogo.tsx @@ -1,21 +1,23 @@ -export const BatchMemberLogo = ({ className }: { className: string }) => { +export const BatchMemberLogo = ({ classNameWord, className }: { classNameWord: string; className: string }) => { return ( diff --git a/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx b/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx index f9f0fd8..98698d9 100644 --- a/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx +++ b/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx @@ -6,7 +6,7 @@ export const WrongNetworkDropdown = () => { const { disconnect } = useDisconnect(); return ( -
+