Flow is committed to the security of its blockchain infrastructure and welcomes responsible disclosure of security vulnerabilities. Security researchers can earn rewards for discovering and reporting potential issues.
diff --git a/src/hooks/use-icons.ts b/src/hooks/use-icons.ts
index e1d48b2c4a..1ee4da2ef6 100644
--- a/src/hooks/use-icons.ts
+++ b/src/hooks/use-icons.ts
@@ -61,6 +61,9 @@ const iconMap: Record = {
[IconName.ALCHEMY]: '/img/ecosystem/alchemy.svg',
[IconName.THIRDWEB]: '/img/ecosystem/thirdweb.svg',
[IconName.UNIBLOCK]: '/img/ecosystem/uniblock.svg',
+
+ // Security icons
+ [IconName.SHIELD_CHECK]: '/images/icons/shield-check.svg',
};
// Simple function to get icon path - no need for a hook since it's just static data
diff --git a/src/types/icons.ts b/src/types/icons.ts
index 55dfd861fa..fc9f9e94cc 100644
--- a/src/types/icons.ts
+++ b/src/types/icons.ts
@@ -58,4 +58,7 @@ export enum IconName {
DISCORD = 'discord',
X_COM = 'x.com',
GITHUB = 'github',
+
+ // Security icons
+ SHIELD_CHECK = 'shield-check',
}
diff --git a/static/images/icons/shield-check.svg b/static/images/icons/shield-check.svg
new file mode 100644
index 0000000000..7cbaa4b7b0
--- /dev/null
+++ b/static/images/icons/shield-check.svg
@@ -0,0 +1 @@
+
From 4d16159ddc81f083acb6ff8928951f347dac09a5 Mon Sep 17 00:00:00 2001
From: Chase Fleming <1666730+chasefleming@users.noreply.github.com>
Date: Thu, 1 Jan 2026 19:03:43 -0800
Subject: [PATCH 5/8] Use icon
---
docs/ecosystem/bug-bounty.mdx | 5 ++++-
src/components/Icon.tsx | 6 ++++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/docs/ecosystem/bug-bounty.mdx b/docs/ecosystem/bug-bounty.mdx
index df45ebc23c..1d0cb8dbf4 100644
--- a/docs/ecosystem/bug-bounty.mdx
+++ b/docs/ecosystem/bug-bounty.mdx
@@ -5,10 +5,13 @@ sidebar_custom_props:
icon: 🐛
---
+import Icon from '@site/src/components/Icon';
+import { IconName } from '@site/src/types/icons';
+
# Bug Bounty Program
-
+
Flow is committed to the security of its blockchain infrastructure and welcomes responsible disclosure of security vulnerabilities. Security researchers can earn rewards for discovering and reporting potential issues.
diff --git a/src/components/Icon.tsx b/src/components/Icon.tsx
index a3f0db7f5c..ab173a6e10 100644
--- a/src/components/Icon.tsx
+++ b/src/components/Icon.tsx
@@ -29,13 +29,15 @@ interface IconProps {
className?: string;
width?: string | number;
height?: string | number;
+ style?: React.CSSProperties;
}
export const Icon: React.FC = ({
name,
className = "w-6 h-6",
width = "100%",
- height = "100%"
+ height = "100%",
+ style,
}) => {
if (!name) {
return ;
@@ -50,7 +52,7 @@ export const Icon: React.FC = ({
// Always render as an image since we're using static paths
return (
-
+
Date: Thu, 1 Jan 2026 19:04:10 -0800
Subject: [PATCH 6/8] Remove
---
src/hooks/use-icons.ts | 20 ++++++++++----------
src/types/icons.ts | 14 ++++++--------
2 files changed, 16 insertions(+), 18 deletions(-)
diff --git a/src/hooks/use-icons.ts b/src/hooks/use-icons.ts
index 1ee4da2ef6..366023d6ce 100644
--- a/src/hooks/use-icons.ts
+++ b/src/hooks/use-icons.ts
@@ -9,11 +9,12 @@ const iconMap: Record
= {
[IconName.FLOW_CADENCE]: '/images/icons/flow-cadence.svg',
[IconName.EVM_ON_FLOW]: '/images/icons/evm-on-flow.svg',
[IconName.RANDOM]: '/images/icons/random.svg',
- [IconName.BATCHED_EVM_TRANSACTIONS]: '/images/icons/batched-evm-transactions.svg',
+ [IconName.BATCHED_EVM_TRANSACTIONS]:
+ '/images/icons/batched-evm-transactions.svg',
[IconName.FLOW_CLIENT_LIBRARY]: '/images/icons/flow-client-library.svg',
[IconName.TOOLS]: '/images/icons/flow-tools.svg',
[IconName.FAUCET]: '/images/icons/Faucet.svg',
-
+
// GrowGridData icons
[IconName.GROW]: '/images/icons/flow-grow.svg',
[IconName.BUILDER_CREDITS]: '/images/icons/builder-credits.svg',
@@ -22,20 +23,21 @@ const iconMap: Record = {
[IconName.STARTUP_SUPPORT]: '/images/icons/startup-support.svg',
[IconName.VCS_AND_FUNDS]: '/images/icons/vcs-&-funds.svg',
[IconName.ACCESS_INCREDIBLE_IP]: '/images/icons/access-incredible-ip.svg',
-
+
// Other commonly used icons
[IconName.LEARN]: '/images/icons/flow-learn.svg',
[IconName.GS_HELLO_WORLD]: '/images/icons/gs-hello-world.svg',
[IconName.CADENCE]: '/images/icons/cadence-logo-mark-black-1.svg',
[IconName.SOLIDITY]: '/images/icons/flow-evm.svg',
-
+
// Feature icons
[IconName.FEATURE_WHY_FLOW_ICON]: '/images/icons/feature-why-flow-icon.svg',
[IconName.FEATURE_WAND_ICON]: '/images/icons/feature-wand-icon.svg',
[IconName.FEATURE_STACKS_ICON]: '/images/icons/feature-stacks-icon.svg',
- [IconName.FEATURE_CODE_SCRIPTS_ICON]: '/images/icons/feature-code-scripts-icon.svg',
+ [IconName.FEATURE_CODE_SCRIPTS_ICON]:
+ '/images/icons/feature-code-scripts-icon.svg',
[IconName.FEATURE_EVM_ICON]: '/images/icons/feature-evm-icon.svg',
-
+
// Other icons
[IconName.ROADMAP]: '/images/icons/roadmap.svg',
[IconName.CADENCE_COURSE]: '/images/icons/cadence-course.svg',
@@ -48,12 +50,12 @@ const iconMap: Record = {
[IconName.TUTORIALS]: '/images/icons/tutorials.svg',
[IconName.CROSS_VM_BRIDGE]: '/images/icons/cross-vm-bridge.svg',
[IconName.FORUM]: '/images/icons/forum.svg',
-
+
// Social media icons
[IconName.DISCORD]: '/images/icons/discord.svg',
[IconName.X_COM]: '/images/icons/x.com.svg',
[IconName.GITHUB]: '/images/icons/github.svg',
-
+
// Ecosystem icons (these use a different path pattern)
[IconName.QUICKNODE]: '/img/ecosystem/quicknode.svg',
[IconName.OLYMPIX_LOGO]: '/img/ecosystem/olympix-logo.svg',
@@ -61,8 +63,6 @@ const iconMap: Record = {
[IconName.ALCHEMY]: '/img/ecosystem/alchemy.svg',
[IconName.THIRDWEB]: '/img/ecosystem/thirdweb.svg',
[IconName.UNIBLOCK]: '/img/ecosystem/uniblock.svg',
-
- // Security icons
[IconName.SHIELD_CHECK]: '/images/icons/shield-check.svg',
};
diff --git a/src/types/icons.ts b/src/types/icons.ts
index fc9f9e94cc..9e58737029 100644
--- a/src/types/icons.ts
+++ b/src/types/icons.ts
@@ -10,7 +10,7 @@ export enum IconName {
FLOW_CLIENT_LIBRARY = 'flow-client-library',
TOOLS = 'tools',
FAUCET = 'faucet',
-
+
// GrowGridData icons
GROW = 'grow',
BUILDER_CREDITS = 'builder-credits',
@@ -19,13 +19,13 @@ export enum IconName {
STARTUP_SUPPORT = 'startup-support',
VCS_AND_FUNDS = 'vcs-&-funds',
ACCESS_INCREDIBLE_IP = 'access-incredible-ip',
-
+
// Other commonly used icons
LEARN = 'learn',
GS_HELLO_WORLD = 'gs-hello-world',
CADENCE = 'cadence',
SOLIDITY = 'solidity',
-
+
// Ecosystem icons
QUICKNODE = 'quicknode',
OLYMPIX_LOGO = 'olympix-logo',
@@ -33,14 +33,14 @@ export enum IconName {
ALCHEMY = 'alchemy',
THIRDWEB = 'thirdweb',
UNIBLOCK = 'uniblock',
-
+
// Feature icons
FEATURE_WHY_FLOW_ICON = 'feature-why-flow-icon',
FEATURE_WAND_ICON = 'feature-wand-icon',
FEATURE_STACKS_ICON = 'feature-stacks-icon',
FEATURE_CODE_SCRIPTS_ICON = 'feature-code-scripts-icon',
FEATURE_EVM_ICON = 'feature-evm-icon',
-
+
// Other icons
ROADMAP = 'roadmap',
CADENCE_COURSE = 'cadence-course',
@@ -53,12 +53,10 @@ export enum IconName {
TUTORIALS = 'tutorials',
CROSS_VM_BRIDGE = 'cross-vm-bridge',
FORUM = 'forum',
-
+
// Social media icons
DISCORD = 'discord',
X_COM = 'x.com',
GITHUB = 'github',
-
- // Security icons
SHIELD_CHECK = 'shield-check',
}
From d2211c6853c859ae8325bfe022ef12e8ad549f4a Mon Sep 17 00:00:00 2001
From: Chase Fleming <1666730+chasefleming@users.noreply.github.com>
Date: Thu, 1 Jan 2026 19:04:44 -0800
Subject: [PATCH 7/8] Revert "Remove"
This reverts commit 161631aa822a231b88cfd6fdc5e043540e7ac5fd.
---
src/hooks/use-icons.ts | 20 ++++++++++----------
src/types/icons.ts | 14 ++++++++------
2 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/hooks/use-icons.ts b/src/hooks/use-icons.ts
index 366023d6ce..1ee4da2ef6 100644
--- a/src/hooks/use-icons.ts
+++ b/src/hooks/use-icons.ts
@@ -9,12 +9,11 @@ const iconMap: Record = {
[IconName.FLOW_CADENCE]: '/images/icons/flow-cadence.svg',
[IconName.EVM_ON_FLOW]: '/images/icons/evm-on-flow.svg',
[IconName.RANDOM]: '/images/icons/random.svg',
- [IconName.BATCHED_EVM_TRANSACTIONS]:
- '/images/icons/batched-evm-transactions.svg',
+ [IconName.BATCHED_EVM_TRANSACTIONS]: '/images/icons/batched-evm-transactions.svg',
[IconName.FLOW_CLIENT_LIBRARY]: '/images/icons/flow-client-library.svg',
[IconName.TOOLS]: '/images/icons/flow-tools.svg',
[IconName.FAUCET]: '/images/icons/Faucet.svg',
-
+
// GrowGridData icons
[IconName.GROW]: '/images/icons/flow-grow.svg',
[IconName.BUILDER_CREDITS]: '/images/icons/builder-credits.svg',
@@ -23,21 +22,20 @@ const iconMap: Record = {
[IconName.STARTUP_SUPPORT]: '/images/icons/startup-support.svg',
[IconName.VCS_AND_FUNDS]: '/images/icons/vcs-&-funds.svg',
[IconName.ACCESS_INCREDIBLE_IP]: '/images/icons/access-incredible-ip.svg',
-
+
// Other commonly used icons
[IconName.LEARN]: '/images/icons/flow-learn.svg',
[IconName.GS_HELLO_WORLD]: '/images/icons/gs-hello-world.svg',
[IconName.CADENCE]: '/images/icons/cadence-logo-mark-black-1.svg',
[IconName.SOLIDITY]: '/images/icons/flow-evm.svg',
-
+
// Feature icons
[IconName.FEATURE_WHY_FLOW_ICON]: '/images/icons/feature-why-flow-icon.svg',
[IconName.FEATURE_WAND_ICON]: '/images/icons/feature-wand-icon.svg',
[IconName.FEATURE_STACKS_ICON]: '/images/icons/feature-stacks-icon.svg',
- [IconName.FEATURE_CODE_SCRIPTS_ICON]:
- '/images/icons/feature-code-scripts-icon.svg',
+ [IconName.FEATURE_CODE_SCRIPTS_ICON]: '/images/icons/feature-code-scripts-icon.svg',
[IconName.FEATURE_EVM_ICON]: '/images/icons/feature-evm-icon.svg',
-
+
// Other icons
[IconName.ROADMAP]: '/images/icons/roadmap.svg',
[IconName.CADENCE_COURSE]: '/images/icons/cadence-course.svg',
@@ -50,12 +48,12 @@ const iconMap: Record = {
[IconName.TUTORIALS]: '/images/icons/tutorials.svg',
[IconName.CROSS_VM_BRIDGE]: '/images/icons/cross-vm-bridge.svg',
[IconName.FORUM]: '/images/icons/forum.svg',
-
+
// Social media icons
[IconName.DISCORD]: '/images/icons/discord.svg',
[IconName.X_COM]: '/images/icons/x.com.svg',
[IconName.GITHUB]: '/images/icons/github.svg',
-
+
// Ecosystem icons (these use a different path pattern)
[IconName.QUICKNODE]: '/img/ecosystem/quicknode.svg',
[IconName.OLYMPIX_LOGO]: '/img/ecosystem/olympix-logo.svg',
@@ -63,6 +61,8 @@ const iconMap: Record = {
[IconName.ALCHEMY]: '/img/ecosystem/alchemy.svg',
[IconName.THIRDWEB]: '/img/ecosystem/thirdweb.svg',
[IconName.UNIBLOCK]: '/img/ecosystem/uniblock.svg',
+
+ // Security icons
[IconName.SHIELD_CHECK]: '/images/icons/shield-check.svg',
};
diff --git a/src/types/icons.ts b/src/types/icons.ts
index 9e58737029..fc9f9e94cc 100644
--- a/src/types/icons.ts
+++ b/src/types/icons.ts
@@ -10,7 +10,7 @@ export enum IconName {
FLOW_CLIENT_LIBRARY = 'flow-client-library',
TOOLS = 'tools',
FAUCET = 'faucet',
-
+
// GrowGridData icons
GROW = 'grow',
BUILDER_CREDITS = 'builder-credits',
@@ -19,13 +19,13 @@ export enum IconName {
STARTUP_SUPPORT = 'startup-support',
VCS_AND_FUNDS = 'vcs-&-funds',
ACCESS_INCREDIBLE_IP = 'access-incredible-ip',
-
+
// Other commonly used icons
LEARN = 'learn',
GS_HELLO_WORLD = 'gs-hello-world',
CADENCE = 'cadence',
SOLIDITY = 'solidity',
-
+
// Ecosystem icons
QUICKNODE = 'quicknode',
OLYMPIX_LOGO = 'olympix-logo',
@@ -33,14 +33,14 @@ export enum IconName {
ALCHEMY = 'alchemy',
THIRDWEB = 'thirdweb',
UNIBLOCK = 'uniblock',
-
+
// Feature icons
FEATURE_WHY_FLOW_ICON = 'feature-why-flow-icon',
FEATURE_WAND_ICON = 'feature-wand-icon',
FEATURE_STACKS_ICON = 'feature-stacks-icon',
FEATURE_CODE_SCRIPTS_ICON = 'feature-code-scripts-icon',
FEATURE_EVM_ICON = 'feature-evm-icon',
-
+
// Other icons
ROADMAP = 'roadmap',
CADENCE_COURSE = 'cadence-course',
@@ -53,10 +53,12 @@ export enum IconName {
TUTORIALS = 'tutorials',
CROSS_VM_BRIDGE = 'cross-vm-bridge',
FORUM = 'forum',
-
+
// Social media icons
DISCORD = 'discord',
X_COM = 'x.com',
GITHUB = 'github',
+
+ // Security icons
SHIELD_CHECK = 'shield-check',
}
From 77bb874c83ab024a1c185d0f95c71f1d8edf3d36 Mon Sep 17 00:00:00 2001
From: Chase Fleming <1666730+chasefleming@users.noreply.github.com>
Date: Thu, 1 Jan 2026 19:17:29 -0800
Subject: [PATCH 8/8] Update language
---
docs/ecosystem/bug-bounty.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/ecosystem/bug-bounty.mdx b/docs/ecosystem/bug-bounty.mdx
index 1d0cb8dbf4..796ca4e580 100644
--- a/docs/ecosystem/bug-bounty.mdx
+++ b/docs/ecosystem/bug-bounty.mdx
@@ -14,7 +14,7 @@ import { IconName } from '@site/src/types/icons';
- Flow is committed to the security of its blockchain infrastructure and welcomes responsible disclosure of security vulnerabilities. Security researchers can earn rewards for discovering and reporting potential issues.
+ Discover Flow's bug bounty program, which rewards white hat hackers for finding vulnerabilities and helping keep the network secure.
[Submit a Vulnerability Report →](https://hackenproof.com/blog/for-hackers/flow-new-bounty-target)