Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useDashboardStorageUpload } from "@3rdweb-sdk/react/hooks/useDashboardS
import { useQueryClient } from "@tanstack/react-query";
import { FileInput } from "components/shared/FileInput";
import { PINNED_FILES_QUERY_KEY_ROOT } from "components/storage/your-files";
import { FiUpload } from "react-icons/fi";
import { UploadIcon } from "lucide-react";
import { toast } from "sonner";

export const IconUpload: React.FC<{ onUpload: (url: string) => void }> = ({
Expand Down Expand Up @@ -50,7 +50,7 @@ export const IconUpload: React.FC<{ onUpload: (url: string) => void }> = ({
{storageUpload.isPending ? (
<Spinner className="size-3" />
) : (
<FiUpload className="size-3" />
<UploadIcon className="size-3" />
)}
</Button>
</FileInput>
Expand Down
15 changes: 4 additions & 11 deletions apps/dashboard/src/components/hackathon/HacakthonEarnFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Flex, Icon } from "@chakra-ui/react";
import { ChakraNextImage } from "components/Image";
import { useTrack } from "hooks/analytics/useTrack";
import { WandIcon } from "lucide-react";
import { FiSearch } from "react-icons/fi";
import { SearchIcon, WandIcon } from "lucide-react";
import { Heading, LinkButton } from "tw-components";

interface HackathonEarnFooterProps {
Expand Down Expand Up @@ -42,12 +40,7 @@ export const HackathonEarnFooter = ({
FEBRUARY 27 — MARCH 16
</Heading>

<Flex
alignItems="center"
justifyContent="center"
gap="20px"
flexWrap="wrap"
>
<div className="flex flex-row flex-wrap items-center justify-center gap-5">
<LinkButton
href="https://hackathons.deform.cc/thirdweb"
onClick={() =>
Expand Down Expand Up @@ -85,7 +78,7 @@ export const HackathonEarnFooter = ({
h="68px"
w={{ base: "90%", md: 80 }}
fontSize="20px"
leftIcon={<Icon as={FiSearch} />}
leftIcon={<SearchIcon className="size-5" />}
color="black"
flexShrink={0}
background="rgba(255,255,255,1)"
Expand All @@ -97,7 +90,7 @@ export const HackathonEarnFooter = ({
>
Submission
</LinkButton>
</Flex>
</div>
</div>
);
};
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/settings/ApiKeys/Alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
IconButton,
} from "@chakra-ui/react";
import { useLocalStorage } from "hooks/useLocalStorage";
import { FiX } from "react-icons/fi";
import { XIcon } from "lucide-react";
import { Text, TrackedLink } from "tw-components";

export const SmartWalletsBillingAlert = ({
Expand Down Expand Up @@ -66,7 +66,7 @@ export const SmartWalletsBillingAlert = ({
<IconButton
size="xs"
aria-label="Close notice"
icon={<FiX />}
icon={<XIcon className="size-4" />}
colorScheme="blackAlpha"
color="white"
variant="ghost"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
Box,
Container,
Flex,
Icon,
IconButton,
Link,
Portal,
Expand All @@ -20,17 +19,17 @@ import {
Tr,
} from "@chakra-ui/react";
import { Logo } from "components/logo";
import { UploadIcon } from "lucide-react";
import {
ChevronFirstIcon,
ChevronLastIcon,
ChevronLeftIcon,
ChevronRightIcon,
CircleAlertIcon,
UploadIcon,
} from "lucide-react";
import Papa from "papaparse";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { type DropzoneOptions, useDropzone } from "react-dropzone";
import { IoAlertCircleOutline } from "react-icons/io5";
import {
MdFirstPage,
MdLastPage,
MdNavigateBefore,
MdNavigateNext,
} from "react-icons/md";
import { type Column, usePagination, useTable } from "react-table";
import { resolveAddress } from "thirdweb/extensions/ens";
import { isAddress } from "thirdweb/utils";
Expand Down Expand Up @@ -340,7 +339,7 @@ const AirdropTable: React.FC<AirdropTableProps> = ({ data, portalRef }) => {
}
>
<div className="flex flex-row items-center gap-2">
<Icon as={IoAlertCircleOutline} color="red.500" boxSize={5} />
<CircleAlertIcon className="size-5 text-red-500" />
<Text fontWeight="bold" color="red.500" cursor="default">
{address}
</Text>
Expand Down Expand Up @@ -444,13 +443,13 @@ const AirdropTable: React.FC<AirdropTableProps> = ({ data, portalRef }) => {
<IconButton
isDisabled={!canPreviousPage}
aria-label="first page"
icon={<Icon as={MdFirstPage} />}
icon={<ChevronFirstIcon className="size-4" />}
onClick={() => gotoPage(0)}
/>
<IconButton
isDisabled={!canPreviousPage}
aria-label="previous page"
icon={<Icon as={MdNavigateBefore} />}
icon={<ChevronLeftIcon className="size-4" />}
onClick={() => previousPage()}
/>
<Text whiteSpace="nowrap">
Expand All @@ -460,13 +459,13 @@ const AirdropTable: React.FC<AirdropTableProps> = ({ data, portalRef }) => {
<IconButton
isDisabled={!canNextPage}
aria-label="next page"
icon={<Icon as={MdNavigateNext} />}
icon={<ChevronRightIcon className="size-4" />}
onClick={() => nextPage()}
/>
<IconButton
isDisabled={!canNextPage}
aria-label="last page"
icon={<Icon as={MdLastPage} />}
icon={<ChevronLastIcon className="size-4" />}
onClick={() => gotoPage(pageCount - 1)}
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
ChevronLastIcon,
ChevronLeftIcon,
ChevronRightIcon,
CircleAlert,
CircleAlertIcon,
UploadIcon,
} from "lucide-react";
import Papa from "papaparse";
Expand Down Expand Up @@ -302,7 +302,7 @@ const AirdropTable: React.FC<AirdropTableProps> = ({ data, portalRef }) => {
}
>
<div className="flex flex-row items-center gap-2">
<CircleAlert size={16} className="text-red-500" />
<CircleAlertIcon className="size-4 text-red-500" />
<div className="cursor-default font-bold text-red-500">
{address}
</div>
Expand Down
8 changes: 4 additions & 4 deletions apps/dashboard/src/pages/community/index.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { useForceDarkTheme } from "@/components/theme-provider";
import { Box, Container, Flex, Icon, SimpleGrid } from "@chakra-ui/react";
import { Box, Container, Flex, SimpleGrid } from "@chakra-ui/react";
import { ChakraNextImage } from "components/Image";
import { CommunityCard } from "components/community/CommunityCard";
import { HomepageFooter } from "components/footer/Footer";
import { Aurora } from "components/homepage/Aurora";
import { HomepageTopNav } from "components/product-pages/common/Topnav";
import { useTrack } from "hooks/analytics/useTrack";
import { ZapIcon } from "lucide-react";
import { NextSeo } from "next-seo";
import { PageId } from "page-id";
import { BsLightningCharge } from "react-icons/bs";
import { Heading, LinkButton, Text } from "tw-components";
import type { ThirdwebNextPage } from "utils/types";

Expand Down Expand Up @@ -162,7 +162,7 @@ const Community: ThirdwebNextPage = () => {
}}
color="#000"
fontSize="larger"
leftIcon={<Icon as={BsLightningCharge} />}
leftIcon={<ZapIcon className="size-4" />}
isExternal
noIcon
>
Expand Down Expand Up @@ -346,7 +346,7 @@ const Community: ThirdwebNextPage = () => {
}}
color="#000"
fontSize="larger"
leftIcon={<Icon as={BsLightningCharge} />}
leftIcon={<ZapIcon className="size-4" />}
isExternal
noIcon
>
Expand Down
Loading