Commit Graph

22 Commits

Author SHA1 Message Date
saml33 b5efc88d30 use label component on form elements 2022-02-23 10:30:54 +11:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
saml33 0be93958c7 align input styles 2022-02-20 22:38:40 +11: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
Tyler Shipe 9ca3b8826b handle missing wallet tokens in deposit 2021-06-21 10:36:04 -04:00
Maximilian Schneider 2307246dd0 fix deposit modal rendering 2021-06-17 14:42:39 -04:00
Maximilian Schneider 275fafa4c4 refactor deposit modal 2021-06-17 14:03:47 -04:00
Maximilian Schneider 8aed0f0840 expose market config in store and switch between spot & perp 2021-06-17 01:38:49 -04:00
saml33 e14350e624
disable 0 bal assets for deposits and fix withdraw validations (#25) 2021-06-11 14:23:51 -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 a00adc54d6 Support wrapped SOL 2021-05-20 21:51:00 +03:00
Ralfs 021e2988bb Added icon and fixed a check for token length 2021-05-20 14:35:35 +03:00
Tyler Shipe 3a3682c085 Disable srm deposit button if srm wallet account doesn't exist 2021-05-05 12:43:13 -04:00
Tyler Shipe fe5172803a handle missing tokens for srm 2021-04-29 16:28:55 -04:00
Tyler Shipe 6fbd949b9f Use the vip-api endpoint 2021-04-29 13:42:53 -04:00
Tyler Shipe af33279f42 show to correct account address in deposit modal 2021-04-26 13:09:03 -04:00
saml33 fc751fe00c
More timeframes to charts and chart theming (#2)
* topbar action tooltips. flip refresh icon. max with borrow button
* more timeframes and chart theming
* fix asymmetric header button
2021-04-25 01:02:13 +03:00
saml33 9a3ef99b3d include borrow switch and styling 2021-04-21 10:39:19 +10:00
Tyler Shipe 4de2c58ebb hide balance header in withdraw modal until balances are displayed 2021-04-20 18:13:35 -04:00
Tyler Shipe 64600035e5 fix balance display in deposit modal 2021-04-20 18:10:10 -04:00
Tyler Shipe 349966cb7e upgrade to mango-client 0.1.12 and add refresh button to account select 2021-04-20 11:46:56 -04:00
Tyler Shipe 61a920f017 hide some ui changes so we can deploy 2021-04-19 12:15:49 -04:00