-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
376 lines (362 loc) · 23.5 KB
/
index.html
File metadata and controls
376 lines (362 loc) · 23.5 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./style.css">
<script type="module" src="./local.js"></script>
<script type='module' src='./app.js'></script>
<script type="module" src="./generateInvoice.js"></script>
<!-- <script type="module" src="./premium.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>
</head>
<body>
<div id="bar"><pear-ctrl></pear-ctrl></div>
<div class="blob1"></div>
<div class="blob2"></div>
<p class="version">Build with ❤️ for and with 🍐</p>
<main>
<div id="room--detail">
<button id="close--room--detail">X</button>
<h1 style="padding-bottom: 1.4rem;">Alaric.app Key</h1>
<div>
<p>Your Alaric Key : </p>
<p id="personal--alaric--key"></p>
</div>
<div>
<p>Your Global Key : </p>
<p id="global--alaric--key">ee504a3ed121313049cc5ca00ed42146d5b75826f126c48ea7696e1f5f263e2b</p>
</div>
</div>
<div class="notification">
<div style="display: flex; align-items: center; gap: 5px; margin-bottom: 10px;">
<img class="notification-icon" />
<p class="notification-type"></p>
</div>
<p class="notification-message"></p>
</div>
<section class="sideMenu">
<button id="close--menu">
<img src="./assets/close.png"/>
</button>
<div style="display: flex; align-items: center; justify-content: space-between;">
<div style="display: flex; align-items: center; gap: 4px;"><img src="./assets/alaric.png" style="width: 40px; height: 40px;" /><h1 id="app-heading">Alaric.app</h1></div>
<button id="detail--btn"><img style="width: 20px; height: 20px;" src="./assets/seed.png"/></button>
</div>
<div style="display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 93%;">
<ul style="margin-top: 2rem; padding-bottom: 1rem;">
<p style="padding-left: 1rem;
font-size: 10px;
color: #777;">dashboard</p>
<li data-name="dashboard" id="dashboard--menu"><span class="dot dot-hide"></span><img src="./assets/dashboard.png" class="icon" /><p>Dashboard</p></li>
<button type="button" id="private--form"><span class="dot dot-hide"></span><img src="./assets/join.png" class="icon" /><p>Private</p></button>
<p style="padding-left: 1rem;
font-size: 10px;
color: #777;">apps</p>
<li><span class="dot dot-hide"></span>
<img src="./assets/my.png" class="icon" id="my-apps-icon" /><p id="my-pin-li-text">My Apps</p>
<div style="display: flex; gap: 3px;" id="myPin-apps-no">
<p id="personal-apps-no">0</p>
<p id="pinned-apps-no" class="hide">0</p>
</div>
</li>
<li><span class="dot dot-hide"></span><img src="./assets/install.png" class="icon" /><p>System Pear Apps</p>
<p id="local-apps-no">0</p>
</li>
<li><span class="dot dot-hide"></span><img src="./assets/directory.png" class="icon" />
<p>Apps Directory</p>
<p id="global-apps-no">0</p>
</li>
<li><span class="dot dot-hide"></span><img src="./assets/room.png" class="icon" />
<p>Rooms</p>
<p id="global-rooms-no">0</p>
</li>
<li><span class="dot dot-hide"></span><img src="./assets/premium.png" class="icon" />
<p>Premium Apps</p>
<p id="premium-apps-no">0</p>
</li>
<p style="padding-left: 1rem;
font-size: 10px;
color: #777;">others</p>
<li><span class="dot dot-hide"></span><img src="./assets/crypto.png" class="icon"/>
<p>Live Crypto</p>
</li>
<button type="button" id="payment--form"><span class="dot dot-hide"></span><img src="./assets/donate.png" class="icon" /><p>Donate</p></button>
<button type="button" id="add--app--form"><span class="dot dot-hide"></span><img src="./assets/add.png" class="icon" /><p>Add App</p></button>
<li class="active"><span class="dot dot-hide"></span><img src="./assets/imp.png" class="icon" /><p>Alert Message</p></li>
<li class="active"><span class="dot dot-hide"></span><img src="./assets/about.png" class="icon" /><p>About the Creator</p></li>
</ul>
</div>
</section>
<div class="data--area">
<button id="menu">
<img src="./assets/menu.png" style="width: 20px; height: 20px;"/>
</button>
<div class="overlay hide"></div>
<div id="global--popUp" class="hide">
<div id="popUp--pearContent"></div>
</div>
<!-- Home Page -->
<section class="page hide" id="home--page">
<div style="display: flex; flex-direction: row; justify-content: space-between; width: 100%; position: sticky; top: 0; z-index: 999;">
<p class="page--header">Dashboard</p>
</div>
<div style="display: flex; flex-direction: column; margin: 1rem;">
<div class="dashboard">
<div style=" display: flex;gap: 10px;width: 100%; height: 100%;">
<div style="display: flex; flex-direction: column; gap: 10px; width: 100%;">
<div style="display: flex; gap: 10px;width: 100%; height: 30%;">
<div class="dash-myApps" style="width: 100%; background-color: #413b91;">
<img src="./assets/ball.png" style="width: 130px;
height: 130px;position: absolute;top: 64%;right: -8%;transform: translate(0, -50%) rotate(-90deg);transition: 600ms cubic-bezier(0, -1.22, 0, 1.25);" class="slide--out"/>
<div class="top--data">
<img src="./assets/alaricBG.png" style="width: 30px; height: 30px;" />
<h1 id="dash-myApps-no" style="padding-right: 6px;">00</h1>
</div>
<h1>My Apps</h1>
<p>Pinned Apps</p>
<!-- <button class="button">apps added by you</button> -->
</div>
<div class="dash-local" style="width: 100%;background-color: #2C3930;">
<img src="./assets/branch.png" style="width: 100px;
height: 100px;position: absolute;top: 42%;right: -2%;transform: translate(0, -50%) rotate(-90deg); transition: 600ms cubic-bezier(0, -1.22, 0, 1.25)" class="slide--out"/>
<div class="top--data">
<img src="./assets/pear.svg" style="width: 30px; height: 30px;padding: 3px;" />
<h1 id="dash-local-no" style="padding-right: 6px;">00</h1>
</div>
<h1>Pear Apps</h1>
<p>All your system pear at once place</p>
<!-- <button class="button">local system pears</button> -->
</div>
</div>
<div style="display: flex; gap: 10px;width: 100%; height: 30%;">
<div class="dash-apps" style="width: 100%;background-color: #144653;">
<img src="./assets/appDirectory.png" style=" width: 130px;height: 130px;position: absolute;top: 50%;right: 2%;transform: translate(0, -50%);transition: 600ms cubic-bezier(0, -1.22, 0, 1.25);" class="slide--out"/>
<div class="top--data">
<img src="./assets/earth.png" style="width: 30px; height: 30px;padding: 3px;" />
<h1 id="dash-apps-no" style="padding-right: 6px;">00</h1>
</div>
<h1>Apps Directories</h1>
<p>Ready to launch global apps.</p>
<!-- <button class="button">apps added by alaricans</button> -->
</div>
<div class="dash-rooms" style="width: 100%;background-color: #003161;">
<img src="./assets/birds.png" style="width: 100px;height: 100px;position: absolute;top: 50%;right: 10%;transform: translate(0, -50%) rotate(-45deg); transition: 600ms cubic-bezier(0, -1.22, 0, 1.25)" class="slide--out"/>
<div class="top--data">
<img src="./assets/keet.png" style="width: 30px; height: 30px;padding: 3px;" />
<h1 id="dash-rooms-no" style="padding-right: 6px;">00</h1>
</div>
<h1>Room Directories</h1>
<p>Most popular Keet Rooms</p>
<!-- <button class="button">rooms added by alaricans</button> -->
</div>
</div>
<div style="display: flex; gap: 10px;width: 50%; height: 30%;">
<div class="dash-premiumApps" style="width: 100%; background-color: #FFB200;">
<img src="./assets/coins.png" style="width: 100px;height: 100px;position: absolute;top: 60%;right: 9%;transform: translate(0, -50%);transition: 600ms cubic-bezier(0, -1.22, 0, 1.25)" class="slide--out"/>
<div class="top--data">
<img src="./assets/btc.png" style="width: 30px; height: 30px; padding: 2px;"/>
<h1 id="dash-premium-no" style="padding-right: 6px;">00</h1>
</div>
<h1>Premium Apps</h1>
<p>Apps worth paying</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Personal Apps -->
<section class="page" id="personal--page">
<div style="display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; position: sticky; top: 0; z-index: 999; border-radius: 10px; border: 1px solid #eee; background-color: #fff;">
<p class="page--header">Apps added by You 🫵</p>
<div style="display: flex; align-items: center; gap: 1rem; height: fit-content; padding: 3px; margin-right: 1rem; border-radius: 7px; position: relative; overflow: hidden;">
<div id="slider" class="button"></div>
<button data-value="0" style="width: 100px; padding: 4px; position: relative; z-index: 1;" class="my-apps-btn" id="my-apps-btn-1">my apps</button>
<button data-value="1" style="width: 100px; padding: 4px; position: relative; z-index: 1;" class="my-apps-btn" id="my-apps-btn-2">pinned apps</button>
</div>
</div>
<div class="personal--list--area" style="overflow: visible !important;"></div>
<div class="pinned--list--area hide" style="overflow: visible !important;"></div>
</section>
<!-- Installed / Local Apps -->
<section class="page hide" id="local--page">
<div style="display: flex; flex-direction: row; justify-content: space-between; width: 100%; position: sticky; top: 0; z-index: 900; background-color: #fff;border: 1px solid #eee;padding-inline: 10px;border-radius: 12px;">
<p class="page--header">Your Local Pear Apps</p>
<div style="display: flex; align-items: center; gap: 10px;">
<input type="text" style="margin-top: 0;border-radius: 5px;padding: 10px; width: 260px;" id="local--search" placeholder="Search the Local Pears" />
<!-- <button class="clear-cacheBtn">CLEAR CACHE</button> -->
<button class="button reload--app" style="width: fit-content;font-size: 10px;font-weight: 900;margin-top: 0; color: #fff; background-color: #000;border-radius: 5px;"><img src="./assets/reload.png" style="width: 12px; height: 12px;"/>Reload App</button>
</div>
</div>
<div id="trending--apps-container">
<div style="margin: 1rem 1rem 0.2rem 1rem;">
<p style="color: #aaa; font-size: 10px;">Apps Directory</p>
<h1 id="trending--apps-heading" style="font-size: 13px; color: #444;">Curated Only for You</h1>
</div>
<div id="trending--apps"></div>
</div>
<div class="loader">
<svg viewBox="25 25 50 50">
<circle r="20" cy="50" cx="50"></circle>
</svg>
<!-- <p>Loading, great things take time.</p> -->
</div>
<div class="message hide" style="color: red; font-size: 40px; font-weight: 900;">Error in retrieving the data.</div>
<div class="list--area"></div>
</section>
<!-- Apps Directory / Global Apps -->
<section class="page hide" id="global--page">
<div style="display: flex;flex-direction: row;justify-content: space-between;align-items: center;width: 100%;position: sticky;top: 0;z-index: 99;background-color: #fff;border: 1px solid #eee;padding-inline: 10px;border-radius: 12px;">
<p class="page--header">Apps Directory</p>
<div style="display: flex; align-items: center; gap: 10px;">
<input type="text" style="margin-top: 0;border-radius: 5px;padding: 10px; width: 260px;" id="global--search" placeholder="Search the App" />
<div class="dropdown">
<button class="dropbtn"><img src="./assets/sort.png" style="width: 8px;" />Sort By</button>
<div class="dropdown-content">
<button class="sort-button" data-sort="asc" data-type="global"><img src="./assets/name.png" style="width: 10px;" />Name</button>
<button class="sort-button" data-sort="newest" data-type="global"><img src="./assets/newest.png" style="width: 10px;" />Newest</button>
<button class="sort-button" data-sort="oldest" data-type="global"><img src="./assets/oldest.png" style="width: 10px;" />Oldest</button>
</div>
</div>
<button class="button reload--app" style="width: fit-content;font-size: 10px;font-weight: 900;margin-top: 0; color: #fff; background-color: #000;border-radius: 5px;"><img src="./assets/reload.png" style="width: 12px; height: 12px;"/>Reload App</button>
</div>
</div>
<p id="global-msg" class="hide">No Global apps added yet!!!</p>
<div class="list--area">
</div>
</section>
<!-- Room Page -->
<section class="page" id="room--page">
<div style="display: flex;flex-direction: row;justify-content: space-between;align-items: center;width: 100%;position: sticky;top: 0;z-index: 99;background-color: #fff;border: 1px solid #eee;padding-inline: 10px;border-radius: 12px;">
<p class="page--header">Rooms Directory</p>
<div style="display: flex; align-items: center; gap: 10px;">
<input type="text" style="margin-top: 0;border-radius: 5px;padding: 10px; width: 260px;" id="room--search" placeholder="Search the Rooms" />
<div class="dropdown">
<button class="dropbtn"><img src="./assets/sort.png" style="width: 8px;" />Sort By</button>
<div class="dropdown-content">
<button class="sort-button" data-sort="asc" data-type="global"><img src="./assets/name.png" style="width: 10px;" />Name</button>
<button class="sort-button" data-sort="newest" data-type="global"><img src="./assets/newest.png" style="width: 10px;" />Newest</button>
<button class="sort-button" data-sort="oldest" data-type="global"><img src="./assets/oldest.png" style="width: 10px;" />Oldest</button>
</div>
</div>
<button class="button reload--app" style="width: fit-content;font-size: 10px;font-weight: 900;margin-top: 0; color: #fff; background-color: #000;border-radius: 5px;"><img src="./assets/reload.png" style="width: 12px; height: 12px;"/>Reload App</button>
</div>
</div>
<p id="room-msg" class="hide">No Rooms added yet!!!</p>
<div class="list--area">
</div>
</section>
<!-- Premium Apps -->
<section class="page" id="premium--page">
<div style="display: flex; flex-direction: row; justify-content: space-between; width: 100%; position: sticky; top: 0; z-index: 999;border-radius: 10px; border: 1px solid #eee; background-color: #fff; padding-inline: 10px;">
<p class="page--header">Premium Apps</p>
<div style="display: flex; align-items: center; gap: 10px;">
<input type="text" style="margin-top: 0;border-radius: 5px;padding: 10px; width: 260px;" id="premium--search" placeholder="Search the App" />
<div class="dropdown">
<button class="dropbtn"><img src="./assets/sort.png" style="width: 8px;" />Sort By</button>
<div class="dropdown-content">
<button class="sort-button" data-sort="asc" data-type="premium"><img src="./assets/name.png" style="width: 10px;" />Name</button>
<button class="sort-button" data-sort="newest" data-type="premium"><img src="./assets/newest.png" style="width: 10px;" />Newest</button>
<button class="sort-button" data-sort="oldest" data-type="premium"><img src="./assets/oldest.png" style="width: 10px;" />Oldest</button>
</div>
</div>
<button class="button reload--app" style="width: fit-content;font-size: 10px;font-weight: 900;margin-top: 0; color: #fff; background-color: #000;border-radius: 5px;"><img src="./assets/reload.png" style="width: 12px; height: 12px;"/>Reload App</button>
</div>
</div>
<p id="premium-msg" class="hide">No Premium apps added yet!!!</p>
<div class="list--area">
</div>
</section>
<!-- Live Crypto -->
<section class="page" id="crypto--page">
<div style="display: flex; flex-direction: row; justify-content: space-between; width: 100%; position: sticky; top: 0; z-index: 999;">
<p class="page--header">Cryptocurrency Data</p>
</div>
<!-- <canvas id="priceChart" width="100" height="60"></canvas> -->
<div style="width: 100%; height: 80%; display: flex; flex-direction: column; align-items: center; justify-content: center;">
<table id="cryptoTable">
<thead>
<tr>
<th>Symbol</th>
<th>Price</th>
<th>7D</th>
<th>Last 7 Days</th>
</tr>
</thead>
<tbody>
<!-- Data will be inserted here dynamically -->
</tbody>
</table>
</div>
</section>
<!-- Rules Page -->
<section class="page hide" id="rules--page" style="padding-bottom: 1rem;">
<div style="display: flex; flex-direction: row; justify-content: space-between; width: 100%; position: sticky; top: 0; z-index: 999;">
<p class="page--header" style="background-color: #fff;">
<!-- 👉️ All Important points are here 👈️</p> -->
📜 Rules & Important Messages – Alaric.app</p>
</div>
<div style="margin: 1rem; display: flex; flex-direction: column; gap: 4px;">
<p><strong>Write Command Carefully - </strong>Always write and execute commands properly</p>
<p><strong>No Spamming - </strong>Do not flood the system with unnecessary or repeated commands</p>
<p><strong>Add only Useful & Working Apps and Rooms - </strong>Avoid adding apps that are broken or not functional</p>
<p><strong>Maintain Decorum - </strong>Be respectful and follow proper conduct while using <b>Alaric</b></p>
<p><strong>Avoid Duplication - </strong>Do not add multiple instances of the same app</p>
<p><strong>Follow Naming Conventions – </strong>Use proper and meaningful names for apps and commands</p>
<p><strong>Test Before Adding - </strong>Verify that the app works as expected before adding it</p>
<p><strong>Respect User Data - </strong>Do not misuse or tamper with other users' data</p>
<p><strong>Logo size - </strong>should be lower than 500kb</p>
<p><strong>Global Alaric Key -</strong> ee504a3ed121313049cc5ca00ed42146d5b75826f126c48ea7696e1f5f263e2b</p>
<p id="presentKey"><strong>Global Alaric Key -</strong> ee504a3ed121313049cc5ca00ed42146d5b75826f126c48ea7696e1f5f263e2b</p>
</div>
</section>
<!-- About ME -->
<section class="page hide" id="aboutMe--page" style="padding-bottom: 1rem;">
<div style="display: flex; flex-direction: row; justify-content: space-between; width: 100%; position: sticky; top: 0; z-index: 999;">
<p class="page--header" style="padding: 0;">Creator</p>
</div>
<h1 style="font-weight: 900; font-size: 2rem; margin-top: 1.6rem;"><span style="color: #bbb;">About Me, </span></br>I'm a <span style="text-decoration: underline; font-style: italic;">Front-End biased Developer</span> living in India.</h1>
<img style="width: 60%;height: 30vh;object-fit: cover;border-radius: 10px;margin-top: 1rem;" src="./assets/me.jpeg" />
<p style="margin-top: 2rem;"> Hi, I'm Rohan, a passionate developer specializing myself in P2P apps and front-end design and development. I love creating innovative solutions and design. My goal is to make beautiful and functional apps that connect people in meaningful ways. When I'm not coding, I enjoy exploring new ideas and learning more about design and technology.</p>
<ul class="social--links" style="margin-top: 0.6rem;">
<a href="https://github.com/Codesamp-Rohan" target="_blank" class="active"><img src="./assets/github.png" style="width: 20px; height: 20px; padding: 0; background: #fff; border: 0; border-radius: 7px;" /><p>GitHub</p></a>
<a href="https://www.linkedin.com/in/rohan-chaudhary-399742255/" target="_blank" class="active"><img src="./assets/linkedin.png" style="width: 20px; height: 20px; padding: 0; background: #fff; border: 0; border-radius: 7px;" /><p>LinkedIn</p></a>
<a href="mailto:rohanchaudhary.bkbiet2022@gmail.com" class="active"><img src="./assets/mail.png" style="width: 20px; height: 20px; padding: 0; background: #fff; border: 0; border-radius: 7px;" /><p>G-Mail</p></a>
</ul>
<ul class="social--links">
<a class="active" style="width: fit-content; margin-top: 10px;"><img src="./assets/instagram.png" style="width: 20px; height: 20px; padding: 0; background: #fff; border: 0; border-radius: 7px;" /><p>Instagram</p></a>
<a href="https://codesamprohan.me" target="_blank" class="active" style="width: fit-content; margin-top: 10px;"><img src="./assets/about.png" style="width: 20px; height: 20px; padding: 0; background: #fff; border: 0; border-radius: 7px;" /><p>Portfolio</p></a>
</ul>
</section>
</div>
</main>
</body>
<script>
document.addEventListener("DOMContentLoaded", () => {
function slide(index) {
const slider = document.getElementById('slider');
slider.style.transform = `translateX(${index * 110}px)`; // 100px + 10px gap
}
const images = document.querySelectorAll("img.slide--out");
if (images.length) {
images.forEach((image, index) => {
setTimeout(() => {
image.classList.remove("slide--out");
}, 2000);
});
}
document.getElementById('menu').addEventListener('click', () => {
document.querySelector('.overlay').classList.toggle('active');
document.querySelector('.sideMenu').classList.toggle('menu--active');
})
document.getElementById('close--menu').addEventListener('click', () => {
document.querySelector('.overlay').classList.toggle('active');
document.querySelector('.sideMenu').classList.toggle('menu--active');
})
});
</script>
<script type="module" src="./bitcoin.js"></script>
<script type="module" src="./page.js"></script>
<script type="module" src="./notification.js"></script>
</html>