From 42500a3d1bcecf1d6e19429ca6bc037c39e4f30d Mon Sep 17 00:00:00 2001 From: Mahendra Bishnoi Date: Thu, 13 Jun 2024 10:47:29 +0530 Subject: [PATCH 1/2] fix icons alignment in wallets page --- .env.example | 33 --------------------------------- src/pages/wallets/index.tsx | 8 +++++++- 2 files changed, 7 insertions(+), 34 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index 8965068dce2..00000000000 --- a/.env.example +++ /dev/null @@ -1,33 +0,0 @@ -# rename this file to .env and supply the values listed below -# also make sure they are available to the build tool (e.g. Netlify) -# warning: variables prefixed with NEXT_PUBLIC_ will be made available to client-side code -# be careful not to expose sensitive data (e.g. your Algolia admin key) - -# Algolia environment (app ID, search key and base search index name required for search) -# NEXT_PUBLIC_ALGOLIA_APP_ID=insertValue -# NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=insertValue -# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue -# NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=insertValue - -# Etherscan API key (required for Etherscan API fetches) -# ETHERSCAN_API_KEY=insertValue - -# Google API key and Calendar ID (required to fetch Calendar events) -# GOOGLE_API_KEY= -# GOOGLE_CALENDAR_ID= - -# Matomo environment (URL and site ID required for analytics) -NEXT_PUBLIC_MATOMO_URL= -NEXT_PUBLIC_MATOMO_SITE_ID= - -# Used to avoid loading Matomo in our preview deploys -IS_PREVIEW_DEPLOY=false - -# Build pages only for the specified langs. Leave it empty to build all the langs -# e.g. `en,fr` will only build English and French pages -# Note: always include `en` as it is the default lang of the site -BUILD_LOCALES= - -# If resource constraints are being hit during builds, change LIMIT_CPUS to a -# fixed number of CPUs (e.g. 2) to limit the demand during build time -LIMIT_CPUS= \ No newline at end of file diff --git a/src/pages/wallets/index.tsx b/src/pages/wallets/index.tsx index b5495f63396..a922b1db6be 100644 --- a/src/pages/wallets/index.tsx +++ b/src/pages/wallets/index.tsx @@ -117,7 +117,12 @@ const ChecklistItem = (props: HorizontalCardProps) => ( span": { + marginTop: "6.20px !important", + display: "initial", + }, + }} mb={4} {...props} /> @@ -347,6 +352,7 @@ const WalletsPage = () => { emoji={type.emoji} description={type.description} emojiSize={2.5} + alignItems="center" /> ))} From b94f2605527ffb40507cd83c63731b19bdadf836 Mon Sep 17 00:00:00 2001 From: Mahendra Bishnoi Date: Tue, 18 Jun 2024 09:57:19 +0530 Subject: [PATCH 2/2] fix: emoji icons size --- .env.example | 33 +++++++++++++++++++++++++++++++++ src/pages/wallets/index.tsx | 8 ++------ 2 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 00000000000..8965068dce2 --- /dev/null +++ b/.env.example @@ -0,0 +1,33 @@ +# rename this file to .env and supply the values listed below +# also make sure they are available to the build tool (e.g. Netlify) +# warning: variables prefixed with NEXT_PUBLIC_ will be made available to client-side code +# be careful not to expose sensitive data (e.g. your Algolia admin key) + +# Algolia environment (app ID, search key and base search index name required for search) +# NEXT_PUBLIC_ALGOLIA_APP_ID=insertValue +# NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=insertValue +# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue +# NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=insertValue + +# Etherscan API key (required for Etherscan API fetches) +# ETHERSCAN_API_KEY=insertValue + +# Google API key and Calendar ID (required to fetch Calendar events) +# GOOGLE_API_KEY= +# GOOGLE_CALENDAR_ID= + +# Matomo environment (URL and site ID required for analytics) +NEXT_PUBLIC_MATOMO_URL= +NEXT_PUBLIC_MATOMO_SITE_ID= + +# Used to avoid loading Matomo in our preview deploys +IS_PREVIEW_DEPLOY=false + +# Build pages only for the specified langs. Leave it empty to build all the langs +# e.g. `en,fr` will only build English and French pages +# Note: always include `en` as it is the default lang of the site +BUILD_LOCALES= + +# If resource constraints are being hit during builds, change LIMIT_CPUS to a +# fixed number of CPUs (e.g. 2) to limit the demand during build time +LIMIT_CPUS= \ No newline at end of file diff --git a/src/pages/wallets/index.tsx b/src/pages/wallets/index.tsx index a922b1db6be..2d72ae2b94b 100644 --- a/src/pages/wallets/index.tsx +++ b/src/pages/wallets/index.tsx @@ -117,12 +117,8 @@ const ChecklistItem = (props: HorizontalCardProps) => ( span": { - marginTop: "6.20px !important", - display: "initial", - }, - }} + emojiSize={1.5} + alignItems="flex-start" mb={4} {...props} />