-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (95 loc) · 3.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="title" content="DrawBoard" />
<meta
name="description"
content="DrawBoard is a versatile whiteboard tool with features for easy drawing, including undo/redo functionality and a variety of shapes and eraser options."
/>
<!-- Open Graph (Facebook) -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://givenby.github.io/DrawBoard/" />
<meta property="og:title" content="DrawBoard - Draw anything You Like" />
<meta
property="og:description"
content="DrawBoard is a versatile whiteboard tool with features for easy drawing, including undo/redo functionality and a variety of shapes and eraser options."
/>
<meta property="og:image" content="logo.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta
property="twitter:url"
content="https://givenby.github.io/DrawBoard/"
/>
<meta
property="twitter:title"
content="DrawBoard - Draw anything You Like"
/>
<meta
property="twitter:description"
content="DrawBoard is a versatile whiteboard tool with features for easy drawing, including undo/redo functionality and a variety of shapes and eraser options."
/>
<meta property="twitter:image" content="logo.png" />
<!-- Stylesheets -->
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
/>
<!-- Fonts -->
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap"
rel="stylesheet"
/>
<!-- Favicons -->
<link rel="icon" type="image/x-icon" href="assets/images/logo.png" />
<title>DrawBoard</title>
</head>
<body>
<div class="container">
<div class="sidebar">
<div class="size">
<button id="decrease">−</button
><input
class="input-field"
type="number"
id="size"
value="1"
min="1"
max="100"
onchange="updateValue(event)"
/>
<button id="increase">+</button>
</div>
<input class="color-picker" value="#000000" type="color" id="color" />
<div class="toolbox">
<button id="clear">
<div class="tooltip">
<i class="fa-solid fa-eraser fa-lg"></i>
<span class="tooltiptext">Clear All</span>
</div>
</button>
<button id="undo">
<div class="tooltip">
<i class="fa-solid fa-rotate-left fa-lg"></i>
<span class="tooltiptext">Undo</span>
</div>
</button>
<button id="redo">
<div class="tooltip">
<i class="fa-solid fa-rotate-right fa-lg"></i>
<span class="tooltiptext">Redo</span>
</div>
</button>
</div>
</div>
<div class="enclosed">
<canvas id="canvas" style="background: #fff"></canvas>
</div>
</div>
<!-- Scripts -->
<script src="main.js" defer></script>
</body>
</html>