-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (87 loc) · 3.69 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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="yamyamIcon.png">
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/reset-css@5.0.1/reset.min.css"
/>
<link rel="stylesheet" href="style_em.css">
<link rel="stylesheet" href="tools.css">
<link rel="stylesheet" href="settings.css">
<script src="https://kit.fontawesome.com/c1b11bbbbc.js" crossorigin="anonymous"></script>
<title>yamyamdrawing</title>
</head>
<body>
<header id="header">
<p class="yamlogo">yamyamdrawing</p>
</header>
<div id="main_display">
<aside class="tools">
<button id="drawing" class="tool">
<i class="fa-solid fa-pen-nib"></i>
<span class="tooltip">Pen(Q)</span>
</button>
<button id="brush" class="tool">
<i class="fa-solid fa-brush"></i>
<span class="tooltip">Brush(W)</span>
</button>
<button id="eraser" class="tool">
<i class="fa-solid fa-eraser"></i>
<span class="tooltip">Eraser(E)</span>
</button>
<button id="square" class="tool">
<i class="fa-solid fa-square"></i>
<span class="tooltip">Squre(A)</span>
</button>
<button id="triangle" class="tool">
<i class="fa-solid fa-play rotate"></i>
<span class="tooltip">Triangle(S)</span>
</button>
<button id="circle" class="tool">
<i class="fa-solid fa-circle"></i>
<span class="tooltip">Circle(D)</span>
</button>
<button id="return_button" class="tool">
<i class="fa-solid fa-rotate-left"></i>
<span class="tooltip">Undo(Crtl+Z)</span>
</button>
<button id="reset" class="tool">
<i class="fa-solid fa-trash-can"></i>
<span class="tooltip">Delete(delete)</span>
</button>
<div class="files">
<input type="file" accept="imange/*" id='file'/>
<label for="file" class="flex_end">📂</label>
<button id="save" class="flex_end">💾</button>
</div>
</aside>
<main>
<canvas></canvas>
</main>
<aside class="tools_sett">
<div class="container">
<div class="column">
<input type="color" id="text_color" />
<label for="color" class="color_tool">color</label>
</div>
<div class="column">
<input type="color" id="background_color" value="#ffffff"/>
<label for="background_color" class="color_tool">backgroundcolor</label>
</div>
</div>
<div class='ranges'>
<div id="size_box">
<input type="range" id="line_width" min="1" max="10" value="5" step="0.1"/>
<label for="line_width" class="range_tool">line width</label>
</div>
</div>
<div id="yamsign">@yamyamssi</p>
</aside>
</div>
<script type="module" src="app.js"></script>
</body>
</html>