From 050a1af76dc9e832f328ecb6507ddd48e8d28cd3 Mon Sep 17 00:00:00 2001 From: linlijun Date: Fri, 15 Mar 2024 14:57:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加配置 --- common-frontend.env | 49 +++++++++++++++++++++++++++++++++++ featured-networks-config.json | 15 +++++++++++ footer-links-config.json | 36 +++++++++++++++++++++++++ logo1.svg | 1 + logo2.svg | 1 + 5 files changed, 102 insertions(+) create mode 100644 common-frontend.env create mode 100644 featured-networks-config.json create mode 100644 footer-links-config.json create mode 100644 logo1.svg create mode 100644 logo2.svg diff --git a/common-frontend.env b/common-frontend.env new file mode 100644 index 0000000..5432b52 --- /dev/null +++ b/common-frontend.env @@ -0,0 +1,49 @@ + +# app configuration +NEXT_PUBLIC_APP_PROTOCOL=http +NEXT_PUBLIC_APP_HOST=47.76.156.125 +NEXT_PUBLIC_APP_PORT=8990 + +# blockchain parameters +NEXT_PUBLIC_NETWORK_NAME=ROOS Network +NEXT_PUBLIC_NETWORK_SHORT_NAME=ROOS +NEXT_PUBLIC_NETWORK_ID=646464 +NEXT_PUBLIC_NETWORK_RPC_URL=https://chainlist.org +NEXT_PUBLIC_NETWORK_CURRENCY_NAME=ROOSRBTC +NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL=RBTC +NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS=18 +NEXT_PUBLIC_NETWORK_GOVERNANCE_TOKEN_SYMBOL=ROS +NEXT_PUBLIC_IS_TESTNET=true + +# api configuration +NEXT_PUBLIC_API_PROTOCOL=http +NEXT_PUBLIC_API_HOST=47.76.156.125 +NEXT_PUBLIC_API_PORT=8990 +NEXT_PUBLIC_API_BASE_PATH=/ +NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=ws + +# ui config +## homepage +NEXT_PUBLIC_HOMEPAGE_CHARTS=['daily_txs'] +NEXT_PUBLIC_HOMEPAGE_PLATE_TEXT_COLOR=#F58C00 +NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND="rgb(96,12,61)" +## sidebar +NEXT_PUBLIC_FEATURED_NETWORKS=https://www.pineer.cc/upload/roos/featured-networks-config.json +NEXT_PUBLIC_NETWORK_LOGO=https://www.pineer.cc/upload/roos/logo1.png +NEXT_PUBLIC_NETWORK_ICON=https://www.pineer.cc/upload/roos/logo2.png +FAVICON_MASTER_URL=https://www.pineer.cc/upload/roos/logo2.png +## footer +NEXT_PUBLIC_FOOTER_LINKS=https://www.pineer.cc/upload/roos/footer-links-config.json + +# app features +NEXT_PUBLIC_VISUALIZE_API_HOST=http://47.76.156.125:8081 +NEXT_PUBLIC_WEB3_WALLETS=['token_pocket','metamask'] + +# Blockchain statistics +NEXT_PUBLIC_STATS_API_HOST=http://47.76.156.125:8080 + +# rest api documentation +NEXT_PUBLIC_API_SPEC_URL=https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml + +# Marketplace app configuration properties +NEXT_PUBLIC_MARKETPLACE_ENABLED=true diff --git a/featured-networks-config.json b/featured-networks-config.json new file mode 100644 index 0000000..a8499a9 --- /dev/null +++ b/featured-networks-config.json @@ -0,0 +1,15 @@ +[ + { + "title": "ROOS Testnets", + "url": "http://47.76.156.125:8990/", + "group": "Testnets", + "icon": "https://www.pineer.cc/upload/roos/logo2.png", + "isActive": true + }, + { + "title": "ROOS Mainnets", + "url": "https://explorer.roospro.com/", + "group": "Mainnets", + "icon": "https://www.pineer.cc/upload/roos/logo2.png" + } +] \ No newline at end of file diff --git a/footer-links-config.json b/footer-links-config.json new file mode 100644 index 0000000..edfdfa9 --- /dev/null +++ b/footer-links-config.json @@ -0,0 +1,36 @@ +[ + { + "title":"ROOS", + "links":[ + { + "text":"Home", + "url":"https://www.roospro.com/" + }, + { + "text":"Bridge", + "url":"https://Bridge.roospro.com/" + }, + { + "text":"ROOS Docs", + "url":"https://roos.gitbook.io/roos/overview/introduction-to-roos" + } + ] + }, + { + "title":"Community", + "links":[ + { + "text":"Discord", + "url":"https://discord.gg/H5FgGpPWe3" + }, + { + "text":"Twitter", + "url":"https://twitter.com/btcl2_roos" + }, + { + "text":"Blog", + "url":"https://roosnetwork.medium.com/" + } + ] + } +] \ No newline at end of file diff --git a/logo1.svg b/logo1.svg new file mode 100644 index 0000000..4c91121 --- /dev/null +++ b/logo1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/logo2.svg b/logo2.svg new file mode 100644 index 0000000..69aff8a --- /dev/null +++ b/logo2.svg @@ -0,0 +1 @@ + \ No newline at end of file