From c6d94c2a57839f573bd4e67e3bb19a989454cba7 Mon Sep 17 00:00:00 2001 From: v1rtl Date: Sat, 9 Nov 2024 21:53:01 +0200 Subject: [PATCH] qa --- src/pages/ens-v2.tsx | 57 ++++++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 20 deletions(-) diff --git a/src/pages/ens-v2.tsx b/src/pages/ens-v2.tsx index 184fecce8..8edcefeda 100644 --- a/src/pages/ens-v2.tsx +++ b/src/pages/ens-v2.tsx @@ -7,20 +7,20 @@ import { Button, Card, GasPumpSVG, - InfoCircleSVG, + // InfoCircleSVG, KeySVG, - QuestionBubbleSVG, - QuestionCircleSVG, - RightArrowSVG, - SpannerAltSVG, + // QuestionBubbleSVG, + // QuestionCircleSVG, + // RightArrowSVG, + // SpannerAltSVG, Typography, WalletSVG, } from '@ensdomains/thorin' import { Carousel } from '@app/components/pages/migrate/Carousel' -import DAOSVG from '../assets/DAO.svg' -import SocialX from '../assets/social/SocialX.svg' +// import DAOSVG from '../assets/DAO.svg' +// import SocialX from '../assets/social/SocialX.svg' const Title = styled.h1` font-weight: 830; @@ -55,7 +55,7 @@ const Main = styled.main( `, ) -const PartnershipAnnouncement = styled.div( +/* const PartnershipAnnouncement = styled.div( ({ theme }) => css` width: ${theme.space.full}; padding: ${theme.space['4']}; @@ -79,9 +79,9 @@ const PartnershipAnnouncement = styled.div( border-radius: ${theme.radii['3xLarge']}; } `, -) +) */ -const Footer = styled.div( +/* const Footer = styled.div( ({ theme }) => css` display: flex; flex-direction: column; @@ -116,7 +116,7 @@ const Footer = styled.div( } } `, -) +) */ const AnnouncementBanner = styled.div( ({ theme }) => css` @@ -133,7 +133,7 @@ const AnnouncementBanner = styled.div( `, ) -const TopNav = styled.div( +/* const TopNav = styled.div( ({ theme }) => css` display: flex; flex-direction: column; @@ -144,7 +144,7 @@ const TopNav = styled.div( left: 0; z-index: 1; `, -) +) */ const CenteredCard = styled(Card)` display: flex; @@ -182,9 +182,17 @@ const CardHeader = styled.h3( `, ) -const AnnouncementSlide = ({ title, text }: { title: string; text: string }) => ( +const AnnouncementSlide = ({ + title, + text, + href = '#', +}: { + title: string + text: string + href?: string +}) => ( - + {text} @@ -213,14 +221,14 @@ export default function ENSv2() { const { t } = useTranslation('ensv2') return (
- + {/* {t('partnership.text')} {t('partnership.watch')} - + */}
{t('title')} {t('caption')} @@ -250,7 +258,14 @@ export default function ENSv2() { {t('accessible.title')} {t('accessible.caption')} - @@ -288,14 +303,16 @@ export default function ENSv2() { - */}
) }