diff --git a/.env.example b/.env.example index 7303185128..ba05492980 100644 --- a/.env.example +++ b/.env.example @@ -78,4 +78,4 @@ REACT_APP_GRANT_EXPLORER=https://explorer.gitcoin.co REACT_APP_COINGECKO_API_KEY= # --------------------------- -REACT_APP_STAKING_APP=https://staking-hub-mu.vercel.app +REACT_APP_STAKING_APP=https://boost.explorer.gitcoin.co/ diff --git a/packages/grant-explorer/src/features/common/DefaultLayout.tsx b/packages/grant-explorer/src/features/common/DefaultLayout.tsx index f1ddf69feb..056348ba7f 100644 --- a/packages/grant-explorer/src/features/common/DefaultLayout.tsx +++ b/packages/grant-explorer/src/features/common/DefaultLayout.tsx @@ -24,6 +24,30 @@ export function DefaultLayout({ ); } +export function RoundViewLayout({ + showWalletInteraction = true, + children, + infoCard, +}: LayoutProps & { infoCard?: React.ReactNode }) { + return ( +
+ + {infoCard && ( +
{infoCard}
+ )} +
+ {children} +
+
+ ); +} + export function GradientLayout({ showWalletInteraction = true, showAlloVersionBanner = false, diff --git a/packages/grant-explorer/src/features/common/Dropdown.tsx b/packages/grant-explorer/src/features/common/Dropdown.tsx index 96a591ce55..2a110d7b0c 100644 --- a/packages/grant-explorer/src/features/common/Dropdown.tsx +++ b/packages/grant-explorer/src/features/common/Dropdown.tsx @@ -9,6 +9,7 @@ type DropdownProps = PropsWithChildren<{ keepOpen?: boolean; renderItem: (p: { active: boolean; close: () => void } & T) => ReactElement; headerElement?: (close: () => void) => ReactElement; + labelClassName?: string; }>; export function Dropdown({ @@ -17,6 +18,7 @@ export function Dropdown({ keepOpen, renderItem, headerElement, + labelClassName, }: DropdownProps) { return ( @@ -24,7 +26,11 @@ export function Dropdown({ <>
- {label} + + {label} +