Commit Graph

12 Commits

Author SHA1 Message Date
saml33 2261c93e23 move interest/funding to history tab and align secondary tab styles 2022-06-20 14:29:32 +10:00
saml33 ef107546fc bg and border colors 2022-06-18 16:44:26 +10:00
saml33 7e3a0167a8 fix pages 2022-06-17 11:00:43 +10:00
saml33 cf31cebdd5
relative long/short chart (#299)
* relative long/short chart

* eth icon bug

* simplify language and chart styling

* fix sol icon bug

* sort segments and include unsettled positions

* make chart angle relative to value

* sol, msol color

* simplify math

* change language

* re-work account overview layout

* increase tabs margin-b

* correctly net unsettled perps and add dust treshold

* layout

* xl breakpoint

* add spot balances to store

* add missing file

* update long / short exposure values and charts

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-06-08 17:01:15 +03:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
rjpeterson 070cfd710c update translations, add names arg to ButtonGroup 2022-02-05 14:38:46 -06:00
Tyler Shipe ea1cd60d7a increase info density in user info table 2022-01-31 16:14:08 -05:00
saml33 d63536ef2f add open position count 2021-11-09 21:40:07 +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
saml33 3e1b872e42 align mobile tab headings 2021-09-20 22:24:42 +10:00
saml33 1830986e40 remove swipeable tabs from desktop views 2021-09-20 13:21:55 +10:00