Skip to content

Commit

Permalink
Change logo, mail, faq, tos links (#63)
Browse files Browse the repository at this point in the history
* Add: logo change

* Add: use static image instead of 3d model

* Add: remove ens description

* Add: hide conversion rate ui

* Add: hide some help link

* Add: change support mail address, ConfluxPortal -> Conflux Portal

* Fix: lint

* Add: change mail tos policy link
  • Loading branch information
yqrashawn committed Mar 27, 2020
1 parent 722e2b5 commit ed63451
Show file tree
Hide file tree
Showing 90 changed files with 545 additions and 387 deletions.
61 changes: 43 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,57 @@
# ConfluxPortal Browser Extension
[![Build Status](https://circleci.com/gh/Conflux-Chain/conflux-portal.svg?style=svg)](https://circleci.com/gh/Conflux-Chain/conflux-portal?branch=cfx-develop)
# Conflux Portal Browser Extension
[![Build
Status](https://circleci.com/gh/Conflux-Chain/conflux-portal.svg?style=svg)](https://circleci.com/gh/Conflux-Chain/conflux-portal?branch=cfx-develop)

You can find the latest version of ConfluxPortal on [our official website](https://github.com/Conflux-Chain/conflux-portal/releases). For help using ConfluxPortal, visit our [User Support Site](https://github.com/Conflux-Chain/conflux-portal/issues/new/choose).
You can find the latest version of Conflux Portal on [our official
website](https://github.com/Conflux-Chain/conflux-portal/releases). For help
using Conflux Portal, visit our [User Support
Site](https://github.com/Conflux-Chain/conflux-portal/issues/new/choose).

ConfluxPortal supports Firefox, Google Chrome, and Chromium-based browsers. We recommend using the latest available browser version.
Conflux Portal supports Firefox, Google Chrome, and Chromium-based browsers. We
recommend using the latest available browser version.


To learn how to develop ConfluxPortal-compatible applications, visit our [Developer Docs](https://conflux-chain.github.io/conflux-portal-docs/).
To learn how to develop Conflux Portal-compatible applications, visit our
[Developer Docs](https://conflux-chain.github.io/conflux-portal-docs/).

To learn how to contribute to the ConfluxPortal project itself, visit our [Internal Docs](https://github.com/Conflux-Chain/conflux-portal/tree/develop/docs).
To learn how to contribute to the Conflux Portal project itself, visit our
[Internal
Docs](https://github.com/Conflux-Chain/conflux-portal/tree/develop/docs).

## Building locally

- Install [Node.js](https://nodejs.org) version 10
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
- If you are using [nvm](https://github.com/creationix/nvm#installation)
(recommended) running `nvm use` will automatically choose the right node
version for you.
- Install [Yarn](https://yarnpkg.com/en/docs/install)
- Install dependencies: `yarn`
- Build the project to the `./dist/` folder with `yarn dist`.
- Optionally, to start a development build (e.g. with logging and file watching) run `yarn start` instead.
- To start the [React DevTools](https://github.com/facebook/react-devtools) and [Redux DevTools Extension](http://extension.remotedev.io)
- Optionally, to start a development build (e.g. with logging and file watching)
run `yarn start` instead.
- To start the [React DevTools](https://github.com/facebook/react-devtools)
and [Redux DevTools Extension](http://extension.remotedev.io)
alongside the app, use `yarn start:dev`.
- React DevTools will open in a separate window; no browser extension is required
- Redux DevTools will need to be installed as a browser extension. Open the Redux Remote Devtools to access Redux state logs. This can be done by either right clicking within the web browser to bring up the context menu, expanding the Redux DevTools panel and clicking Open Remote DevTools OR clicking the Redux DevTools extension icon and clicking Open Remote DevTools.
- You will also need to check the "Use custom (local) server" checkbox in the Remote DevTools Settings, using the default server configuration (host `localhost`, port `8000`, secure connection checkbox unchecked)

Uncompressed builds can be found in `/dist`, compressed builds can be found in `/builds` once they're built.
- React DevTools will open in a separate window; no browser extension is
required
- Redux DevTools will need to be installed as a browser extension. Open
the Redux Remote Devtools to access Redux state logs. This can be done
by either right clicking within the web browser to bring up the context
menu, expanding the Redux DevTools panel and clicking Open Remote
DevTools OR clicking the Redux DevTools extension icon and clicking Open
Remote DevTools.
- You will also need to check the "Use custom (local) server" checkbox
in the Remote DevTools Settings, using the default server
configuration (host `localhost`, port `8000`, secure connection
checkbox unchecked)

Uncompressed builds can be found in `/dist`, compressed builds can be found in
`/builds` once they're built.

## Contributing

You can read [our internal docs here](https://github.com/Conflux-Chain/conflux-portal/tree/develop/docs).
You can read [our internal docs
here](https://github.com/Conflux-Chain/conflux-portal/tree/develop/docs).

### Running Tests

Expand Down Expand Up @@ -59,10 +82,12 @@ yarn dist

- [How to add custom build to Chrome](./docs/add-to-chrome.md)
- [How to add custom build to Firefox](./docs/add-to-firefox.md)
- [How to add a new translation to ConfluxPortal](./docs/translating-guide.md)
- [How to add a new translation to Conflux Portal](./docs/translating-guide.md)
- [Publishing Guide](./docs/publishing.md)
- [How to port ConfluxPortal to a new platform](./docs/porting_to_new_environment.md)
- [How to port Conflux Portal to a new
platform](./docs/porting_to_new_environment.md)
- [How to use the TREZOR emulator](./docs/trezor-emulator.md)
- [How to generate a visualization of this repository's development](./docs/development-visualization.md)
- [How to generate a visualization of this repository's
development](./docs/development-visualization.md)

[1]: http://www.nomnoml.com/#view/%5B%3Cactor%3Euser%5D%0A%0A%5Bconfluxportal-ui%7C%0A%20%20%20%5Btools%7C%0A%20%20%20%20%20react%0A%20%20%20%20%20redux%0A%20%20%20%20%20thunk%0A%20%20%20%20%20ethUtils%0A%20%20%20%20%20jazzicon%0A%20%20%20%5D%0A%20%20%20%5Bcomponents%7C%0A%20%20%20%20%20app%0A%20%20%20%20%20account-detail%0A%20%20%20%20%20accounts%0A%20%20%20%20%20locked-screen%0A%20%20%20%20%20restore-vault%0A%20%20%20%20%20identicon%0A%20%20%20%20%20config%0A%20%20%20%20%20info%0A%20%20%20%5D%0A%20%20%20%5Breducers%7C%0A%20%20%20%20%20app%0A%20%20%20%20%20confluxportal%0A%20%20%20%20%20identities%0A%20%20%20%5D%0A%20%20%20%5Bactions%7C%0A%20%20%20%20%20%5BbackgroundConnection%5D%0A%20%20%20%5D%0A%20%20%20%5Bcomponents%5D%3A-%3E%5Bactions%5D%0A%20%20%20%5Bactions%5D%3A-%3E%5Breducers%5D%0A%20%20%20%5Breducers%5D%3A-%3E%5Bcomponents%5D%0A%5D%0A%0A%5Bweb%20dapp%7C%0A%20%20%5Bui%20code%5D%0A%20%20%5Bjs-conflux-sdk%5D%0A%20%20%5Bconfluxportal-inpage%5D%0A%20%20%0A%20%20%5B%3Cactor%3Eui%20developer%5D%0A%20%20%5Bui%20developer%5D-%3E%5Bui%20code%5D%0A%20%20%5Bui%20code%5D%3C-%3E%5Bjs-conflux-sdk%5D%0A%20%20%5Bjs-conflux-sdk%5D%3C-%3E%5Bconfluxportal-inpage%5D%0A%5D%0A%0A%5Bconfluxportal-background%7C%0A%20%20%5Bprovider-engine%5D%0A%20%20%5Bhooked%20wallet%20subprovider%5D%0A%20%20%5Bid%20store%5D%0A%20%20%0A%20%20%5Bprovider-engine%5D%3C-%3E%5Bhooked%20wallet%20subprovider%5D%0A%20%20%5Bhooked%20wallet%20subprovider%5D%3C-%3E%5Bid%20store%5D%0A%20%20%5Bconfig%20manager%7C%0A%20%20%20%20%5Brpc%20configuration%5D%0A%20%20%20%20%5Bencrypted%20keys%5D%0A%20%20%20%20%5Bwallet%20nicknames%5D%0A%20%20%5D%0A%20%20%0A%20%20%5Bprovider-engine%5D%3C-%5Bconfig%20manager%5D%0A%20%20%5Bid%20store%5D%3C-%3E%5Bconfig%20manager%5D%0A%5D%0A%0A%5Buser%5D%3C-%3E%5Bconfluxportal-ui%5D%0A%0A%5Buser%5D%3C%3A--%3A%3E%5Bweb%20dapp%5D%0A%0A%5Bconfluxportal-contentscript%7C%0A%20%20%5Bplugin%20restart%20detector%5D%0A%20%20%5Brpc%20passthrough%5D%0A%5D%0A%0A%5Brpc%20%7C%0A%20%20%5Bethereum%20blockchain%20%7C%0A%20%20%20%20%5Bcontracts%5D%0A%20%20%20%20%5Baccounts%5D%0A%20%20%5D%0A%5D%0A%0A%5Bweb%20dapp%5D%3C%3A--%3A%3E%5Bconfluxportal-contentscript%5D%0A%5Bconfluxportal-contentscript%5D%3C-%3E%5Bconfluxportal-background%5D%0A%5Bconfluxportal-background%5D%3C-%3E%5Bconfluxportal-ui%5D%0A%5Bconfluxportal-background%5D%3C-%3E%5Brpc%5D%0A
10 changes: 5 additions & 5 deletions app/_locales/am/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
"message": "የዘር ሐረግዎን በድጋሚ መጠባበቂያ ለመያዝ ከፈለጉ፣ በቅንብሮች -> ግላዊነት ውስጥ ሊያገኙት ይችላሉ።"
},
"endOfFlowMessage7": {
"message": "ጥያቄዎች ካሉዎት ወይም የሆነ አጠራጣሪ ነገር ካዩ፣ እባክዎ ለ support@metamask.io ኢሜይል ይላኩ።"
"message": "ጥያቄዎች ካሉዎት ወይም የሆነ አጠራጣሪ ነገር ካዩ፣ እባክዎ ለ portal@conflux-chain.org ኢሜይል ይላኩ።"
},
"endOfFlowMessage8": {
"message": "MetaMask የዘር ሐረግዎን መልሶ ማግኘት አልቻለም። ተጨማሪ መረጃ ያግኙ።"
Expand Down Expand Up @@ -426,7 +426,7 @@
"message": "Ethereum ሕዝባዊ አድራሻ"
},
"etherscanView": {
"message": "መለያውን በ Etherscan ላይ ይመልከቱ"
"message": "መለያውን በ Confluxscan ላይ ይመልከቱ"
},
"estimatedProcessingTimes": {
"message": "የሚገመት የክወና ጊዜያት"
Expand Down Expand Up @@ -747,7 +747,7 @@
"message": "ስለ ዘር ሐረግዎ ይጠንቀቁ - ራሳቸውን ከ MetaMask ጋር ለማመሳሰል የሚሞከሩ ድረ ገጾች እናሉ ሰምተናል። MetaMask በጭራሽ የዘር ሐረግዎን አይጠይቅዎትም!"
},
"protectYourKeysMessage2": {
"message": "የሐረግዎን ደህንነት ይጠብቁ። ይም የሆነ አጠራጣሪ ነገር ካዩ ወይም ስለ አንድ ድረ ገጽ እርግጠኛ ካልሆኑ፣ እባክዎ ለ support@metamask.io ኢሜይል ይላኩ"
"message": "የሐረግዎን ደህንነት ይጠብቁ። ይም የሆነ አጠራጣሪ ነገር ካዩ ወይም ስለ አንድ ድረ ገጽ እርግጠኛ ካልሆኑ፣ እባክዎ ለ portal@conflux-chain.org ኢሜይል ይላኩ"
},
"rpcUrl": {
"message": "አዲስ የ RPC URL"
Expand Down Expand Up @@ -863,7 +863,7 @@
"message": "የተቀባይ አድራሻ"
},
"recipientAddressPlaceholder": {
"message": "ፍለጋ፣ ለሕዝብ ክፍት የሆነ አድራሻ (0x), ወይም ENS"
"message": "ፍለጋ፣ ለሕዝብ ክፍት የሆነ አድራሻ (0x)"
},
"rejectAll": {
"message": "ሁሉንም አትቀበል"
Expand Down Expand Up @@ -1309,7 +1309,7 @@
"message": "በ $1ይመልከቱ"
},
"viewOnEtherscan": {
"message": "Etherscan ላይ ይመልከቱ"
"message": "Confluxscan ላይ ይመልከቱ"
},
"visitWebSite": {
"message": "ድረ ገጻችንን ይጎብኙ"
Expand Down
10 changes: 5 additions & 5 deletions app/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
"message": "إذا كنت بحاجة إلى عمل نسخة احتياطية من عبارة الأمان الخاصة بك مرة أخرى، يمكنك العثور عليها في الإعدادات -> الأمان."
},
"endOfFlowMessage7": {
"message": "إذا كانت لديك أسئلة أو ترى شيئاً ما مريباً، فأرسل بريداً إلكترونياً إلى support@metamask.io."
"message": "إذا كانت لديك أسئلة أو ترى شيئاً ما مريباً، فأرسل بريداً إلكترونياً إلى portal@conflux-chain.org."
},
"endOfFlowMessage8": {
"message": "لا يمكن لـ MetaMask استعادة جملتك البذرية. تعلم المزيد."
Expand Down Expand Up @@ -426,7 +426,7 @@
"message": "عنوان الإيثيريوم العمومي"
},
"etherscanView": {
"message": "عرض الحساب على Etherscan"
"message": "عرض الحساب على Confluxscan"
},
"estimatedProcessingTimes": {
"message": "أوقات المعالجة المقدرة"
Expand Down Expand Up @@ -743,7 +743,7 @@
"message": "كن حذراً بشأن عبارة الأمان الخاصة بك - فهناك بلاغات عن مواقع ويب تحاول تقليد MetaMask. لن تسأل MetaMask عن عبارة الأمان الخاصة بك أبداً!"
},
"protectYourKeysMessage2": {
"message": "أبقِ عبارة الأمان الخاصة بك بأمان. إذا رأيت شيئاً مريباً، أو كنت غير متأكد من موقع ويب ما، أرسل بريداً إلكترونياً إلى support@metamask.io"
"message": "أبقِ عبارة الأمان الخاصة بك بأمان. إذا رأيت شيئاً مريباً، أو كنت غير متأكد من موقع ويب ما، أرسل بريداً إلكترونياً إلى portal@conflux-chain.org"
},
"rpcUrl": {
"message": "عنوان جديد لاستدعاء الإجراء عن بعد"
Expand Down Expand Up @@ -859,7 +859,7 @@
"message": "عنوان المستلم"
},
"recipientAddressPlaceholder": {
"message": "البحث، العنوان العام (0x)، أو ENS"
"message": "البحث، العنوان العام (0x)"
},
"rejectAll": {
"message": "رفض الكل"
Expand Down Expand Up @@ -1305,7 +1305,7 @@
"message": "عرض في $1"
},
"viewOnEtherscan": {
"message": "عرضه على Etherscan"
"message": "عرضه على Confluxscan"
},
"visitWebSite": {
"message": "قم بزيارة موقعنا على الإنترنت"
Expand Down
10 changes: 5 additions & 5 deletions app/_locales/bg/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
"message": "Ако отново трябва да архивирате основната си фраза, можете да я намерите в Настройки -> Защита."
},
"endOfFlowMessage7": {
"message": "Ако имате въпроси или забележите нещо съмнително, изпратете имейл на support@metamask.io."
"message": "Ако имате въпроси или забележите нещо съмнително, изпратете имейл на portal@conflux-chain.org."
},
"endOfFlowMessage8": {
"message": "MetaMask не може да възстанови ключовата Ви фраза. Научете повече."
Expand Down Expand Up @@ -426,7 +426,7 @@
"message": "Публичен адрес за етереум"
},
"etherscanView": {
"message": "Преглед на акаунта в Etherscan"
"message": "Преглед на акаунта в Confluxscan"
},
"estimatedProcessingTimes": {
"message": "Приблизителни времена за обработка"
Expand Down Expand Up @@ -746,7 +746,7 @@
"message": "Внимавайте с вашата фраза - има съобщения за уебсайтове, които се опитват да имитират MetaMask. MetaMask никога няма да поиска вашата фраза-зародиш!"
},
"protectYourKeysMessage2": {
"message": "Пазете фразата си. Ако забележите нещо съмнително или не сте сигурни за даден уебсайт, изпратете имейл на support@metamask.io"
"message": "Пазете фразата си. Ако забележите нещо съмнително или не сте сигурни за даден уебсайт, изпратете имейл на portal@conflux-chain.org"
},
"rpcUrl": {
"message": "Нов URL адрес за RPC"
Expand Down Expand Up @@ -862,7 +862,7 @@
"message": "Адрес на получателя"
},
"recipientAddressPlaceholder": {
"message": "Търсене, публичен адрес (0x) или ENS"
"message": "Търсене, публичен адрес (0x)"
},
"rejectAll": {
"message": "Отхвърлете всички"
Expand Down Expand Up @@ -1308,7 +1308,7 @@
"message": "Преглед на $1"
},
"viewOnEtherscan": {
"message": "Преглед на Etherscan"
"message": "Преглед на Confluxscan"
},
"visitWebSite": {
"message": "Посетете нашият уеб сайт"
Expand Down
10 changes: 5 additions & 5 deletions app/_locales/bn/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
"message": "আপনাকে আপনার সীড আবার ব্যাকআপ করতে হলে, আপনি সেটি সেটিংস -> নিরাপত্তায় পাবেন।"
},
"endOfFlowMessage7": {
"message": "আপনার কখনও কোনো প্রশ্ন থাকলে বা সন্দেহজনক কিছু দেখলে, support@metamask.io ঠিকানায় ইমেল করুন।"
"message": "আপনার কখনও কোনো প্রশ্ন থাকলে বা সন্দেহজনক কিছু দেখলে, portal@conflux-chain.org ঠিকানায় ইমেল করুন।"
},
"endOfFlowMessage8": {
"message": "MetaMask আপনার সীডফ্রেজ পুনরুদ্ধার করতে পারবে না। আরও জানুন।"
Expand Down Expand Up @@ -426,7 +426,7 @@
"message": "Ethereum পাবলিক অ্যাড্রেস"
},
"etherscanView": {
"message": "Etherscan এ অ্যাকাউন্ট দেখুন"
"message": "Confluxscan এ অ্যাকাউন্ট দেখুন"
},
"estimatedProcessingTimes": {
"message": "আনুমানিক প্রক্রিয়াকরণের সময়"
Expand Down Expand Up @@ -750,7 +750,7 @@
"message": "আপনার সীড ফ্রেজ বিষয়ে সাবধান থাকুন — এমন ওয়েবসাইটগুলির রিপোর্ট পাওয়া গেছে যেগুলি MetaMask কে অনুকরণ করার চেষ্টা করে। MetaMask কখনও আপনার সীড ফ্রেজ জিজ্ঞাসা করবে না।"
},
"protectYourKeysMessage2": {
"message": "আপনার ফ্রেজটিকে নিরাপদে রাখুন।সন্দেহজনক কিছু দেখলে, বা একটি ওয়েবসাইট সম্পর্কে নিশ্চিত না হলে, support@metamask.io এ ইমেল করুন"
"message": "আপনার ফ্রেজটিকে নিরাপদে রাখুন।সন্দেহজনক কিছু দেখলে, বা একটি ওয়েবসাইট সম্পর্কে নিশ্চিত না হলে, portal@conflux-chain.org এ ইমেল করুন"
},
"rpcUrl": {
"message": "নতুন RPC URL"
Expand Down Expand Up @@ -866,7 +866,7 @@
"message": "প্রাপকের ঠিকানা"
},
"recipientAddressPlaceholder": {
"message": "অনুসন্ধান, সার্বজনীন ঠিকানা (0x), বা ENS"
"message": "অনুসন্ধান, সার্বজনীন ঠিকানা (0x)"
},
"rejectAll": {
"message": "সব খারিজ করুন"
Expand Down Expand Up @@ -1312,7 +1312,7 @@
"message": "$1 এ দেখুন"
},
"viewOnEtherscan": {
"message": "Etherscan দেখুন"
"message": "Confluxscan দেখুন"
},
"visitWebSite": {
"message": "আমাদের ওয়েবসাইট দেখুন"
Expand Down

0 comments on commit ed63451

Please sign in to comment.