Skip to content

Commit

Permalink
Merge 9a375d0 into 1131845
Browse files Browse the repository at this point in the history
  • Loading branch information
abtestingalpha authored Dec 6, 2024
2 parents 1131845 + 9a375d0 commit 9a9aa30
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ function MoreInfoButtons() {
description="See preliminary analytics of the bridge"
/>
<MoreInfoItem
to={NAVIGATION.Contracts.path}
labelText={NAVIGATION.Contracts.text}
description="View contract related information such as contract addresses"
to={NAVIGATION.SYN.path}
labelText={NAVIGATION.SYN.text}
description="View $SYN related information such as contract addresses"
/>
</>
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react'
import toast from 'react-hot-toast'
import {
XIcon,
Expand Down
6 changes: 5 additions & 1 deletion packages/synapse-interface/components/toast/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// @ts-nocheck
import React from 'react'
import toast, { Toaster, ToastBar } from 'react-hot-toast'
import ToastContent from './ToastContent'

export default function CustomToaster() {
const CustomToaster: React.FC = () => {
return (
<Toaster
position="bottom-right" // top-right
Expand All @@ -28,3 +30,5 @@ export default function CustomToaster() {
</Toaster>
)
}

export default CustomToaster
8 changes: 4 additions & 4 deletions packages/synapse-interface/constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
POOL_PATH,
LANDING_PATH,
BRIDGE_PATH,
INTERCHAIN_LINK,
SOLANA_BRIDGE_LINK,
SYN_TOKEN_LINK,
} from './urls'

export interface RouteObject {
Expand Down Expand Up @@ -53,9 +53,9 @@ export const NAVIGATION: RouteObject = {
text: 'Explorer',
match: null,
},
Contracts: {
path: INTERCHAIN_LINK,
text: 'Interchain Network',
SYN: {
path: SYN_TOKEN_LINK,
text: '$SYN',
match: null,
},
Solana: {
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/constants/urls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const LANDING_PATH = '/landing'
export const EXPLORER_KAPPA = 'https://explorer.synapseprotocol.com/tx/'
export const EXPLORER_PATH = 'https://explorer.synapseprotocol.com/'
export const INTERCHAIN_LINK = 'https://interchain.synapseprotocol.com/'
export const SYN_TOKEN_LINK = 'https://docs.synapseprotocol.com/docs/About/SYN'
export const SOLANA_BRIDGE_LINK = 'https://solana.synapseprotocol.com/'
export const TERMS_OF_SERVICE_PATH =
'https://explorer.synapseprotocol.com/terms'
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"Telegram": "تليجرام",
"Functions": "الوظائف",
"Developers": "المطورون",
"$SYN": "$SYN",
"Support": "الدعم"
},
"ReturnToMonke": {
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"Telegram": "Telegram",
"Functions": "Functions",
"Developers": "Developers",
"$SYN": "$SYN",
"Support": "Support"
},
"ReturnToMonke": {
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"Telegram": "Telegram",
"Functions": "Funciones",
"Developers": "Desarrolladores",
"$SYN": "$SYN",
"Support": "Soporte"
},
"ReturnToMonke": {
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"Telegram": "Telegram",
"Functions": "Fonctions",
"Developers": "Développeurs",
"$SYN": "$SYN",
"Support": "Support"
},
"ReturnToMonke": {
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"Telegram": "Telegram",
"Functions": "機能",
"Developers": "開発者",
"$SYN": "$SYN",
"Support": "サポート"
},
"ReturnToMonke": {
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"Telegram": "Telegram",
"Functions": "Fonksiyonlar",
"Developers": "Geliştiriciler",
"$SYN": "$SYN",
"Support": "Destek"
},
"ReturnToMonke": {
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/messages/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"Telegram": "Telegram",
"Functions": "功能",
"Developers": "开发者",
"$SYN": "$SYN",
"Support": "支持"
},
"ReturnToMonke": {
Expand Down
1 change: 1 addition & 0 deletions packages/synapse-interface/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function App({ Component, pageProps }: AppProps) {
timeZone="UTC"
messages={pageProps.messages}
>
{/* @ts-ignore */}
<WagmiProvider config={wagmiConfig}>
<QueryClientProvider client={queryClient}>
<RainbowKitProvider
Expand Down

0 comments on commit 9a9aa30

Please sign in to comment.