diff --git a/public/backgrounds/main.svg b/public/backgrounds/main.svg deleted file mode 100644 index 1d4a8037c..000000000 --- a/public/backgrounds/main.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/backgrounds/main.webp b/public/backgrounds/main.webp new file mode 100644 index 000000000..8785a3f02 Binary files /dev/null and b/public/backgrounds/main.webp differ diff --git a/src/components/nav/Header.tsx b/src/components/nav/Header.tsx index 2fa4e73d1..c45f17acd 100644 --- a/src/components/nav/Header.tsx +++ b/src/components/nav/Header.tsx @@ -3,7 +3,6 @@ import Link from 'next/link'; import { ConnectWalletButton } from '../../features/wallet/ConnectWalletButton'; import Logo from '../../images/logos/app-logo.svg'; import Name from '../../images/logos/app-name.svg'; -import Title from '../../images/logos/app-title.svg'; export function Header() { return ( @@ -12,7 +11,7 @@ export function Header() { - + {/* */}
diff --git a/src/consts/app.ts b/src/consts/app.ts index 2dc51e863..cbf3421b5 100644 --- a/src/consts/app.ts +++ b/src/consts/app.ts @@ -7,9 +7,9 @@ export const MAIN_FONT = SpaceGrotesk({ preload: true, fallback: ['sans-serif'], }); -export const APP_NAME = 'Hyperlane Warp UI Template'; -export const APP_DESCRIPTION = 'A DApp for Hyperlane Warp Route transfers'; -export const APP_URL = 'hyperlane-warp-template.vercel.app'; +export const APP_NAME = 'Hyperlane Trump Bridge'; +export const APP_DESCRIPTION = 'A token bridge for Trump transfers, created by Hyperlane'; +export const APP_URL = 'https://trump.hyperlane.xyz/'; export const BRAND_COLOR = Color.primary['500']; export const BACKGROUND_COLOR = Color.primary['500']; -export const BACKGROUND_IMAGE = 'url(/backgrounds/main.svg)'; +export const BACKGROUND_IMAGE = 'url(/backgrounds/main.webp)'; diff --git a/src/consts/chains.ts b/src/consts/chains.ts index 33a6ef6bf..fcefeb932 100644 --- a/src/consts/chains.ts +++ b/src/consts/chains.ts @@ -1,13 +1,4 @@ -import { - eclipsemainnet, - eclipsemainnetAddresses, - solanamainnet, - solanamainnetAddresses, - sonicsvm, - sonicsvmAddresses, - soon, - soonAddresses, -} from '@hyperlane-xyz/registry'; +import { solanamainnet, solanamainnetAddresses } from '@hyperlane-xyz/registry'; import { ChainMap, ChainMetadata } from '@hyperlane-xyz/sdk'; // A map of chain names to ChainMetadata @@ -20,18 +11,6 @@ export const chains: ChainMap = { // SVM chains require mailbox addresses for the token adapters mailbox: solanamainnetAddresses.mailbox, }, - eclipsemainnet: { - ...eclipsemainnet, - mailbox: eclipsemainnetAddresses.mailbox, - }, - soon: { - ...soon, - mailbox: soonAddresses.mailbox, - }, - sonicsvm: { - ...sonicsvm, - mailbox: sonicsvmAddresses.mailbox, - }, // mycustomchain: { // protocol: ProtocolType.Ethereum, // chainId: 123123, diff --git a/src/consts/config.ts b/src/consts/config.ts index 8c82aaa2f..0b612f630 100644 --- a/src/consts/config.ts +++ b/src/consts/config.ts @@ -44,10 +44,10 @@ export const config: Config = Object.freeze({ registryUrl, registryBranch, registryProxyUrl, - showAddRouteButton: true, - showAddChainButton: true, + showAddRouteButton: false, + showAddChainButton: false, showDisabledTokens: false, - showTipBox: true, + showTipBox: false, version, transferBlacklist, walletConnectProjectId, diff --git a/src/consts/warpRouteWhitelist.ts b/src/consts/warpRouteWhitelist.ts index 8c6ae88cc..5d6afc90d 100644 --- a/src/consts/warpRouteWhitelist.ts +++ b/src/consts/warpRouteWhitelist.ts @@ -2,8 +2,6 @@ // Warp Route IDs use format `SYMBOL/chainname1-chainname2...` where chains are ordered alphabetically // If left null, all warp routes in the configured registry will be included // If set to a list (including an empty list), only the specified routes will be included -export const warpRouteWhitelist: Array | null = null; -// Example: -// [ -// // 'ETH/ethereum-viction' -// ]; +export const warpRouteWhitelist: Array | null = [ + 'TRUMP/arbitrum-avalanche-base-flowmainnet-form-optimism-solanamainnet-worldchain', +]; diff --git a/src/features/transfer/TransferTokenForm.tsx b/src/features/transfer/TransferTokenForm.tsx index 44dbb3612..963d85361 100644 --- a/src/features/transfer/TransferTokenForm.tsx +++ b/src/features/transfer/TransferTokenForm.tsx @@ -393,7 +393,7 @@ function MaxButton({ balance, disabled }: { balance?: TokenAmount; disabled?: bo @@ -423,7 +423,7 @@ function SelfButton({ disabled }: { disabled?: boolean }) { diff --git a/tailwind.config.js b/tailwind.config.js index 17ea7efc5..e9d8800bf 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -20,30 +20,30 @@ module.exports = { colors: { black: '#010101', white: '#ffffff', - gray: { ...defaultColors.gray, '150': '#EBEDF0', '250': '#404040', '350': '#6B6B6B' }, + gray: { ...defaultColors.gray, 150: '#EBEDF0', 250: '#404040', 350: '#6B6B6B' }, primary: { - 50: '#E6EDF9', - 100: '#CDDCF4', - 200: '#A7C2EC', - 300: '#82A8E4', - 400: '#5385D2', - 500: '#2764c1', - 600: '#1D4685', - 700: '#162A4A', - 800: '#11213B', - 900: '#0D192C', + 50: '#FDE7EB', + 100: '#FACED6', + 200: '#F49CAB', + 300: '#EF6A7F', + 400: '#E83C58', + 500: '#B31942', + 600: '#8D1234', + 700: '#671026', + 800: '#420A18', + 900: '#1F040B', }, accent: { - 50: '#FAEAF8', - 100: '#F2C1EA', - 200: '#EA98DC', - 300: '#E26ECE', - 400: '#DA45C0', - 500: '#D631B9', - 600: '#C02CA6', - 700: '#952281', - 800: '#6B185C', - 900: '#400E37', + 50: '#E6ECF3', + 100: '#C5D2E4', + 200: '#94AFCF', + 300: '#648CB9', + 400: '#3B6CA8', + 500: '#0A3161', + 600: '#08274C', + 700: '#061C37', + 800: '#041328', + 900: '#020B17', }, red: { 100: '#EBBAB8',