From 32184b1b41222209a7e32de6e03766166a8ca905 Mon Sep 17 00:00:00 2001 From: v1rtl Date: Thu, 24 Oct 2024 16:34:12 +0300 Subject: [PATCH] wip extension rebates --- public/locales/en/migrate.json | 6 +++++- src/pages/migrate.tsx | 33 +++++++++++++++++++++++++++------ 2 files changed, 32 insertions(+), 7 deletions(-) diff --git a/public/locales/en/migrate.json b/public/locales/en/migrate.json index 292014386..51a95130c 100644 --- a/public/locales/en/migrate.json +++ b/public/locales/en/migrate.json @@ -1,7 +1,11 @@ { "title": { "landing": "ENSv2: The Next Generation of ENS", - "migration": "Upgrade to ENSv2 Seamlessly" + "migration": "Upgrade to ENSv2 Seamlessly", + "extension": { + "part1": "Extend names for", + "part2": "Governance Power" + } }, "caption": { "ensv2": "Approve your ENS names for ENSv2 now and enjoy automatic migration, paid for by ENS DAO.", diff --git a/src/pages/migrate.tsx b/src/pages/migrate.tsx index 3af53220c..38956a0ee 100644 --- a/src/pages/migrate.tsx +++ b/src/pages/migrate.tsx @@ -63,6 +63,14 @@ const Heading = styled.h1( color: ${theme.colors.textPrimary}; text-align: center; line-height: 104%; + & > span { + font-weight: inherit; + font-size: inherit; + line-height: inherit; + background: linear-gradient(90deg, #199c75 2.87%, #9b9ba7 97.95%); + background-clip: text; + -webkit-text-fill-color: transparent; + } @media (min-width: 360px) { font-size: 60px; } @@ -321,9 +329,19 @@ export default function Page() { {t('caption.migration')} )) - .otherwise(() => ( -
bloop
- ))} + .with('extension', () => ( + <> + + + {t('title.extension.part1')} {t('title.extension.part2')} + + + + {t('title.extension.part1')} {t('title.extension.part2')} + + + )) + .exhaustive()} {match(currentTab) .with('ensv2', () => ( @@ -385,9 +403,12 @@ export default function Page() { {isConnected ? t('cta.begin') : t('cta.unconnected')} )) - .otherwise(() => ( -
bloop
- ))} + .with('extension', () => ( + + )) + .exhaustive()}