From 4ce08cad533666b8d748650aae1599ba4a2761af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Sat, 15 Nov 2025 13:43:48 +0100 Subject: [PATCH] feat: Add Crypto Dashboard with dynamic data and menu updates (#2527) --- .changeset/crypto-dashboard.md | 6 + .changeset/crypto-data-files.md | 6 + .changeset/flags-avatars-updates.md | 6 + .changeset/menu-structure-refactor.md | 6 + .changeset/navbar-side-refactor.md | 7 + core/scss/ui/_cards.scss | 13 + preview/pages/badges.html | 37 +- preview/pages/dashboard-crypto.html | 301 +++++++++ preview/pages/index.html | 2 +- shared/data/charts.json | 221 +++++++ shared/data/crypto-currencies.json | 882 ++++---------------------- shared/data/crypto-markets.json | 122 ++++ shared/data/crypto-orders.json | 106 ++++ shared/data/menu.json | 17 +- shared/includes/ui/card-dropdown.html | 2 +- shared/includes/ui/chart.html | 12 +- shared/includes/ui/nav-segmented.html | 6 +- 17 files changed, 953 insertions(+), 799 deletions(-) create mode 100644 .changeset/crypto-dashboard.md create mode 100644 .changeset/crypto-data-files.md create mode 100644 .changeset/flags-avatars-updates.md create mode 100644 .changeset/menu-structure-refactor.md create mode 100644 .changeset/navbar-side-refactor.md create mode 100644 preview/pages/dashboard-crypto.html create mode 100644 shared/data/crypto-markets.json create mode 100644 shared/data/crypto-orders.json diff --git a/.changeset/crypto-dashboard.md b/.changeset/crypto-dashboard.md new file mode 100644 index 000000000..fcafd4021 --- /dev/null +++ b/.changeset/crypto-dashboard.md @@ -0,0 +1,6 @@ +--- +"@tabler/preview": minor +--- + +Added new Crypto Dashboard page with cryptocurrency portfolio overview, market data, and order history. + diff --git a/.changeset/crypto-data-files.md b/.changeset/crypto-data-files.md new file mode 100644 index 000000000..b0322e7ba --- /dev/null +++ b/.changeset/crypto-data-files.md @@ -0,0 +1,6 @@ +--- +"@tabler/preview": patch +--- + +Added crypto markets and orders data files (`crypto-markets.json`, `crypto-orders.json`) for cryptocurrency dashboard functionality. + diff --git a/.changeset/flags-avatars-updates.md b/.changeset/flags-avatars-updates.md new file mode 100644 index 000000000..233ff46e7 --- /dev/null +++ b/.changeset/flags-avatars-updates.md @@ -0,0 +1,6 @@ +--- +"@tabler/core": patch +--- + +Updated flags and avatars styling for better visual consistency. + diff --git a/.changeset/menu-structure-refactor.md b/.changeset/menu-structure-refactor.md new file mode 100644 index 000000000..41b38a59b --- /dev/null +++ b/.changeset/menu-structure-refactor.md @@ -0,0 +1,6 @@ +--- +"@tabler/preview": minor +--- + +Refactored page-menu structure for dashboards and updated navigation menu organization. + diff --git a/.changeset/navbar-side-refactor.md b/.changeset/navbar-side-refactor.md new file mode 100644 index 000000000..7916258d2 --- /dev/null +++ b/.changeset/navbar-side-refactor.md @@ -0,0 +1,7 @@ +--- +"@tabler/core": minor +"@tabler/preview": minor +--- + +Refactored navbar-side component by consolidating separate include files (apps, language, notifications, theme, user) into a single `navbar-side.html` file for better maintainability. + diff --git a/core/scss/ui/_cards.scss b/core/scss/ui/_cards.scss index 70c1758f5..c18de8cdd 100644 --- a/core/scss/ui/_cards.scss +++ b/core/scss/ui/_cards.scss @@ -426,6 +426,18 @@ Card table thead, tbody, tfoot { + &:last-child { + tr:last-child { + > *:last-child { + border-bottom-right-radius: calc(var(--#{$prefix}card-border-radius) - var(--#{$prefix}card-border-width)); + } + + > *:first-child { + border-bottom-left-radius: calc(var(--#{$prefix}card-border-radius) - var(--#{$prefix}card-border-width)); + } + } + } + tr { &:first-child { border-top: 0; @@ -447,6 +459,7 @@ Card table } } } + tfoot { tr { &:last-child { diff --git a/preview/pages/badges.html b/preview/pages/badges.html index 25070859e..d8151afc8 100644 --- a/preview/pages/badges.html +++ b/preview/pages/badges.html @@ -6,7 +6,8 @@ layout: default permalink: badges.html --- -{% assign colors = "" | split: "," %} {% assign colors = colors | push: "default" %} {% for color in site.colors %} {% assign colors = colors | push: color[0] +{% assign colors = "" | split: "," %} {% assign colors = colors | push: "default" %} {% for color in site.colors %} {% +assign colors = colors | push: color[0] %} {% endfor %} {% assign colors = colors | push: "dark" | push: "light" %}
@@ -33,11 +34,15 @@ permalink: badges.html {% assign sizes = "sm,md,lg" | split: "," %} {% for size in sizes %}
Default - {% include "ui/icon.html" icon="check" %} Left icon - Right icon{% include "ui/icon.html" icon="arrow-right" %} - {% include "ui/icon.html" icon="star" type="filled" %} + {% include "ui/icon.html" + icon="check" %} Left icon + + Right icon{% include "ui/icon.html" + icon="arrow-right" %} + + {% include + "ui/icon.html" icon="star" type="filled" %} +
{% endfor %}
@@ -50,7 +55,8 @@ permalink: badges.html

Positioned badges

- + - - - @@ -129,7 +135,8 @@ permalink: badges.html

Badges with icons

{% for color in colors %} - {% include "ui/icon.html" icon="star" type="filled" %} {{ color | uc_first }} + {% include "ui/icon.html" icon="star" + type="filled" %} {{ color | uc_first }} {% endfor %}
@@ -145,7 +152,8 @@ permalink: badges.html
{% for color in colors %} - + {% endfor %}
@@ -157,7 +165,8 @@ permalink: badges.html
{% for color in colors %} {% endfor %}
@@ -179,4 +188,4 @@ permalink: badges.html - + \ No newline at end of file diff --git a/preview/pages/dashboard-crypto.html b/preview/pages/dashboard-crypto.html new file mode 100644 index 000000000..b17148e0c --- /dev/null +++ b/preview/pages/dashboard-crypto.html @@ -0,0 +1,301 @@ +--- +title: Crypto Dashboard +page-header: Crypto Dashboard +page-menu: dashboards.crypto +page-libs: [apexcharts] +layout: default +permalink: dashboard-crypto.html +--- + +{% assign btc = crypto-currencies | where: "symbol", "BTC" | first %} +{% assign ltc = crypto-currencies | where: "symbol", "LTC" | first %} +{% assign eth = crypto-currencies | where: "symbol", "ETH" | first %} +{% assign xmr = crypto-currencies | where: "symbol", "XMR" | first %} +{% assign btc_balance = 2.30 %} +{% assign btc_price_num = btc.price | remove: "$" | remove: "," | plus: 0 %} +{% assign total_usd_raw = btc_price_num | times: btc_balance %} +{% assign ltc_price_num = ltc.price | remove: "$" | remove: "," | plus: 0 %} +{% assign eth_price_num = eth.price | remove: "$" | remove: "," | plus: 0 %} +{% assign xmr_price_num = xmr.price | remove: "$" | remove: "," | plus: 0 %} +{% assign ltc_btc = ltc_price_num | divided_by: btc_price_num %} +{% assign eth_btc = eth_price_num | divided_by: btc_price_num %} +{% assign xmr_btc = xmr_price_num | divided_by: btc_price_num %} + +
+
+
+
+
+
+
+
+
Total balance
+
+
+ {% include "ui/avatar.html" icon="currency-dollar" %} +
+
+
+ ${{ total_usd_raw | round | format_number }} + {{ btc_balance }} {{ btc.symbol }} +
+
+ {% include "ui/trending.html" value=btc.p24h %} + Since last week +
+
+
+
+ +
+
+
+
+
+
USD/BTC
+
+
+ {% include "ui/avatar.html" icon="currency-bitcoin" %} +
+
+
+ {{ btc.price }} + {{ btc.price}} +
+
+ Volume: {{ btc.volume-24h }} +
+
+
+
+ +
+
+
+
+
+
LTC/BTC
+
+
+ {% include "ui/avatar.html" icon="currency-litecoin" %} +
+
+
+ {{ ltc_btc | round: 8 }} + {{ ltc.price }} +
+
+ Volume: {{ ltc.volume-24h | remove: "$" }} +
+
+
+
+ +
+
+
+
+
+
ETH/BTC
+
+
+ {% include "ui/avatar.html" icon="currency-ethereum" %} +
+
+
+ {{ eth_btc | round: 8 }} + {{ eth.price }} +
+
+ Volume: {{ eth.volume-24h | remove: "$" }} +
+
+
+
+ +
+
+
+
+
+
XMR/BTC
+
+
+ {% include "ui/avatar.html" icon="currency-monero" %} +
+
+
+ {{ xmr_btc | round: 8 }} + {{ xmr.price }} +
+
+ Volume: {{ xmr.volume-24h | remove: "$" }} +
+
+
+
+
+
+
+
+
+
+
+
Markets
+
+ {% include "ui/card-dropdown.html" %} +
+
+ + + + + + + + + + + + {% for market in crypto-markets limit: 10 %} + + + + + + + + {% endfor %} + +
+ {% include "ui/switch-icon.html" icon="star" icon-b-color="yellow" variant="slide-up" %} + CoinPriceVolumeChange
+ {% include "ui/switch-icon.html" icon="star" icon-b-color="yellow" variant="slide-up" %} + {{ market.coin }}{{ market.price }}{{ market.volume }} + {% include "ui/trending.html" value=market.change %} +
+
+
+ +
+
+
+
LTC/BTC
+
+ {% include "ui/nav-segmented.html" items="1m,5m,30m,1h,1d" name="timeframe" size="sm" default=2 %} +
+
+
+ {% include "ui/chart.html" chart-id="dashboard-crypto-candlestick" height=28 %} +
+
+
+
+
+
+
+
+
+
+
Operations
+
+ {% include "ui/nav-segmented.html" items="Buy,Sell,Send" name="operations" size="sm" %} +
+
+ +
+

Place new order:

+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ +
+ +

The final amount could change depending on current market conditions.

+
+
+
+ +
+
+
+
Sell Orders
+
+ +
+
+ + + + + + + + + + {% for order in crypto-orders.sell_orders %} + + + + + + {% endfor %} + +
PriceBTCSum(BTC)
{{ order.price }}{{ order.btc }}{{ order.sum }}
+
+
+ +
+
+
+
Buy Orders
+
+ +
+
+ + + + + + + + + + {% for order in crypto-orders.buy_orders %} + + + + + + {% endfor %} + +
PriceBTCSum(BTC)
{{ order.price }}{{ order.btc }}{{ order.sum }}
+
+
+
+
+
+ + diff --git a/preview/pages/index.html b/preview/pages/index.html index 981c42de2..a168fc7e9 100644 --- a/preview/pages/index.html +++ b/preview/pages/index.html @@ -1,5 +1,5 @@ --- -page-menu: home +page-menu: dashboards.default layout: homepage permalink: index.html --- diff --git a/shared/data/charts.json b/shared/data/charts.json index 938e7341b..16f817cfd 100644 --- a/shared/data/charts.json +++ b/shared/data/charts.json @@ -2057,5 +2057,226 @@ ] } ] + }, + "dashboard-crypto-candlestick": { + "type": "candlestick", + "height": 29, + "toolbar": true, + "datetime": true, + "y-tooltip": true, + "series": [ + { + "name": "LTC/BTC", + "candlestick-data": [ + { + "x": 1735686000000, + "y": [ + 98803.1, + 102306.14, + 88978.24, + 94328.03 + ] + }, + { + "x": 1738278000000, + "y": [ + 95236.1, + 97032.03, + 87375.16, + 96251.77 + ] + }, + { + "x": 1740870000000, + "y": [ + 96487.56, + 103797.77, + 90697.28, + 90697.28 + ] + }, + { + "x": 1743458400000, + "y": [ + 91806.76, + 94895.54, + 87431.18, + 87431.18 + ] + }, + { + "x": 1746050400000, + "y": [ + 87011.25, + 93211.62, + 84356.3, + 87282.02 + ] + }, + { + "x": 1748642400000, + "y": [ + 88933.8, + 94105.65, + 87086.95, + 89538.17 + ] + }, + { + "x": 1751234400000, + "y": [ + 90270.85, + 95138.57, + 88785.87, + 92076.59 + ] + }, + { + "x": 1753826400000, + "y": [ + 91635.08, + 95329.73, + 88139.43, + 93398.3 + ] + }, + { + "x": 1756418400000, + "y": [ + 94084.03, + 96110.64, + 90758.23, + 92847.27 + ] + }, + { + "x": 1759010400000, + "y": [ + 94427.13, + 104031.87, + 91181.21, + 91387.19 + ] + }, + { + "x": 1761606000000, + "y": [ + 89676.79, + 96432.19, + 86003.07, + 91270.33 + ] + }, + { + "x": 1764198000000, + "y": [ + 90221.19, + 92256.21, + 87250.08, + 90572.57 + ] + }, + { + "x": 1766790000000, + "y": [ + 91467.48, + 99939.37, + 84023.53, + 91412.42 + ] + }, + { + "x": 1769382000000, + "y": [ + 92347.68, + 102495.71, + 84694.68, + 86861.46 + ] + }, + { + "x": 1771974000000, + "y": [ + 86450.15, + 97703.82, + 73654.73, + 89304.96 + ] + }, + { + "x": 1774566000000, + "y": [ + 89954.07, + 93720.75, + 83099.84, + 86765.37 + ] + }, + { + "x": 1777154400000, + "y": [ + 85041.33, + 93162.71, + 79493.01, + 80950.82 + ] + }, + { + "x": 1779746400000, + "y": [ + 81356.55, + 89872.84, + 75889.88, + 84397.86 + ] + }, + { + "x": 1782338400000, + "y": [ + 84500.33, + 86553.16, + 81499.11, + 86553.16 + ] + }, + { + "x": 1784930400000, + "y": [ + 87615.26, + 93796.77, + 81616.41, + 87524.49 + ] + }, + { + "x": 1787522400000, + "y": [ + 86016.31, + 91621.26, + 80661.81, + 83468.77 + ] + }, + { + "x": 1790114400000, + "y": [ + 84712.23, + 90825.8, + 81702.56, + 86377.51 + ] + }, + { + "x": 1792706400000, + "y": [ + 86028.52, + 91660.63, + 77064.28, + 83253.51 + ] + } + ] + } + ] } } \ No newline at end of file diff --git a/shared/data/crypto-currencies.json b/shared/data/crypto-currencies.json index 93f69f55f..0244154fd 100644 --- a/shared/data/crypto-currencies.json +++ b/shared/data/crypto-currencies.json @@ -1,71 +1,78 @@ [ { "name": "Bitcoin", - "price": "$10513.00", - "p24h": -7, - "market-cap": "$179,470,305,923", - "circulating-supply": "16,819,612 BTC", - "volume-24h": "$9,578,830,000", + "symbol": "BTC", + "price": "$110,237", + "p24h": 0, + "market-cap": "$2,198,205,761,681", + "circulating-supply": "19,943,003 BTC", + "volume-24h": "$34,042,670,971", "cmgr": "8.11% / 57", "inflation": "0.36%", "icon": "bitcoin.svg" }, { "name": "Ethereum", - "price": "$966.61", - "p24h": -6, - "market-cap": "$95,270,125,036", - "circulating-supply": "97,145,024 ETH", - "volume-24h": "$3,466,060,000", + "symbol": "ETH", + "price": "$3,890.16", + "p24h": 1, + "market-cap": "$469,527,098,235", + "circulating-supply": "120,697,920 ETH", + "volume-24h": "$18,899,881,132", "cmgr": "22.62% / 29", "inflation": "0.64%", "icon": "ethereum.svg" }, { "name": "Ripple", - "price": "$1.2029", - "p24h": -11, - "market-cap": "$47,649,145,657", - "circulating-supply": "38,739,144,704 XRP", - "volume-24h": "$2,081,450,000", + "symbol": "XRP", + "price": "$2.5", + "p24h": -1, + "market-cap": "$150,202,261,516", + "circulating-supply": "60,107,199,237 XRP", + "volume-24h": "$2,510,205,283", "cmgr": "10.85% / 53", "inflation": "0.06%", "icon": "ripple.svg" }, { "name": "Bitcoin Cash", - "price": "$1547.00", - "p24h": -11, - "market-cap": "$26,720,210,956", - "circulating-supply": "16,925,988 BCH", - "volume-24h": "$598,337,000", + "symbol": "BCH", + "price": "$552.65", + "p24h": -1, + "market-cap": "$11,023,729,680", + "circulating-supply": "19,947,141 BCH", + "volume-24h": "$318,920,049", "cmgr": "21.30% / 6", "inflation": "0.32%" }, { "name": "Cardano", - "price": "$0.550768", - "p24h": -9, - "market-cap": "$14,279,800,786", - "circulating-supply": "25,927,069,696 ADA", - "volume-24h": "$466,381,000", + "symbol": "ADA", + "price": "$0.6104", + "p24h": 0, + "market-cap": "$22,307,571,742", + "circulating-supply": "36,581,028,962 ADA", + "volume-24h": "$866,976,297", "cmgr": "205.35% / 3", "inflation": "0.00%", "icon": "cardano.svg" }, { "name": "Litecoin", - "price": "$173.86", - "p24h": -7, - "market-cap": "$9,670,920,267", - "circulating-supply": "54,873,584 LTC", - "volume-24h": "$430,524,000", + "symbol": "LTC", + "price": "$98.6", + "p24h": 3, + "market-cap": "$7,542,380,795", + "circulating-supply": "76,472,846 LTC", + "volume-24h": "$618,605,108", "cmgr": "6.87% / 57", "inflation": "0.80%", "icon": "litecoin.svg" }, { "name": "EOS", + "symbol": "EOS", "price": "$13.394", "p24h": 5, "market-cap": "$8,420,143,033", @@ -77,6 +84,7 @@ }, { "name": "NEM", + "symbol": "XEM", "price": "$0.935049", "p24h": -11, "market-cap": "$8,415,440,999", @@ -88,16 +96,18 @@ }, { "name": "Stellar", - "price": "$0.467813", - "p24h": 2, - "market-cap": "$8,358,735,080", - "circulating-supply": "17,867,683,840 XLM", - "volume-24h": "$370,297,000", + "symbol": "XLM", + "price": "$0.3053", + "p24h": -1, + "market-cap": "$9,786,919,748", + "circulating-supply": "32,048,616,355 XLM", + "volume-24h": "$145,179,714", "cmgr": "13.12% / 41", "inflation": "0.19%" }, { "name": "NEO", + "symbol": "NEO", "price": "$118.61", "p24h": -9, "market-cap": "$7,693,400,000", @@ -108,6 +118,7 @@ }, { "name": "IOTA", + "symbol": "MIOTA", "price": "$2.34", "p24h": -14, "market-cap": "$6,504,100,862", @@ -118,6 +129,7 @@ }, { "name": "Dash", + "symbol": "DASH", "price": "$747.222", "p24h": -8, "market-cap": "$5,881,413,815", @@ -129,36 +141,40 @@ }, { "name": "Monero", - "price": "$305.16", - "p24h": -11, - "market-cap": "$4,778,157,533", - "circulating-supply": "15,633,286 XMR", - "volume-24h": "$100,788,000", + "symbol": "XMR", + "price": "$342.08", + "p24h": 4, + "market-cap": "$6,310,740,817", + "circulating-supply": "18,446,744 XMR", + "volume-24h": "$151,720,448", "cmgr": "11.88% / 44", "inflation": "0.78%" }, { "name": "TRON", - "price": "$0.067691", - "p24h": -5, - "market-cap": "$4,450,560,896", - "circulating-supply": "65,748,193,280 TRX", - "volume-24h": "$581,651,000", + "symbol": "TRX", + "price": "$0.2968", + "p24h": 0, + "market-cap": "$28,094,476,315", + "circulating-supply": "94,666,027,313 TRX", + "volume-24h": "$461,576,512", "cmgr": "142.69% / 4", "inflation": "0.00%" }, { "name": "Bitcoin Gold", - "price": "$181.39", - "p24h": -7, - "market-cap": "$3,084,108,676", - "circulating-supply": "16,779,700 BTG", - "volume-24h": "$199,652,000", + "symbol": "BTG", + "price": "$110,237", + "p24h": 0, + "market-cap": "$2,198,205,761,681", + "circulating-supply": "19,943,003 BTC", + "volume-24h": "$34,042,670,971", "cmgr": "-25.44% / 3", "inflation": "0.34%" }, { "name": "ICON", + "symbol": "ICX", "price": "$7.90", "p24h": -10, "market-cap": "$3,002,355,531", @@ -169,6 +185,7 @@ }, { "name": "Qtum", + "symbol": "QTUM", "price": "$38.37", "p24h": -9, "market-cap": "$2,832,729,404", @@ -179,16 +196,18 @@ }, { "name": "Ethereum Classic", - "price": "$28.023", - "p24h": -6, - "market-cap": "$2,827,320,112", - "circulating-supply": "99,308,752 ETC", - "volume-24h": "$303,356,000", + "symbol": "ETC", + "price": "$16.33", + "p24h": 2, + "market-cap": "$2,518,726,049", + "circulating-supply": "154,152,501 ETC", + "volume-24h": "$58,804,249", "cmgr": "22.79% / 18", "inflation": "0.74%" }, { "name": "Lisk", + "symbol": "LSK", "price": "$20.48", "p24h": -6, "market-cap": "$2,401,760,051", @@ -199,16 +218,18 @@ }, { "name": "VeChain", - "price": "$8.33", - "p24h": 9, - "market-cap": "$2,308,764,732", - "circulating-supply": "277,162,624 VEN", - "volume-24h": "$348,907,000", + "symbol": "VET", + "price": "$0.0162", + "p24h": 3, + "market-cap": "$1,395,936,275", + "circulating-supply": "85,985,041,177 VET", + "volume-24h": "$23,302,094", "cmgr": "101.15% / 5", "inflation": "-0.06%" }, { "name": "RaiBlocks", + "symbol": "XRB", "price": "$14.46", "p24h": -15, "market-cap": "$1,926,770,258", @@ -219,16 +240,18 @@ }, { "name": "Tether", - "price": "$1.0097", - "p24h": -1, - "market-cap": "$1,618,090,823", - "circulating-supply": "1,618,090,880 USDT", - "volume-24h": "$3,022,620,000", + "symbol": "USDT", + "price": "$0.9999", + "p24h": 0, + "market-cap": "$183,435,317,256", + "circulating-supply": "183,453,580,926 USDT", + "volume-24h": "$64,663,648,727", "cmgr": "0.03% / 33", "inflation": "33.71%" }, { "name": "OmiseGO", + "symbol": "OMG", "price": "$14.83", "p24h": -11, "market-cap": "$1,532,679,131", @@ -239,6 +262,7 @@ }, { "name": "Populous", + "symbol": "PPT", "price": "$41.22", "p24h": -3, "market-cap": "$1,525,305,992", @@ -249,16 +273,18 @@ }, { "name": "Zcash", - "price": "$431.43", - "p24h": -10, - "market-cap": "$1,358,979,711", - "circulating-supply": "3,114,069 ZEC", - "volume-24h": "$71,375,000", + "symbol": "ZEC", + "price": "$415.45", + "p24h": 9, + "market-cap": "$6,842,634,549", + "circulating-supply": "16,363,300 ZEC", + "volume-24h": "$1,346,069,232", "cmgr": "-13.51% / 15", "inflation": "7.44%" }, { "name": "Verge", + "symbol": "XVG", "price": "$0.089875", "p24h": -13, "market-cap": "$1,303,358,298", @@ -269,16 +295,18 @@ }, { "name": "Binance Coin", - "price": "$12.60", - "p24h": -9, - "market-cap": "$1,247,576,400", - "circulating-supply": "99,014,000 BNB", - "volume-24h": "$129,483,000", + "symbol": "BNB", + "price": "$1,092.01", + "p24h": 1, + "market-cap": "$150,411,565,706", + "circulating-supply": "137,737,889 BNB", + "volume-24h": "$1,318,099,462", "cmgr": "122.80% / 6", "inflation": "0.08%" }, { "name": "Siacoin", + "symbol": "SC", "price": "$0.037594", "p24h": -13, "market-cap": "$1,180,306,719", @@ -289,6 +317,7 @@ }, { "name": "Stratis", + "symbol": "STRAT", "price": "$11.50", "p24h": -13, "market-cap": "$1,135,175,764", @@ -299,6 +328,7 @@ }, { "name": "Bytecoin", + "symbol": "BCN", "price": "$0.006127", "p24h": -8, "market-cap": "$1,125,403,469", @@ -306,705 +336,5 @@ "volume-24h": "$7,904,870", "cmgr": "11.39% / 43", "inflation": "0.23%" - }, - { - "name": "Steem", - "price": "$4.13", - "p24h": -14, - "market-cap": "$1,022,039,920", - "circulating-supply": "247,467,296 STEEM", - "volume-24h": "$29,580,000", - "cmgr": "10.15% / 21", - "inflation": "0.68%" - }, - { - "name": "Ardor", - "price": "$0.995641", - "p24h": -9, - "market-cap": "$994,644,856", - "circulating-supply": "998,999,488 ARDR", - "volume-24h": "$143,752,000", - "cmgr": "20.75% / 18", - "inflation": "-0.41%" - }, - { - "name": "Status", - "price": "$0.264278", - "p24h": -9, - "market-cap": "$917,172,514", - "circulating-supply": "3,470,483,712 SNT", - "volume-24h": "$355,833,000", - "cmgr": "24.53% / 7", - "inflation": "0.00%" - }, - { - "name": "Maker", - "price": "$1480.84", - "p24h": -7, - "market-cap": "$915,496,751", - "circulating-supply": "618,228 MKR", - "volume-24h": "$1,662,690", - "cmgr": "42.77% / 12", - "inflation": "-" - }, - { - "name": "Augur", - "price": "$81.55", - "p24h": -5, - "market-cap": "$897,050,000", - "circulating-supply": "11,000,000 REP", - "volume-24h": "$16,086,600", - "cmgr": "16.36% / 27", - "inflation": "0.01%" - }, - { - "name": "BitShares", - "price": "$0.317687", - "p24h": -9, - "market-cap": "$828,330,730", - "circulating-supply": "2,607,379,968 BTS", - "volume-24h": "$43,185,600", - "cmgr": "8.22% / 42", - "inflation": "0.06%" - }, - { - "name": "0x", - "price": "$1.66", - "p24h": -3, - "market-cap": "$827,949,569", - "circulating-supply": "498,764,800 ZRX", - "volume-24h": "$20,493,000", - "cmgr": "72.59% / 5", - "inflation": "-0.24%" - }, - { - "name": "Waves", - "price": "$8.13", - "p24h": -1, - "market-cap": "$813,000,000", - "circulating-supply": "100,000,000 WAVES", - "volume-24h": "$26,239,600", - "cmgr": "10.11% / 19", - "inflation": "-0.01%" - }, - { - "name": "Dogecoin", - "price": "$0.00659", - "p24h": -8, - "market-cap": "$743,890,685", - "circulating-supply": "112,881,745,920 DOGE", - "volume-24h": "$20,613,400", - "cmgr": "5.35% / 49", - "inflation": "0.36%" - }, - { - "name": "KuCoin Shares", - "price": "$7.91", - "p24h": -17, - "market-cap": "$720,150,731", - "circulating-supply": "91,043,072 KCS", - "volume-24h": "$5,481,780", - "cmgr": "276.01% / 2", - "inflation": "-0.04%" - }, - { - "name": "Electroneum", - "price": "$0.120304", - "p24h": -7, - "market-cap": "$712,763,819", - "circulating-supply": "5,924,689,408 ETN", - "volume-24h": "$5,103,980", - "cmgr": "19.45% / 2", - "inflation": "18.19%" - }, - { - "name": "Walton", - "price": "$27.79", - "p24h": 1, - "market-cap": "$691,920,366", - "circulating-supply": "24,898,178 WTC", - "volume-24h": "$50,403,900", - "cmgr": "92.30% / 5", - "inflation": "0.00%" - }, - { - "name": "Veritaseum", - "price": "$335.15", - "p24h": -8, - "market-cap": "$682,581,571", - "circulating-supply": "2,036,645 VERI", - "volume-24h": "$628,128", - "cmgr": "33.82% / 7", - "inflation": "0.00%" - }, - { - "name": "Komodo", - "price": "$5.96", - "p24h": -11, - "market-cap": "$614,151,644", - "circulating-supply": "103,045,576 KMD", - "volume-24h": "$7,010,050", - "cmgr": "45.00% / 11", - "inflation": "-1.09%" - }, - { - "name": "Decred", - "price": "$91.29", - "p24h": -8, - "market-cap": "$603,249,158", - "circulating-supply": "6,608,053 DCR", - "volume-24h": "$1,304,410", - "cmgr": "22.47% / 23", - "inflation": "3.04%" - }, - { - "name": "Dragonchain", - "price": "$2.39", - "p24h": -11, - "market-cap": "$569,828,436", - "circulating-supply": "238,421,936 DRGN", - "volume-24h": "$3,490,920", - "cmgr": "926.29% / 1", - "inflation": "0.14%" - }, - { - "name": "Dentacoin", - "price": "$0.001735", - "p24h": -5, - "market-cap": "$564,205,023", - "circulating-supply": "325,190,221,824 DCN", - "volume-24h": "$1,082,850", - "cmgr": "43.44% / 5", - "inflation": "0.05%" - }, - { - "name": "Loopring", - "price": "$0.965091", - "p24h": -9, - "market-cap": "$541,577,621", - "circulating-supply": "561,167,424 LRC", - "volume-24h": "$11,179,900", - "cmgr": "55.67% / 5", - "inflation": "95.51%" - }, - { - "name": "Ark", - "price": "$5.36", - "p24h": -11, - "market-cap": "$525,179,682", - "circulating-supply": "97,981,280 ARK", - "volume-24h": "$7,183,610", - "cmgr": "68.16% / 10", - "inflation": "-0.07%" - }, - { - "name": "SALT", - "price": "$7.23", - "p24h": -11, - "market-cap": "$514,095,078", - "circulating-supply": "71,105,824 SALT", - "volume-24h": "$12,135,100", - "cmgr": "4.35% / 4", - "inflation": "38.07%" - }, - { - "name": "QASH", - "price": "$1.46", - "p24h": -9, - "market-cap": "$511,000,000", - "circulating-supply": "350,000,000 QASH", - "volume-24h": "$19,206,800", - "cmgr": "85.16% / 2", - "inflation": "-0.17%" - }, - { - "name": "DigiByte", - "price": "$0.050116", - "p24h": -11, - "market-cap": "$487,853,928", - "circulating-supply": "9,734,494,208 DGB", - "volume-24h": "$11,389,900", - "cmgr": "8.02% / 47", - "inflation": "1.48%" - }, - { - "name": "Basic Attention Token", - "price": "$0.487348", - "p24h": -12, - "market-cap": "$487,348,000", - "circulating-supply": "1,000,000,000 BAT", - "volume-24h": "$14,891,300", - "cmgr": "19.38% / 7", - "inflation": "0.00%" - }, - { - "name": "PIVX", - "price": "$8.68", - "p24h": 4, - "market-cap": "$480,968,834", - "circulating-supply": "55,411,156 PIVX", - "volume-24h": "$11,144,700", - "cmgr": "47.24% / 23", - "inflation": "0.42%" - }, - { - "name": "Golem", - "price": "$0.571295", - "p24h": -9, - "market-cap": "$476,609,709", - "circulating-supply": "834,262,016 GNT", - "volume-24h": "$10,420,800", - "cmgr": "30.48% / 14", - "inflation": "0.10%" - }, - { - "name": "Hshare", - "price": "$10.82", - "p24h": -9, - "market-cap": "$460,173,193", - "circulating-supply": "42,529,872 HSR", - "volume-24h": "$100,098,000", - "cmgr": "-9.81% / 5", - "inflation": "0.30%" - }, - { - "name": "Byteball Bytes", - "price": "$700.65", - "p24h": -1, - "market-cap": "$452,074,794", - "circulating-supply": "645,222 GBYTE", - "volume-24h": "$1,461,460", - "cmgr": "32.04% / 13", - "inflation": "0.00%" - }, - { - "name": "Kyber Network", - "price": "$3.32", - "p24h": -9, - "market-cap": "$445,320,554", - "circulating-supply": "134,132,696 KNC", - "volume-24h": "$39,139,800", - "cmgr": "18.46% / 4", - "inflation": "0.08%" - }, - { - "name": "WAX", - "price": "$0.903366", - "p24h": -8, - "market-cap": "$445,318,368", - "circulating-supply": "492,954,528 WAX", - "volume-24h": "$8,945,930", - "cmgr": "-77.44% / 1", - "inflation": "-" - }, - { - "name": "Ethos", - "price": "$5.84", - "p24h": -8, - "market-cap": "$440,377,399", - "circulating-supply": "75,407,088 ETHOS", - "volume-24h": "$3,608,200", - "cmgr": "84.05% / 2", - "inflation": "0.31%" - }, - { - "name": "Gas", - "price": "$44.44", - "p24h": -12, - "market-cap": "$425,068,288", - "circulating-supply": "9,564,993 GAS", - "volume-24h": "$19,148,900", - "cmgr": "74.36% / 6", - "inflation": "4.55%" - }, - { - "name": "RChain", - "price": "$1.71", - "p24h": -6, - "market-cap": "$417,309,706", - "circulating-supply": "244,040,768 RHOC", - "volume-24h": "$773,418", - "cmgr": "117.91% / 3", - "inflation": "33.41%" - }, - { - "name": "FunFair", - "price": "$0.092324", - "p24h": -8, - "market-cap": "$407,987,657", - "circulating-supply": "4,419,085,824 FUN", - "volume-24h": "$12,285,800", - "cmgr": "37.92% / 6", - "inflation": "3.98%" - }, - { - "name": "Cindicator", - "price": "$0.272886", - "p24h": 32, - "market-cap": "$394,586,767", - "circulating-supply": "1,445,976,576 CND", - "volume-24h": "$262,465,000", - "cmgr": "120.78% / 3", - "inflation": "0.00%" - }, - { - "name": "SmartCash", - "price": "$0.634479", - "p24h": -14, - "market-cap": "$393,086,475", - "circulating-supply": "619,542,144 SMART", - "volume-24h": "$943,553", - "cmgr": "88.55% / 6", - "inflation": "24.97%" - }, - { - "name": "Factom", - "price": "$44.59", - "p24h": -6, - "market-cap": "$389,944,098", - "circulating-supply": "8,745,102 FCT", - "volume-24h": "$10,792,400", - "cmgr": "22.26% / 27", - "inflation": "0.00%" - }, - { - "name": "Nxt", - "price": "$0.381823", - "p24h": 29, - "market-cap": "$381,441,154", - "circulating-supply": "998,999,936 NXT", - "volume-24h": "$122,842,000", - "cmgr": "6.32% / 49", - "inflation": "-0.20%" - }, - { - "name": "Kin", - "price": "$0.000492", - "p24h": 0, - "market-cap": "$372,000,000", - "circulating-supply": "756,097,548,288 KIN", - "volume-24h": "$1,325,070", - "cmgr": "49.42% / 4", - "inflation": "0.11%" - }, - { - "name": "Aion", - "price": "$4.75", - "p24h": -13, - "market-cap": "$370,278,764", - "circulating-supply": "77,953,424 AION", - "volume-24h": "$8,336,950", - "cmgr": "108.52% / 3", - "inflation": "30.32%" - }, - { - "name": "Dent", - "price": "$0.033938", - "p24h": -12, - "market-cap": "$360,243,757", - "circulating-supply": "10,614,761,472 DENT", - "volume-24h": "$10,021,500", - "cmgr": "129.26% / 5", - "inflation": "0.00%" - }, - { - "name": "MonaCoin", - "price": "$6.24", - "p24h": -8, - "market-cap": "$355,053,036", - "circulating-supply": "56,899,524 MONA", - "volume-24h": "$5,033,730", - "cmgr": "10.28% / 46", - "inflation": "1.17%" - }, - { - "name": "DigixDAO", - "price": "$176.77", - "p24h": -6, - "market-cap": "$353,540,000", - "circulating-supply": "2,000,000 DGD", - "volume-24h": "$6,663,630", - "cmgr": "12.74% / 8", - "inflation": "0.00%" - }, - { - "name": "Power Ledger", - "price": "$0.949943", - "p24h": -9, - "market-cap": "$345,599,442", - "circulating-supply": "363,810,720 POWR", - "volume-24h": "$27,744,500", - "cmgr": "337.83% / 2", - "inflation": "1.12%" - }, - { - "name": "Aeternity", - "price": "$1.48", - "p24h": -2, - "market-cap": "$344,870,298", - "circulating-supply": "233,020,480 AE", - "volume-24h": "$2,399,090", - "cmgr": "11.87% / 7", - "inflation": "-0.13%" - }, - { - "name": "aelf", - "price": "$1.37", - "p24h": -10, - "market-cap": "$342,500,000", - "circulating-supply": "250,000,000 ELF", - "volume-24h": "$91,334,500", - "cmgr": "43.85% / 1", - "inflation": "-" - }, - { - "name": "Bytom", - "price": "$0.340729", - "p24h": -4, - "market-cap": "$336,299,523", - "circulating-supply": "987,000,000 BTM", - "volume-24h": "$20,267,400", - "cmgr": "26.63% / 5", - "inflation": "0.00%" - }, - { - "name": "ZClassic", - "price": "$106.69", - "p24h": -19, - "market-cap": "$336,029,543", - "circulating-supply": "3,149,588 ZCL", - "volume-24h": "$29,954,800", - "cmgr": "25.48% / 14", - "inflation": "73.30%" - }, - { - "name": "Nebulas", - "price": "$9.32", - "p24h": -7, - "market-cap": "$330,860,000", - "circulating-supply": "35,500,000 NAS", - "volume-24h": "$22,865,400", - "cmgr": "17.66% / 5", - "inflation": "-" - }, - { - "name": "MaidSafeCoin", - "price": "$0.730459", - "p24h": 8, - "market-cap": "$330,570,982", - "circulating-supply": "452,552,416 MAID", - "volume-24h": "$11,475,700", - "cmgr": "8.94% / 44", - "inflation": "0.00%" - }, - { - "name": "Syscoin", - "price": "$0.613294", - "p24h": -3, - "market-cap": "$325,307,399", - "circulating-supply": "530,426,528 SYS", - "volume-24h": "$29,120,200", - "cmgr": "15.10% / 41", - "inflation": "0.13%" - }, - { - "name": "ReddCoin", - "price": "$0.010511", - "p24h": -11, - "market-cap": "$302,001,007", - "circulating-supply": "28,731,899,904 RDD", - "volume-24h": "$5,219,450", - "cmgr": "13.19% / 47", - "inflation": "0.09%" - }, - { - "name": "Nexus", - "price": "$5.47", - "p24h": -6, - "market-cap": "$301,758,337", - "circulating-supply": "55,166,056 NXS", - "volume-24h": "$2,823,430", - "cmgr": "22.15% / 36", - "inflation": "1.13%" - }, - { - "name": "SIRIN LABS Token", - "price": "$3.02", - "p24h": 23, - "market-cap": "$298,797,166", - "circulating-supply": "98,939,456 SRN", - "volume-24h": "$15,880,000", - "cmgr": "229.99% / 1", - "inflation": "-" - }, - { - "name": "GXShares", - "price": "$4.92", - "p24h": 0, - "market-cap": "$295,200,000", - "circulating-supply": "60,000,000 GXS", - "volume-24h": "$9,631,300", - "cmgr": "-2.54% / 7", - "inflation": "48.19%" - }, - { - "name": "Enigma", - "price": "$3.91", - "p24h": -11, - "market-cap": "$292,609,428", - "circulating-supply": "74,836,168 ENG", - "volume-24h": "$7,421,050", - "cmgr": "92.34% / 3", - "inflation": "0.41%" - }, - { - "name": "Request Network", - "price": "$0.455615", - "p24h": -8, - "market-cap": "$292,069,688", - "circulating-supply": "641,044,928 REQ", - "volume-24h": "$13,739,700", - "cmgr": "104.63% / 3", - "inflation": "0.05%" - }, - { - "name": "Cryptonex", - "price": "$6.26", - "p24h": 7, - "market-cap": "$282,187,766", - "circulating-supply": "45,077,920 CNX", - "volume-24h": "$293,944", - "cmgr": "30.18% / 3", - "inflation": "0.11%" - }, - { - "name": "Emercoin", - "price": "$6.72", - "p24h": -10, - "market-cap": "$276,999,596", - "circulating-supply": "41,220,176 EMC", - "volume-24h": "$1,951,950", - "cmgr": "23.20% / 41", - "inflation": "0.14%" - }, - { - "name": "ChainLink", - "price": "$0.790746", - "p24h": -10, - "market-cap": "$276,761,100", - "circulating-supply": "350,000,000 LINK", - "volume-24h": "$11,327,700", - "cmgr": "54.30% / 4", - "inflation": "-0.36%" - }, - { - "name": "Neblio", - "price": "$21.57", - "p24h": -13, - "market-cap": "$274,933,398", - "circulating-supply": "12,746,101 NEBL", - "volume-24h": "$7,116,500", - "cmgr": "153.01% / 4", - "inflation": "0.66%" - }, - { - "name": "Bancor", - "price": "$6.59", - "p24h": -7, - "market-cap": "$268,693,219", - "circulating-supply": "40,772,872 BNT", - "volume-24h": "$8,478,540", - "cmgr": "6.69% / 7", - "inflation": "-0.01%" - }, - { - "name": "ZCoin", - "price": "$67.90", - "p24h": -12, - "market-cap": "$267,385,718", - "circulating-supply": "3,937,934 XZC", - "volume-24h": "$3,653,910", - "cmgr": "42.92% / 15", - "inflation": "5.28%" - }, - { - "name": "Substratum", - "price": "$1.17", - "p24h": -16, - "market-cap": "$264,526,995", - "circulating-supply": "226,091,456 SUB", - "volume-24h": "$12,041,500", - "cmgr": "131.18% / 4", - "inflation": "0.14%" - }, - { - "name": "Experience Points", - "price": "$0.00127", - "p24h": -11, - "market-cap": "$268,849,841", - "circulating-supply": "211,692,781,568 XP", - "volume-24h": "$1,528,840", - "cmgr": "160.93% / 1", - "inflation": "9.61%" - }, - { - "name": "MediBloc", - "price": "$0.088088", - "p24h": -13, - "market-cap": "$261,302,842", - "circulating-supply": "2,966,384,128 MED", - "volume-24h": "$6,968,920", - "cmgr": "390.11% / 1", - "inflation": "-" - }, - { - "name": "Quantstamp", - "price": "$0.412894", - "p24h": -6, - "market-cap": "$254,885,317", - "circulating-supply": "617,314,176 QSP", - "volume-24h": "$15,626,100", - "cmgr": "159.68% / 2", - "inflation": "0.00%" - }, - { - "name": "Bitcore", - "price": "$22.43", - "p24h": -17, - "market-cap": "$244,287,081", - "circulating-supply": "10,891,087 BTX", - "volume-24h": "$3,291,470", - "cmgr": "16.18% / 9", - "inflation": "444.11%" - }, - { - "name": "TenX", - "price": "$2.23", - "p24h": -6, - "market-cap": "$233,394,721", - "circulating-supply": "104,661,312 PAY", - "volume-24h": "$11,627,300", - "cmgr": "17.68% / 6", - "inflation": "0.05%" - }, - { - "name": "XPlay", - "price": "$0.231756", - "p24h": 0, - "market-cap": "$231,756,000", - "circulating-supply": "1,000,000,000 XPA", - "volume-24h": "$143,905", - "cmgr": "106.90% / 4", - "inflation": "0.00%" - }, - { - "name": "Iconomi", - "price": "$2.26", - "p24h": -11, - "market-cap": "$225,521,589", - "circulating-supply": "99,788,312 ICN", - "volume-24h": "$3,993,010", - "cmgr": "-3.30% / 7", - "inflation": "-0.19%" } -] \ No newline at end of file +] diff --git a/shared/data/crypto-markets.json b/shared/data/crypto-markets.json new file mode 100644 index 000000000..7277e9850 --- /dev/null +++ b/shared/data/crypto-markets.json @@ -0,0 +1,122 @@ +[ + { + "coin": "ETH", + "price": "0.03530991", + "volume": "168,726.341", + "change": "+1.11", + "changeType": "success", + "favorite": true + }, + { + "coin": "XRP", + "price": "0.00002269", + "volume": "22,843.185", + "change": "-0.98", + "changeType": "danger", + "favorite": true + }, + { + "coin": "ETC", + "price": "0.00014852", + "volume": "529.209", + "change": "+2.35", + "changeType": "success", + "favorite": true + }, + { + "coin": "LTC", + "price": "0.00089821", + "volume": "5,928.536", + "change": "+3.89", + "changeType": "success", + "favorite": true + }, + { + "coin": "XMR", + "price": "0.00310306", + "volume": "1,382.046", + "change": "+4.42", + "changeType": "success", + "favorite": true + }, + { + "coin": "BSC", + "price": "0.00989344", + "volume": "12,531.037", + "change": "+0.79", + "changeType": "success", + "favorite": false + }, + { + "coin": "ABC", + "price": "0.02613303", + "volume": "21.597", + "change": "-3.20", + "changeType": "danger", + "favorite": false + }, + { + "coin": "TRX", + "price": "0.0000027", + "volume": "4,250.916", + "change": "+0.44", + "changeType": "success", + "favorite": false + }, + { + "coin": "SC", + "price": "0.00000002", + "volume": "48.092", + "change": "+2.23", + "changeType": "success", + "favorite": false + }, + { + "coin": "OMG", + "price": "0.00000102", + "volume": "9.695", + "change": "+0.30", + "changeType": "success", + "favorite": false + }, + { + "coin": "CHR", + "price": "0.00000223", + "volume": "7.428", + "change": "-4.21", + "changeType": "danger", + "favorite": false + }, + { + "coin": "AVA", + "price": "0.00016909", + "volume": "3,088.149", + "change": "+2.27", + "changeType": "success", + "favorite": false + }, + { + "coin": "DASH", + "price": "0.00063201", + "volume": "6,344.102", + "change": "+46.90", + "changeType": "success", + "favorite": false + }, + { + "coin": "LINK", + "price": "0.00015636", + "volume": "4,510.014", + "change": "+0.23", + "changeType": "success", + "favorite": false + }, + { + "coin": "EOS", + "price": "0.00000246", + "volume": "1.072", + "change": "+0.97", + "changeType": "success", + "favorite": false + } +] \ No newline at end of file diff --git a/shared/data/crypto-orders.json b/shared/data/crypto-orders.json new file mode 100644 index 000000000..ddc984b8e --- /dev/null +++ b/shared/data/crypto-orders.json @@ -0,0 +1,106 @@ +{ + "sell_orders": [ + { + "price": "0.00091279", + "btc": "0.55002151", + "sum": "0.55002151" + }, + { + "price": "0.00092146", + "btc": "1.97294243", + "sum": "2.52296394" + }, + { + "price": "0.00094672", + "btc": "0.67387767", + "sum": "3.19684161" + }, + { + "price": "0.00095269", + "btc": "0.93727595", + "sum": "4.13411756" + }, + { + "price": "0.00095926", + "btc": "0.8976753", + "sum": "5.03179286" + }, + { + "price": "0.00097736", + "btc": "0.94088124", + "sum": "5.9726741" + }, + { + "price": "0.00100026", + "btc": "0.51299752", + "sum": "6.48567162" + }, + { + "price": "0.00102267", + "btc": "1.18050103", + "sum": "7.66617265" + }, + { + "price": "0.00104506", + "btc": "1.17318909", + "sum": "8.83936174" + }, + { + "price": "0.00104974", + "btc": "2.19498873", + "sum": "11.03435047" + } + ], + "buy_orders": [ + { + "price": "0.00088217", + "btc": "2.59949934", + "sum": "2.59949934" + }, + { + "price": "0.00085874", + "btc": "0.9852387", + "sum": "3.58473804" + }, + { + "price": "0.00084954", + "btc": "2.39434245", + "sum": "5.97908049" + }, + { + "price": "0.0008322", + "btc": "2.31112332", + "sum": "8.29020381" + }, + { + "price": "0.00081524", + "btc": "2.66443099", + "sum": "10.9546348" + }, + { + "price": "0.00080303", + "btc": "1.79223619", + "sum": "12.74687099" + }, + { + "price": "0.00077858", + "btc": "1.61051825", + "sum": "14.35738924" + }, + { + "price": "0.00075508", + "btc": "0.71279599", + "sum": "15.07018523" + }, + { + "price": "0.00073013", + "btc": "0.89425132", + "sum": "15.96443655" + }, + { + "price": "0.00071941", + "btc": "1.85521536", + "sum": "17.81965191" + } + ] +} \ No newline at end of file diff --git a/shared/data/menu.json b/shared/data/menu.json index cc9c394d0..278422bb5 100644 --- a/shared/data/menu.json +++ b/shared/data/menu.json @@ -1,8 +1,17 @@ { - "home": { - "url": "", - "title": "Home", - "icon": "home" + "dashboards": { + "title": "Dashboards", + "icon": "home", + "children": { + "default": { + "url": "index.html", + "title": "Default" + }, + "crypto": { + "url": "dashboard-crypto.html", + "title": "Crypto" + } + } }, "base": { "title": "Interface", diff --git a/shared/includes/ui/card-dropdown.html b/shared/includes/ui/card-dropdown.html index 4082642e3..85f8eb537 100644 --- a/shared/includes/ui/card-dropdown.html +++ b/shared/includes/ui/card-dropdown.html @@ -1,6 +1,6 @@ {% assign icon = include.icon | default: 'dots-vertical' %}