From 3eba1e650ba41d57b1f8a63a60bcaf601591fef9 Mon Sep 17 00:00:00 2001 From: Kien Ngo Date: Tue, 24 Sep 2024 18:31:26 +0700 Subject: [PATCH] Update --- .../FTUX/components/GraphicContainer.tsx | 2 +- .../components/FTUX/components/Graphics.tsx | 2 +- .../src/components/buttons/MismatchButton.tsx | 9 +++---- .../components/buttons/TransactionButton.tsx | 16 ++++++------ .../src/components/chain-validation/index.tsx | 5 ++-- .../src/components/connect/Carousel.tsx | 15 ++++------- .../publisher/edit-profile.tsx | 25 +++++++++---------- .../contract-functions/contract-functions.tsx | 4 +-- .../contract-header/metadata-header.tsx | 6 ++--- .../engine/overview/engine-overview.tsx | 4 +-- .../engine/permissions/add-keypair-button.tsx | 4 +-- .../src/components/hackathon/common/Timer.tsx | 4 +-- .../hackathon/gaming/GameShowcase.tsx | 2 +- .../homepage/sections/GetStartedSection.tsx | 4 +-- .../homepage/sections/PricingCard.tsx | 6 ++--- .../src/components/ipfs-upload/dropzone.tsx | 6 ++--- apps/dashboard/src/components/logo/index.tsx | 2 +- .../product-pages/common/GameCard.tsx | 2 +- .../product-pages/common/GuideCard.tsx | 2 +- .../components/product-pages/common/Hero.tsx | 4 +-- .../settings/Account/Billing/CreditsItem.tsx | 4 +-- .../src/components/shared/TWQueryTable.tsx | 2 +- .../MiniPlayground.tsx | 8 +++--- .../components/account-signer.tsx | 4 +-- .../accounts/components/accounts-table.tsx | 2 +- .../claim-conditions-form/index.tsx | 4 +-- .../components/snapshot-upload.tsx | 16 ++++++------ .../tabs/listings/components/list-form.tsx | 2 +- .../tabs/nfts/components/airdrop-upload.tsx | 16 ++++++------ .../tabs/nfts/components/table.tsx | 2 +- .../components/MarketplaceDetails.tsx | 2 +- .../tabs/overview/components/NFTCards.tsx | 2 +- .../tabs/settings/components/metadata.tsx | 4 +-- .../shared-components/marketplace-table.tsx | 2 +- .../src/core-ui/batch-upload/batch-table.tsx | 2 +- .../src/core-ui/batch-upload/upload-step.tsx | 4 +-- apps/dashboard/src/pages/404.tsx | 4 +-- apps/dashboard/src/pages/community/index.tsx | 4 +-- apps/dashboard/src/pages/connect.tsx | 2 +- apps/dashboard/src/pages/contracts.tsx | 2 +- apps/dashboard/src/pages/engine.tsx | 2 +- apps/dashboard/src/pages/index.tsx | 2 +- apps/dashboard/src/pages/learn/index.tsx | 4 +-- apps/dashboard/src/pages/solutions/gaming.tsx | 4 +-- 44 files changed, 108 insertions(+), 116 deletions(-) diff --git a/apps/dashboard/src/components/FTUX/components/GraphicContainer.tsx b/apps/dashboard/src/components/FTUX/components/GraphicContainer.tsx index d6759d3f54a..8486998820a 100644 --- a/apps/dashboard/src/components/FTUX/components/GraphicContainer.tsx +++ b/apps/dashboard/src/components/FTUX/components/GraphicContainer.tsx @@ -21,7 +21,7 @@ export const GraphicContainer: React.FC = ({ const Graphic = slides[slideIndex].graphic; return ( -
+
{/* @to be completed */}
( export const ConnectWalletImage: React.FC = () => ( -
+
+
- +
Network Mismatch - +
@@ -487,7 +486,7 @@ const MismatchNotice: React.FC<{ Please manually switch the network in your wallet. )} - +
); }; diff --git a/apps/dashboard/src/components/buttons/TransactionButton.tsx b/apps/dashboard/src/components/buttons/TransactionButton.tsx index 6ee1837a2c0..3db84ab73aa 100644 --- a/apps/dashboard/src/components/buttons/TransactionButton.tsx +++ b/apps/dashboard/src/components/buttons/TransactionButton.tsx @@ -203,12 +203,12 @@ const ExternalApprovalNotice: React.FC = ({ if (walletId === "global.safe") { const isChainIdSupported = chainId in CHAIN_ID_TO_GNOSIS; return ( - +
- +
Execute Transaction - +
You will need to execute this transaction in your Safe to continue. @@ -233,17 +233,17 @@ const ExternalApprovalNotice: React.FC = ({ > Go To Safe - +
); } if (walletId === "walletConnect") { return ( - +
- +
Approve Transaction - +
You will need to approve this transaction in your connected wallet. @@ -255,7 +255,7 @@ const ExternalApprovalNotice: React.FC = ({ action will continue automatically. )} - +
); } diff --git a/apps/dashboard/src/components/chain-validation/index.tsx b/apps/dashboard/src/components/chain-validation/index.tsx index 6f0a2975363..2be587cb2d2 100644 --- a/apps/dashboard/src/components/chain-validation/index.tsx +++ b/apps/dashboard/src/components/chain-validation/index.tsx @@ -1,6 +1,5 @@ import { Code, - Flex, FormControl, Icon, Input, @@ -67,7 +66,7 @@ const ChainValidation: React.FC = () => { return ( - +
RPC URL @@ -177,7 +176,7 @@ const ChainValidation: React.FC = () => { )} - +
); }; diff --git a/apps/dashboard/src/components/connect/Carousel.tsx b/apps/dashboard/src/components/connect/Carousel.tsx index b5db5726de5..76599ba62a6 100644 --- a/apps/dashboard/src/components/connect/Carousel.tsx +++ b/apps/dashboard/src/components/connect/Carousel.tsx @@ -1,5 +1,5 @@ import "react-responsive-carousel/lib/styles/carousel.min.css"; -import { Box, Flex, SimpleGrid } from "@chakra-ui/react"; +import { Box, SimpleGrid } from "@chakra-ui/react"; import { ChakraNextImage } from "components/Image"; import { useTrack } from "hooks/analytics/useTrack"; import { useCallback, useEffect, useState } from "react"; @@ -68,12 +68,7 @@ const Carousel = ({ TRACKING_CATEGORY }: { TRACKING_CATEGORY: string }) => { }, [selectedShowCaseIdx, canAnimate]); return ( - +
{ ); })} - +
{showcaseImages.map((img, idx) => ( { priority /> ))} - - +
+
); }; diff --git a/apps/dashboard/src/components/contract-components/publisher/edit-profile.tsx b/apps/dashboard/src/components/contract-components/publisher/edit-profile.tsx index 21dc18dba9e..3b4ad58989c 100644 --- a/apps/dashboard/src/components/contract-components/publisher/edit-profile.tsx +++ b/apps/dashboard/src/components/contract-components/publisher/edit-profile.tsx @@ -3,7 +3,6 @@ import { useThirdwebClient } from "@/constants/thirdweb.client"; import { Box, - Flex, FormControl, Icon, Input, @@ -177,10 +176,10 @@ export const EditProfile: React.FC = ({ > - +
Avatar - +
= ({
- +
Bio - +