-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (72 loc) · 2.68 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
<!DOCTYPE html>
<html lang="en" class="bg-zinc-800">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sorting-Vis | By Sina Bayandorian</title>
<link rel="shortcut icon" href="./src/assets/favicon.svg" type="image/svg+xml" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="./main.css" />
<script type="module" src="./index.js" defer></script>
</head>
<body
class="grid grid-rows-[auto,_1fr] max-w-[1000px] h-screen bg-gray-200 overflow-x-hidden mx-auto"
>
<header class="controls flex flex-wrap justify-between gap-3 p-3">
<div class="controls-left flex flex-wrap gap-x-2 gap-y-3">
<div class="algorithm-dropdown"></div>
<div class="buttons flex gap-x-2">
<button
type="button"
class="regenerate-button bg-blue-500 hover:bg-blue-600 text-white rounded-md px-4 focus:outline-none disabled:opacity-75 disabled:cursor-not-allowed pt-0.5 pb-1"
>
<i class="fa-solid fa-repeat mr-2"></i>
Regenerate
</button>
<button
type="button"
class="sort-button bg-blue-500 hover:bg-blue-600 text-white rounded-md px-4 focus:outline-none disabled:opacity-75 disabled:cursor-not-allowed pt-0.5 pb-1"
>
<i class="fa-solid fa-arrow-down-short-wide mr-2"></i>
Sort
</button>
</div>
</div>
<div class="controls-right flex items-center gap-x-2">
<label class="input-label text-sm font-bold -mt-1">
<i class="fa-solid fa-arrows-left-right"></i>
Array Size
</label>
<input
min="4"
max="150"
value="40"
type="range"
class="count-input accent-blue-500 active:accent-blue-600 disabled:opacity-75 cursor-pointer disabled:cursor-not-allowed"
/>
</div>
</header>
<main>
<div
class="bars-container grid grid-cols-1 w-full h-full mx-auto px-10 lg:px-[150px] xl:px-[250px] overflow-x-auto"
></div>
</main>
<footer class="credits text-xs text-zinc-600 text-center border-t border-zinc-800 py-2">
Developed by
<a
target="_blank"
rel="noreferrer noopner"
class="portfolio-link underline"
href="https://portfolio-sina-byn.vercel.app/"
>
Sina Bayandorian
</a>
</footer>
</body>
</html>