Skip to content

Commit 392198b

Browse files
committed
fixed icon lint errors
1 parent 58d5562 commit 392198b

File tree

6 files changed

+165
-164
lines changed

6 files changed

+165
-164
lines changed

apps/portal/src/app/connect/pay/overview/page.mdx

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createMetadata, DocImage, Grid, SDKCard, FeatureCard } from "@doc";
22
import PayOverviewImage from "../assets/pay-overview.png";
33
import SupportedChains from "../../../_images/supported-chains.png";
4-
import {Rocket, ArrowLeftRight, Wallet, Pencil, ShieldCheck, PiggyBank, Globe, Component} from "lucide-react";
4+
import {RocketIcon, ArrowLeftRightIcon, WalletIcon, PencilIcon, ShieldCheckIcon, PiggyBankIcon, GlobeIcon, ComponentIcon} from "lucide-react";
55

66
export const metadata = createMetadata({
77
image: {
@@ -27,45 +27,45 @@ Universal Bridge allows you to create both simple and advanced payment flows for
2727
<FeatureCard
2828
title="Avoid chargeback & liability"
2929
description="Automatic screening for sanctioned wallets and regions to ensure application safety."
30-
iconUrl={<Rocket />}
30+
iconUrl={<RocketIcon />}
3131
/>
3232

33-
<FeatureCard
34-
title="Global Coverage"
35-
description="Bridging support in over 160+ countries to reach a truly global audience."
36-
iconUrl={<Globe/>}
37-
/>
38-
<FeatureCard
39-
title="Earn revenue"
40-
description="Monetize your application and earn swap fees on each transaction."
41-
iconUrl={<PiggyBank />}
42-
/>
43-
<FeatureCard
44-
title="Transact Securely"
45-
description="Strict one-time approvals ensuring funds are not at risk of exploits."
46-
iconUrl={<ShieldCheck />}
47-
/>
48-
<FeatureCard
49-
title="Easy-to-integrate Components"
50-
description="Easily integrate components for buying funds, e-commerce checkouts, and more."
51-
iconUrl={<Component />}
52-
/>
53-
54-
<FeatureCard
55-
title="Customizable Flows"
56-
description="Create your own customized headless flows using the Universal Bridge SDK or API."
57-
iconUrl={<Pencil/>}
58-
/>
59-
<FeatureCard
60-
title="Flexible Wallet Payments"
61-
description="Enable payments with any wallet that has funds not just the one connected."
62-
iconUrl= {<Wallet />}
63-
/>
64-
<FeatureCard
65-
title="Multi-hop Routing"
66-
description="Handle multiple swaps at once within one session for a seamless swap experience."
67-
iconUrl={<ArrowLeftRight />}
68-
/>
33+
<FeatureCard
34+
title="Global Coverage"
35+
description="Bridging support in over 160+ countries to reach a truly global audience."
36+
iconUrl={<GlobeIcon />}
37+
/>
38+
<FeatureCard
39+
title="Earn revenue"
40+
description="Monetize your application and earn swap fees on each transaction."
41+
iconUrl={<PiggyBankIcon />}
42+
/>
43+
<FeatureCard
44+
title="Transact Securely"
45+
description="Strict one-time approvals ensuring funds are not at risk of exploits."
46+
iconUrl={<ShieldCheckIcon />}
47+
/>
48+
<FeatureCard
49+
title="Easy-to-integrate Components"
50+
description="Easily integrate components for buying funds, e-commerce checkouts, and more."
51+
iconUrl={<ComponentIcon />}
52+
/>
53+
54+
<FeatureCard
55+
title="Customizable Flows"
56+
description="Create your own customized headless flows using the Universal Bridge SDK or API."
57+
iconUrl={<PencilIcon />}
58+
/>
59+
<FeatureCard
60+
title="Flexible Wallet Payments"
61+
description="Enable payments with any wallet that has funds not just the one connected."
62+
iconUrl={<WalletIcon />}
63+
/>
64+
<FeatureCard
65+
title="Multi-hop Routing"
66+
description="Handle multiple swaps at once within one session for a seamless swap experience."
67+
iconUrl={<ArrowLeftRightIcon />}
68+
/>
6969

7070
</div>
7171

apps/portal/src/app/engine-v3/page.mdx

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DocImage, FeatureCard, OpenSourceCard, Callout } from "@doc";
22
import { createMetadata } from "@/components/Document";
3-
import { Activity, CircleCheck, RotateCcw, Ban, File, MessageCircle, Wallet, Blocks, ArrowLeftRight, SlidersHorizontal} from "lucide-react";
3+
import { ActivityIcon, CircleCheckIcon, RotateCcwIcon, BanIcon, FileIcon, MessageCircleIcon, WalletIcon, BlocksIcon, ArrowLeftRightIcon, SlidersHorizontalIcon } from "lucide-react";
44
import SupportedChains from "../_images/supported-chains.png";
55

66

@@ -27,52 +27,53 @@ Looking for the previous version? [Head back to the Engine V2 documentation.](/e
2727
<div
2828
className="my-4 grid gap-2 md:grid-cols-2 lg:grid-cols-2 "
2929
>
30-
<FeatureCard
31-
title="Concurrent Transactions"
32-
description="Send multiple transactions at once with automatic nonce management"
33-
iconUrl={<ArrowLeftRight />}
34-
/>
30+
<FeatureCard
31+
title="Concurrent Transactions"
32+
description="Send multiple transactions at once with automatic nonce management"
33+
iconUrl={<ArrowLeftRightIcon />}
34+
/>
3535

3636
<FeatureCard
37-
title="Avoid Transaction Failures"
38-
description="Resubmits stuck transactions, handling nonce values, gas settings, and RPC errors."
39-
iconUrl={<RotateCcw/>}
37+
title="Avoid Transaction Failures"
38+
description="Resubmits stuck transactions, handling nonce values, gas settings, and RPC errors."
39+
iconUrl={<RotateCcwIcon />}
4040
/>
4141

4242
<FeatureCard
43-
title="Wallet Management"
44-
description="Manage funds and send transactions without worrying about topping up gas fees."
45-
iconUrl={<Wallet/>}
43+
title="Wallet Management"
44+
description="Manage funds and send transactions without worrying about topping up gas fees."
45+
iconUrl={<WalletIcon />}
4646
/>
4747

48-
<FeatureCard
49-
title="Granular Access Control"
50-
description="Control access to server wallets via access tokens with specified permission scopes"
51-
iconUrl={<SlidersHorizontal/>}
48+
<FeatureCard
49+
title="Granular Access Control"
50+
description="Control access to server wallets via access tokens with specified permission scopes"
51+
iconUrl={<SlidersHorizontalIcon />}
5252
/>
5353

54-
<FeatureCard
55-
title="Abstract Blockchain Complexity"
56-
description="Sponsor gas fees using built-in relayers and session keys to transact on behalf of users."
57-
iconUrl={<CircleCheck/>}
54+
<FeatureCard
55+
title="Abstract Blockchain Complexity"
56+
description="Sponsor gas fees using built-in relayers and session keys to transact on behalf of users."
57+
iconUrl={<CircleCheckIcon />}
5858
/>
5959

6060
<FeatureCard
61-
title="Offchain Integrations"
62-
description="Integrate with existing services to do onchain actions triggered from offchain events."
63-
iconUrl={<Blocks/>}
61+
title="Offchain Integrations"
62+
description="Integrate with existing services to do onchain actions triggered from offchain events."
63+
iconUrl={<BlocksIcon />}
6464
/>
6565

66-
<FeatureCard
67-
title="Programmatic Deployments"
68-
description="Deploy smart accounts, tokens, NFTs, marketplaces, and more."
69-
iconUrl={<Blocks/>}
66+
<FeatureCard
67+
title="Programmatic Deployments"
68+
description="Deploy smart accounts, tokens, NFTs, marketplaces, and more."
69+
iconUrl={<BlocksIcon />}
7070
/>
7171

7272
<FeatureCard
73-
title="Transaction Observability"
74-
description="Debug transaction failures with detailed timelines, onchain errors, and gas details."
75-
iconUrl={<Activity/>}
73+
title="Transaction Observability"
74+
description="Debug transaction failures with detailed timelines, onchain errors, and gas details."
75+
iconUrl={<ActivityIcon />}
76+
/>
7677
/>
7778
</div>
7879

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import type { SideBar } from "@/components/Layouts/DocLayout";
22
import {
3-
Braces,
4-
Cloud,
5-
Code,
6-
ExternalLink,
7-
Key,
8-
MessageCircleQuestion,
9-
Rocket,
10-
ShieldQuestion,
11-
Wallet,
12-
Wrench,
3+
BracesIcon,
4+
CloudIcon,
5+
CodeIcon,
6+
ExternalLinkIcon,
7+
KeyIcon,
8+
MessageCircleQuestionIcon,
9+
RocketIcon,
10+
ShieldQuestionIcon,
11+
WalletIcon,
12+
WrenchIcon,
1313
} from "lucide-react";
1414

1515
const engineV3Slug = "/engine-v3";
@@ -20,21 +20,21 @@ export const sidebar: SideBar = {
2020
{
2121
name: "Overview",
2222
href: "/engine-v3",
23-
icon: <Cloud />,
23+
icon: <CloudIcon />,
2424
},
2525
{
2626
name: "Playground",
2727
href: "https://playground.thirdweb.com/engine/airdrop",
28-
icon: <ExternalLink />,
28+
icon: <ExternalLinkIcon />,
2929
},
3030
{
3131
name: "Get Started",
3232
href: `${engineV3Slug}/get-started`,
33-
icon: <Rocket />,
33+
icon: <RocketIcon />,
3434
},
3535
{
3636
name: "Key Concepts",
37-
icon: <Key />,
37+
icon: <KeyIcon />,
3838
links: [
3939
{
4040
name: "Vault",
@@ -44,7 +44,7 @@ export const sidebar: SideBar = {
4444
},
4545
{
4646
name: "Configure Wallets",
47-
icon: <Wallet />,
47+
icon: <WalletIcon />,
4848
links: [
4949
{
5050
name: "Smart Server Wallet",
@@ -55,27 +55,27 @@ export const sidebar: SideBar = {
5555
{
5656
name: "API Reference",
5757
href: "https://engine.thirdweb.com/reference",
58-
icon: <Braces />,
58+
icon: <BracesIcon />,
5959
},
6060
{
6161
name: "TypeScript SDK",
6262
href: "/references/typescript/v5/serverWallet",
63-
icon: <Code />,
63+
icon: <CodeIcon />,
6464
},
6565
{
6666
name: "Security",
6767
href: "/vault/security",
68-
icon: <ShieldQuestion />,
68+
icon: <ShieldQuestionIcon />,
6969
},
7070
{
7171
name: "Troubleshoot",
7272
href: `${engineV3Slug}/troubleshoot`,
73-
icon: <Wrench />,
73+
icon: <WrenchIcon />,
7474
},
7575
{
7676
name: "FAQ",
7777
href: `${engineV3Slug}/faq`,
78-
icon: <MessageCircleQuestion />,
78+
icon: <MessageCircleQuestionIcon />,
7979
},
8080
],
8181
};

apps/portal/src/app/engine/page.mdx

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import OverviewImage from "./assets/engine-overview.png";
22
import { DocImage, FeatureCard, OpenSourceCard, Callout } from "@doc";
33
import { createMetadata } from "@/components/Document";
4-
import { Activity, CircleCheck, RotateCcw, Ban, File, MessageCircle, Wallet, Blocks, ArrowLeftRight, SlidersHorizontal} from "lucide-react";
4+
import { ActivityIcon, CircleCheckIcon, RotateCcwIcon, BanIcon, FileIcon, MessageCircleIcon, WalletIcon, BlocksIcon, ArrowLeftRightIcon, SlidersHorizontalIcon } from "lucide-react";
55
import SupportedChains from "../_images/supported-chains.png";
66

77

@@ -31,50 +31,50 @@ Engine provides a way to read and write to the blockchain at scale through simpl
3131
<FeatureCard
3232
title="Concurrent Transactions"
3333
description="Send multiple transactions at once with automatic nonce management"
34-
iconUrl={<ArrowLeftRight />}
34+
iconUrl={<ArrowLeftRightIcon />}
3535
/>
3636

37-
<FeatureCard
38-
title="Avoid Transaction Failures"
39-
description="Resubmits stuck transactions, handling nonce values, gas settings, and RPC errors."
40-
iconUrl={<RotateCcw/>}
41-
/>
37+
<FeatureCard
38+
title="Avoid Transaction Failures"
39+
description="Resubmits stuck transactions, handling nonce values, gas settings, and RPC errors."
40+
iconUrl={<RotateCcwIcon />}
41+
/>
42+
43+
<FeatureCard
44+
title="Wallet Management"
45+
description="Manage funds and send transactions without worrying about topping up gas fees."
46+
iconUrl={<WalletIcon />}
47+
/>
4248

43-
<FeatureCard
44-
title="Wallet Management"
45-
description="Manage funds and send transactions without worrying about topping up gas fees."
46-
iconUrl={<Wallet/>}
47-
/>
49+
<FeatureCard
50+
title="Granular Access Control"
51+
description="Control access to server wallets via access tokens with specified permission scopes"
52+
iconUrl={<SlidersHorizontalIcon />}
53+
/>
4854

4955
<FeatureCard
50-
title="Granular Access Control"
51-
description="Control access to server wallets via access tokens with specified permission scopes"
52-
iconUrl={<SlidersHorizontal/>}
53-
/>
56+
title="Abstract Blockchain Complexity"
57+
description="Sponsor gas fees using built-in relayers and session keys to transact on behalf of users."
58+
iconUrl={<CircleCheckIcon />}
59+
/>
5460

5561
<FeatureCard
56-
title="Abstract Blockchain Complexity"
57-
description="Sponsor gas fees using built-in relayers and session keys to transact on behalf of users."
58-
iconUrl={<CircleCheck/>}
59-
/>
60-
61-
<FeatureCard
62-
title="Offchain Integrations"
63-
description="Integrate with existing services to do onchain actions triggered from offchain events."
64-
iconUrl={<Blocks/>}
65-
/>
66-
67-
<FeatureCard
68-
title="Programmatic Deployments"
69-
description="Deploy smart accounts, tokens, NFTs, marketplaces, and more."
70-
iconUrl={<Blocks/>}
71-
/>
72-
73-
<FeatureCard
74-
title="Transaction Observability"
75-
description="Debug transaction failures with detailed timelines, onchain errors, and gas details."
76-
iconUrl={<Activity/>}
77-
/>
62+
title="Offchain Integrations"
63+
description="Integrate with existing services to do onchain actions triggered from offchain events."
64+
iconUrl={<BlocksIcon />}
65+
/>
66+
67+
<FeatureCard
68+
title="Programmatic Deployments"
69+
description="Deploy smart accounts, tokens, NFTs, marketplaces, and more."
70+
iconUrl={<BlocksIcon />}
71+
/>
72+
73+
<FeatureCard
74+
title="Transaction Observability"
75+
description="Debug transaction failures with detailed timelines, onchain errors, and gas details."
76+
iconUrl={<ActivityIcon />}
77+
/>
7878
</div>
7979

8080
## Engine Cloud vs. Dedicated

0 commit comments

Comments
 (0)