-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (121 loc) · 5.87 KB
/
index.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Crypto App</title>
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.2.0/remixicon.min.css"
integrity="sha512-MqL4+Io386IOPMKKyplKII0pVW5e+kb+PI/I3N87G3fHIfrgNNsRpzIXEi+0MQC0sR9xZNqZqCYVcC61fL5+Vg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="main">
<!-- ------------Current-Market-Details------------- -->
<div class="global">
<p>Coins: <b id="coins-count">N/A</b></p>
<p>Exchanges: <b id="exchanges-count">N/A</b></p>
<p>Market Cap: <span><b id="marketCap">N/A</b> </span><span id="marketCapChange">N/A</span></p>
<p>24H Vol: <b id="volume">N/A</b></p>
<p>Dominance: <b id="dominance">BTC N/A - ETH N/A</b></p>
</div>
<!-- -------------NavBar------------- -->
<nav>
<div class="left-section">
<a href="#" class="logo">Bitora.</a>
<div class="nav-links">
<a href="/index.html" class="active">Home</a>
<a href="/charts.html">Chart</a>
<a href="/search.html">Search</a>
<a href="/about.html">About Us</a>
</div>
</div>
<div class="right-section">
<form class="search" id="searchForm">
<i class="ri-search-line"></i>
<input type="text" id="searchInput" placeholder="Search for an asset..." required
autocomplete="off">
</form>
<i id="theme-toggle" class="ri-sun-line"></i>
</div>
</nav>
<!-- -------------Trending------------- -->
<div class="trending">
<div class="coins-wrapper">
<div class="header">
<h3>Trending Coins</h3>
</div>
<div class="container">
<div id="coins-list"></div>
<div class="spinner" id="coins-list-spinner"></div>
<div class="error-message" id="coins-list-error">API Limit reached. Please try again later.</div>
</div>
</div>
<div class="nfts-wrapper">
<div class="header">
<h3>Trending NFTs</h3>
</div>
<div class="container">
<div id="nfts-list"></div>
<div class="spinner" id="nfts-list-spinner"></div>
<div class="error-message" id="nfts-list-error">API Limit reached. Please try again later.</div>
</div>
</div>
</div>
<!-- -------------Tabs------------- -->
<div class="tab-container">
<div class="tabs">
<button class="tab-button active" onclick="openTab(event, 'tab1')">
<i class="ri-apps-2-line"></i>Assets
</button>
<button class="tab-button" onclick="openTab(event, 'tab2')">
<i class="ri-arrow-left-right-line"></i>Exchanges
</button>
<button class="tab-button" onclick="openTab(event, 'tab3')">
<i class="ri-exchange-2-line"></i></i>Categories
</button>
<button class="tab-button" onclick="openTab(event, 'tab4')">
<i class="ri-btc-line"></i></i>Holders
</button>
</div>
<!-- -------------Tab-1-Asset------------- -->
<div class="tab-content" id="tab1">
<div id="asset-list"></div>
<div class="spinner" id="asset-list-spinner"></div>
<div class="error-message" id="asset-list-error">API Limit reached. Please try again later.</div>
</div>
<!-- -------------Tab-2-Exchange------------- -->
<div class="tab-content" id="tab2">
<div id="exchange-list"></div>
<div class="spinner" id="exchange-list-spinner"></div>
<div class="error-message" id="exchange-list-error">API Limit reached. Please try again later.</div>
</div>
<!-- -------------Tab-3-Category------------- -->
<div class="tab-content" id="tab3">
<div id="category-list"></div>
<div class="spinner" id="category-list-spinner"></div>
<div class="error-message" id="category-list-error">API Limit reached. Please try again later.</div>
</div>
<!-- -------------Tab-4-Company------------- -->
<div class="tab-content" id="tab4">
<div id="company-list"></div>
<div class="spinner" id="company-list-spinner"></div>
<div class="error-message" id="company-list-error">API Limit reached. Please try again later.</div>
</div>
</div>
</div>
<footer>
<p>Habeeb Rahman CA, All Rights Reserved.</p>
<div class="social-icon">
<a href="https://www.instagram.com/hxb.izz/" target="_blank"><i class="ri-instagram-line"></i></a>
<a href="https://github.com/Habeeb-Rahman-CA" target="_blank"><i class="ri-github-line"></i></a>
<a href="www.linkedin.com/in/habeeb-rahman-ca" target="_blank"><i class="ri-linkedin-fill"></i></a>
<a href="https://wa.me/1234567890" target="_blank"><i class="ri-whatsapp-line"></i></a>
</div>
</footer>
<button onclick="scrollToTop()" id="scrollTop"><i class="ri-arrow-up-s-line"></i></button>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="./global.js"></script>
<script src="./script.js"></script>
</body>
</html>