Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/components/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ export default function SideBar({ mobile, closeSidebar }: { mobile?: boolean; cl
text: 'Micro Bridge',
show: !isMinipay || bridgeEnabled,
},
{
route: '/goodbridge',
text: 'Good Bridge',
show: !isMinipay || bridgeEnabled,
},
{
label: i18n._(t`GoodDollar Main Bridge`),
url: 'https://docs.gooddollar.org/user-guides/bridge-gooddollars',
Expand Down
1 change: 0 additions & 1 deletion src/connectors/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,3 @@ export const connectOptions = {
},
},
}

5 changes: 5 additions & 0 deletions src/hooks/useFeaturesEnabled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ interface FeatureContextValue {
const supportedFeatureKeys = [
'networkEnabled',
'microBridgeEnabled',
'goodBridgeEnabled',
'lzBridgeEnabled',
'reserveEnabled',
'claimEnabled',
Expand All @@ -34,6 +35,7 @@ const localFeatureConfig: FeatureConfigPayload = {
[SupportedChains.CELO]: {
networkEnabled: true,
microBridgeEnabled: true,
goodBridgeEnabled: true,
lzBridgeEnabled: false,
reserveEnabled: true,
claimEnabled: true,
Expand All @@ -42,6 +44,7 @@ const localFeatureConfig: FeatureConfigPayload = {
[SupportedChains.MAINNET]: {
networkEnabled: true,
microBridgeEnabled: false,
goodBridgeEnabled: false,
lzBridgeEnabled: false,
reserveEnabled: false,
claimEnabled: false,
Expand All @@ -50,6 +53,7 @@ const localFeatureConfig: FeatureConfigPayload = {
[SupportedChains.FUSE]: {
networkEnabled: true,
microBridgeEnabled: true,
goodBridgeEnabled: true,
lzBridgeEnabled: false,
reserveEnabled: false,
claimEnabled: true,
Expand All @@ -58,6 +62,7 @@ const localFeatureConfig: FeatureConfigPayload = {
[SupportedChains.XDC]: {
networkEnabled: false,
microBridgeEnabled: false,
goodBridgeEnabled: false,
lzBridgeEnabled: false,
reserveEnabled: false,
claimEnabled: false,
Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/af/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr "Bevestig hierdie transaksie in jou beursie"
msgid "Congratulations!"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr "Routing deur middel van hierdie tekens het gelei tot die beste prys vir
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr "Glip Verdraagsaamheid"
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/ar/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr "قم بتأكيد هذه المعاملة في محفظتك"
msgid "Congratulations!"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr "أدى التوجيه عبر هذه الرموز إلى أفضل سعر
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr "تسامح الانزلاق"
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/ca/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr ""
msgid "Congratulations!"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr ""
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr ""
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/cs/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr ""
msgid "Congratulations!"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr ""
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr ""
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/da/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr ""
msgid "Congratulations!"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr ""
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr ""
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/de/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr "Bestätigen Sie diese Transaktion in Ihrer Brieftasche"
msgid "Congratulations!"
msgstr "Herzliche Glückwünsche!"

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr "Das Weiterleiten durch diese Token ergab den besten Preis für Ihren Han
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr "Schlupftoleranz"
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/el/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr ""
msgid "Congratulations!"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr ""
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr ""
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/en/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr ""
msgid "Congratulations!"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr ""
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr ""
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/es-419/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ msgstr ""
msgid "Congratulations!"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -389,7 +390,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -624,6 +625,7 @@ msgstr ""
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -649,7 +651,7 @@ msgstr ""
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions src/language/locales/es/catalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -2895,6 +2895,7 @@ msgstr "Confirme esta transacción en su billetera."
msgid "Congratulations!"
msgstr "¡Felicidades!"

#: src/pages/gd/GoodBridge/index.tsx:36
#: src/pages/gd/MicroBridge/index.tsx:36
#: src/pages/gd/Portfolio/index.tsx:459
msgid "Connect a wallet to see your portfolio"
Expand Down Expand Up @@ -3039,7 +3040,7 @@ msgstr ""
msgid "GoodDollar creates free money as a public good, G$ tokens, which you can collect daily."
msgstr ""

#: src/components/SideBar.tsx:230
#: src/components/SideBar.tsx:235
msgid "GoodDollar Main Bridge"
msgstr ""

Expand Down Expand Up @@ -3292,6 +3293,7 @@ msgstr "El enrutamiento a través de estos tokens resultó en el mejor precio pa
msgid "Savings"
msgstr ""

#: src/pages/gd/GoodBridge/index.tsx:23
#: src/pages/gd/MicroBridge/index.tsx:23
msgid ""
"Seamlessly convert between Fuse G$ tokens to Celo and vice versa, \n"
Expand All @@ -3317,7 +3319,7 @@ msgstr "Tolerancia al deslizamiento"
msgid "Social APY"
msgstr ""

#: src/components/SideBar.tsx:237
#: src/components/SideBar.tsx:242
msgid "Squid Router"
msgstr ""

Expand Down
Loading