+
+ Explore Apps on {getNetworkName(destinationChain.id)}
+
+
+ {isTestnetMode && (
+
+ Development-mode only. These are placeholder projects for
+ showing how this feature works in non-production mode. Real projects
+ are fetched from the Portal for mainnet Orbit chains.
+
+ )}
+
+
+ {randomizedProjects.map(project => (
+
{
+ if (isTestnetMode) return
+
+ trackEvent('Project Click', {
+ network: getNetworkName(destinationChain.id),
+ projectName: project.title
+ })
+ }}
+ />
+ ))}
+
+ {projects.length > 4 && (
+
{
+ if (isTestnetMode) return
+
+ trackEvent('Show All Projects Click', {
+ network: getNetworkName(destinationChain.id)
+ })
+ }}
+ >
+ See all
+
+
+ )}
+
+ )
+}
diff --git a/packages/arb-token-bridge-ui/src/constants.ts b/packages/arb-token-bridge-ui/src/constants.ts
index 0e69e08219..2e62500b05 100644
--- a/packages/arb-token-bridge-ui/src/constants.ts
+++ b/packages/arb-token-bridge-ui/src/constants.ts
@@ -32,3 +32,5 @@ export const MULTICALL_TESTNET_ADDRESS =
export const ETHER_TOKEN_LOGO = '/images/EthereumLogoRound.svg'
export const ether = { name: 'Ether', symbol: 'ETH', decimals: 18 } as const
+
+export const PORTAL_API_ENDPOINT = 'https://portal.arbitrum.io'
diff --git a/packages/arb-token-bridge-ui/src/util/AnalyticsUtils.ts b/packages/arb-token-bridge-ui/src/util/AnalyticsUtils.ts
index ea25eeaae7..5ae69c9953 100644
--- a/packages/arb-token-bridge-ui/src/util/AnalyticsUtils.ts
+++ b/packages/arb-token-bridge-ui/src/util/AnalyticsUtils.ts
@@ -99,6 +99,13 @@ type AnalyticsEventMap = {
complete: boolean
version: number
}
+ 'Project Click': {
+ network: string
+ projectName: string
+ }
+ 'Show All Projects Click': {
+ network: string
+ }
}
type AnalyticsEvent = keyof AnalyticsEventMap
diff --git a/packages/arb-token-bridge-ui/tailwind.config.js b/packages/arb-token-bridge-ui/tailwind.config.js
index 8bd5a1b6a9..687d267831 100644
--- a/packages/arb-token-bridge-ui/tailwind.config.js
+++ b/packages/arb-token-bridge-ui/tailwind.config.js
@@ -43,6 +43,7 @@ module.exports = {
'gray-dark': '#6D6D6D',
'line-gray': '#F4F4F4',
dark: '#1A1C1D', // (or default-black)
+ 'dark-hover': '#2b2e30', // (or default-black-hover)
'bg-gray-1': '#191919',