Commit Graph

51 Commits

Author SHA1 Message Date
saml33 6442dc853e make menus consistent 2022-02-23 14:36:05 +11:00
saml33 f367b47829 fix hover style 2022-02-21 21:21:16 +11:00
saml33 2539d6f10a button colors 2022-02-20 14:16:57 +11:00
saml33 95d73df500 add markets page 2022-02-17 20:44:28 +11:00
saml33 0feb640c5f address team feedback 2022-02-11 16:16:44 +11:00
saml33 5d28deeb57 add favorites bar and change % 2022-02-09 21:55:54 +11:00
saml33 3a1848faf2 flyout menu 2022-02-05 12:06:20 +11:00
Tyler Shipe 351bc5d11d ensure mango account is loaded before connecting wallet 2022-01-26 13:37:02 -05:00
Vidor Gencel b59abf5f80
Profile Picture Support (#134)
* render profile picture

* update profile picture package

* Include PFP only if set

* no need to wait pfp to load

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-18 10:26:13 -08:00
tjshipe 8f380933bb
Revert "Mango Heroes NFT Integration" 2021-12-03 11:03:51 -05:00
Yandre 43776f6f03 Pulled latest code from main 2021-12-02 17:14:14 -05:00
Yandre a0cae7d5da Allowed all NFTs to be used as profile picture 2021-11-26 14:17:24 -05:00
saml33 d102a1d3d7 add spanish translations 2021-11-24 10:08:14 +11:00
Yandre e7b517bf6e Swapped Mango Heroes URLs to use IPFS dedicated gateway 2021-11-19 19:32:45 -05:00
Yandre 4956e28e9a Refactored the code 2021-11-11 11:51:54 -05:00
Yandre f5e0c63af1 Fixed merge conflicts 2021-11-11 09:45:10 -05:00
Yandre 9f66df9bf1 Completed code for Mango Heroes integration 2021-11-10 21:54:23 -05:00
saml33 d216ec1f1a add solflare 2021-11-10 22:46:54 +11:00
saml33 05d8bdd64a add translation keys 2021-11-04 23:25:11 +11:00
saml33 f3ea08c1c1 merge main 2021-11-04 20:17:39 +11:00
saml33 b8d34934d9 setup introjs tour 2021-10-29 23:05:55 +11:00
Tyler Shipe f2c484de63 allow changing settings before wallet is connected 2021-10-27 17:43:10 -04:00
rjpeterson bf679598bb
Add next-i18next translation framework & Traditional and Simplified Chinese UI Translations (#54)
* start english localization

* fix typo

* add to english localization

* add some zh translations, fix discrepencies in en

* add more chinese translations

* finish trad chinese translations

* add simplified folder, add locales.json with meta info, add latest ui updates in english

* add latest ui changes for chinese-trad and sort

* fix typo

* convert trad to simp

* Update common.json

* add review changes by @HZ2078

* fix typos

* add latest ui changes

* new ui change & trad-simp convert

* delete monospace from locales.json

* add next-i18next translation framework. Add translations up to #103

* replace more html with traslate tags

* lint & add more phrases

* add missing translations

* add language select dropdown

* add new update transltations

* add latest gui update translations

* add useTranslation to lang switch

* sort common.json, add lang descriptions

* update netlify config to support i18n

* make translations more consistent

Co-authored-by: Hz2078 <92381714+HZ2078@users.noreply.github.com>
Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
2021-10-20 13:42:40 +01:00
Yandre b15b7dded9 Added code to select multiple Mango Heroes as your profile picture (using images for now) 2021-10-16 19:42:50 -04:00
Yandre 8aa176a32b Added modal for changing avatar 2021-10-16 10:26:22 -04:00
Yandre 209b2c47df Added code to retrieve Metaplex metadata for NFTs 2021-10-14 14:53:14 -04:00
Yandre c12d8ea20d Fixed merge conflictions 2021-10-12 11:51:36 -04:00
saml33 5132fb9f8d show accounts and settings options on mobile 2021-10-09 21:05:45 +11:00
saml33 dbbb415060
Default market settings (#45)
* add default market settings to settings modal

* redirect to default market
2021-10-01 12:05:42 +02:00
saml33 9123e63344
Trade page mobile (#35)
* mobile styles for chart, position, account

* mobile styles for trade form

* trade page mobile styles

* tab layout

* fix unknown property fill-rule

* test swipeable tabs

* fix container height

* fix orderbook mobile styles

* account page mobile styles

* fix swipeable container height

* stats page mobile styles
2021-09-20 02:36:02 +02:00
Tyler Shipe 9162ffbe3a use dropdown for node selection 2021-09-13 19:27:02 -04:00
Tyler Shipe c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
Tyler Shipe 73fa197d5d remove unnecessary emotion styling; use asyncawait for sleeps 2021-09-03 15:02:51 -04:00
saml33 a47e678c2f improve mobile menu 2021-09-02 00:30:34 +10:00
Tyler Shipe c5866ee610 make health ratio red if init health is at or below zero 2021-08-04 17:47:05 -04:00
saml33 e810c5c215 improve theme and misc styling 2021-07-29 23:19:32 +10:00
saml33 7f53a44345 add name account ui 2021-07-24 21:49:18 +10:00
Tyler Shipe 53163e07a8 add more account values 2021-07-07 00:34:21 -04:00
Tyler Shipe 1b02a53314 update naming to match client 2021-06-23 11:32:33 -04:00
Tyler Shipe 370d25f7bd fix init and deposit; fix disconnect bug 2021-06-17 21:10:47 -04:00
Tyler Shipe cb331fb2c7 comment out stuff in the ui so it works 2021-06-16 21:50:16 -04:00
saml33 3b5f22b815
User account page (#22)
* layout, overview, start on assets, borrows and open orders

* trade history, sortable data hook for tables, borrow page

* handle deposit and withdraw buttons

* borrow modal ui and integration + settle borrow for individual assets

* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks

* account switch/creation flow

* accounts modal, update to usebalances hook

* handle settle, deposit before settle, save last account

* disable borrow/withdraw button when no account
2021-06-05 10:11:44 -04:00
Ralfs a58a32e9a1 Lint fixes 2021-05-20 14:21:36 +03:00
saml33 8aa8c5929b
improve connect wallet button styles (#11) 2021-05-18 13:57:10 +03:00
saml33 a49f7e2fe9
add market data header to trade page (#9)
* add market data header to trade page
2021-05-18 08:33:04 +03:00
Tyler Shipe 02b2fed058 better handle latency from wallet providers 2021-05-04 19:19:48 -04:00
Tyler Shipe f95988c88b fix safari button styling 2021-04-25 17:22:14 -04:00
Tyler Shipe 526236e46f fix console error with localstorage hook 2021-04-25 13:08:11 -04:00
Tyler Shipe 767facf575 always show settle all button until show/hide logic is updated 2021-04-20 14:45:23 -04:00
Tyler Shipe 74d9f70dbf implement withdraw max with borrow 2021-04-20 10:09:25 -04:00