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 @@ -14,9 +14,9 @@ import { ContractFunctionsOverview } from "components/contract-functions/contrac
import { format } from "date-fns/format";
import { correctAndUniqueLicenses } from "lib/licenses";
import { replaceIpfsUrl } from "lib/sdk";
import { ShieldCheckIcon } from "lucide-react";
import { useMemo } from "react";
import { BiPencil } from "react-icons/bi";
import { BsShieldCheck } from "react-icons/bs";
import { VscBook, VscCalendar, VscServer } from "react-icons/vsc";
import type { ThirdwebClient } from "thirdweb";
import { useActiveAccount } from "thirdweb/react";
Expand Down Expand Up @@ -181,7 +181,7 @@ export const PublishedContract: React.FC<PublishedContractProps> = ({
{publishedContract?.audit && (
<ListItem>
<Flex gap={2} alignItems="flex-start">
<Icon as={BsShieldCheck} boxSize={5} color="green" />
<ShieldCheckIcon className="size-5 text-green-500" />
<Flex direction="column" gap={1}>
<Heading as="h5" size="label.sm">
Audit Report
Expand Down
7 changes: 3 additions & 4 deletions apps/dashboard/src/components/hackathon/HackathonFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Flex, Icon } from "@chakra-ui/react";
import { Flex } 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 HackathonFooterProps {
Expand Down Expand Up @@ -81,7 +80,7 @@ export const HackathonFooter = ({
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 Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Flex, Icon, SimpleGrid } from "@chakra-ui/react";
import { Flex, SimpleGrid } from "@chakra-ui/react";
import { ChakraNextImage } from "components/Image";
import { HomepageSection } from "components/product-pages/homepage/HomepageSection";
import { ZapIcon } from "lucide-react";
import { useEffect, useState } from "react";
import { BsFillLightningChargeFill } from "react-icons/bs";
import { Heading, Text, TrackedLink, TrackedLinkButton } from "tw-components";
import { getCookie } from "../../../stores/SyncStoreToCookies";
import { Aurora } from "../Aurora";
Expand Down Expand Up @@ -153,7 +153,7 @@ function GetStartedButtonLink(props: {

return (
<TrackedLinkButton
leftIcon={<Icon as={BsFillLightningChargeFill} boxSize={4} />}
leftIcon={<ZapIcon className="size-4 fill-black" />}
py={6}
px={8}
w="full"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Container, Flex, Icon, SimpleGrid } from "@chakra-ui/react";
import { Container, Flex, SimpleGrid } from "@chakra-ui/react";
import { ChakraNextImage } from "components/Image";
import { LandingDesktopMobileImage } from "components/landing-pages/desktop-mobile-image";
import { ZapIcon } from "lucide-react";
import type { StaticImageData } from "next/image";
import type { ReactNode } from "react";
import { BsFillLightningChargeFill } from "react-icons/bs";
import { Heading, Text, TrackedLinkButton } from "tw-components";

interface HomePageCardProps {
Expand Down Expand Up @@ -96,7 +96,7 @@ const HomePageCard = ({
label={label}
fontWeight="bold"
maxW="190px"
leftIcon={<Icon as={BsFillLightningChargeFill} boxSize={4} />}
leftIcon={<ZapIcon className="size-4 fill-black" />}
>
{ctaText}
</TrackedLinkButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
useDisclosure,
} from "@chakra-ui/react";
import { ChakraNextImage } from "components/Image";
import { FiMenu } from "react-icons/fi";
import { MenuIcon } from "lucide-react";
import { Drawer, Heading, TrackedLink, TrackedLinkButton } from "tw-components";
import {
DEVELOPER_RESOURCES,
Expand Down Expand Up @@ -35,7 +35,7 @@ export const MobileMenu: React.FC<FlexProps> = (props) => {
</TrackedLinkButton>
<IconButton
aria-label="Homepage Menu"
icon={<FiMenu />}
icon={<MenuIcon className="size-4" />}
variant="ghost"
onClick={disclosure.onOpen}
/>
Expand Down
5 changes: 2 additions & 3 deletions apps/dashboard/src/components/shared/TWQueryTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
ButtonGroup,
Flex,
GridItem,
Icon,
Select,
SimpleGrid,
Skeleton,
Expand All @@ -22,9 +21,9 @@ import {
getCoreRowModel,
useReactTable,
} from "@tanstack/react-table";
import { MoveRightIcon } from "lucide-react";
import pluralize from "pluralize";
import { type SetStateAction, useMemo } from "react";
import { FiArrowRight } from "react-icons/fi";
import { Button, TableContainer, Text } from "tw-components";

type TWQueryTableProps<TRowData, TInputData> = {
Expand Down Expand Up @@ -122,7 +121,7 @@ export function TWQueryTable<TRowData, TInputData>(
borderBottomWidth="inherit"
borderBottomColor="hsl(var(--border))"
>
<Icon as={FiArrowRight} />
<MoveRightIcon className="size-4" />
</Td>
)}
</Tr>
Expand Down
7 changes: 3 additions & 4 deletions apps/dashboard/src/components/shared/TWTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ import {
getCoreRowModel,
useReactTable,
} from "@tanstack/react-table";
import { EllipsisVerticalIcon, MoveRightIcon } from "lucide-react";
import pluralize from "pluralize";
import { type SetStateAction, useMemo, useState } from "react";
import { FaEllipsisVertical } from "react-icons/fa6";
import { FiArrowRight } from "react-icons/fi";
import type { IconType } from "react-icons/lib";

type CtaMenuItem<TRowData> = {
Expand Down Expand Up @@ -191,7 +190,7 @@ export function TWTable<TRowData>(tableProps: TWTableProps<TRowData>) {
{/* Show a ... menu or individual CTA buttons. */}
{tableProps.onRowClick ? (
<TableCell className="text-end">
<FiArrowRight className="size-4" />
<MoveRightIcon className="size-4" />
</TableCell>
) : tableProps.onMenuClick ? (
<TableCell className="text-end">
Expand All @@ -202,7 +201,7 @@ export function TWTable<TRowData>(tableProps: TWTableProps<TRowData>) {
aria-label="Actions"
className="!h-auto relative z-10 p-2.5"
>
<FaEllipsisVertical className="size-4" />
<EllipsisVerticalIcon className="size-4" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent>
Expand Down
Loading