-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdemo.html
85 lines (80 loc) · 2.57 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="stylesheet" href="./chart-live.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TradeX-chart Examples</title>
<style>
body {
height: 100vh;
background-color: rgb(50, 50, 50);
color: #fff;
}
header {
width: 100%;
}
nav {
width: 100%;
}
main {
width: 100%;
height: auto;
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-evenly;
align-content: stretch;
}
section {
flex-grow: 1;
margin: 1em;
}
tradex-chart {
border-radius: 10px;
box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.4);
}
#badges {
margin-top: 1em;
margin-left: 2em;
}
#app {
width: 100%;
height: 100%;
}
/* tradex-chart {
--txc-background-color: #400;
} */
</style>
</head>
<body>
<div>
<header>
<h1>TradeX Chart</h1>
</header>
<nav>
<ul>
<li><a id="add">Add Chart</a></li>
</ul>
</nav>
<main>
<aside></aside>
</main>
<footer>
<div id="badges">
<a href="https://www.npmjs.com/package/tradex-chart" title="Version"><img src="https://badgen.net/npm/v/tradex-chart" alt="Version"></a>
<a href="https://bundlephobia.com/result?p=tradex-chart" title="Size"><img src="https://badgen.net/bundlephobia/minzip/tradex-chart" alt="Size"></a>
<a href="https://github.com/tradex-app/TradeX-chart/blob/master/LICENSE" title="License"><img src="https://badgen.net/github/license/tradex-app/tradex-chart" alt="License"></a>
<a href="https://github.com/tradex-app/TradeX-chart" title="GitHub"><img src="https://badgen.net/badge/icon/github?icon=github&label" alt="GitHub"></a>
<a href="https://discord.gg/6XS9tDrcdq" title="Discord"><img src="https://badgen.net/badge/icon/discord?icon=discord&label"></a>
</div>
<div class="GHChart">
<img src="https://starchart.cc/tradex-app/TradeX-chart.svg?variant=adaptive" id="chart" data-src="/tradex-app/TradeX-chart.svg" alt="Please try again in a few minutes. This might not work for very famous repository.">
</div>
</footer>
</div>
<div id="app"></div>
<script type="module" src="/index.js"></script>
</body>
</html>