diff --git a/src/components/pages/migrate/MigrationNamesList.tsx b/src/components/pages/migrate/MigrationNamesList.tsx index 174d15d49..fa34762d4 100644 --- a/src/components/pages/migrate/MigrationNamesList.tsx +++ b/src/components/pages/migrate/MigrationNamesList.tsx @@ -8,13 +8,16 @@ import { CheckCircleSVG, Colors, DisabledSVG, PlusCircleSVG } from '@ensdomains/ import { ensAvatarConfig } from '@app/utils/query/ipfsGateway' import { formatDurationOfDates } from '@app/utils/utils' -const icons: Record = { +type Tab = 'eligible' | 'ineligible' | 'approved' | 'claimed' + +const icons: Record = { eligible: , ineligible: , approved: , + claimed: , } -const colors: Record = { +const colors: Record = { eligible: { fg: 'bluePrimary', bg: 'blueSurface', @@ -30,6 +33,11 @@ const colors: Record = { bg: 'greenSurface', hover: 'greenLight', }, + claimed: { + fg: 'greenPrimary', + bg: 'greenSurface', + hover: 'greenLight', + }, } const Container = styled.div( @@ -113,7 +121,7 @@ const NameCard = styled.div( `, ) -const nameListTabs = ['eligible', 'ineligible', 'approved'] as const +const nameListTabs = ['eligible', 'ineligible', 'approved', 'claimed'] as const export type NameListTab = (typeof nameListTabs)[number] diff --git a/src/components/pages/migrate/MigrationTab.tsx b/src/components/pages/migrate/MigrationTab.tsx index 395c9d279..45ce7991f 100644 --- a/src/components/pages/migrate/MigrationTab.tsx +++ b/src/components/pages/migrate/MigrationTab.tsx @@ -540,6 +540,17 @@ const ExtensionTab = ({ + {/* {match({ isConnected, allNamesAreApproved }) + .with({ isConnected: true, allNamesAreApproved: true }, () => ( + + )) + .with({ isConnected: false }, () => null) + .exhaustive()} */} )