-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
352 lines (328 loc) · 14.2 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>minDDraw</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Matías Gonta" />
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="styles.css" />
<link rel="icon" href="assets/minddraw-logo.ico" />
</head>
<body>
<header>
<div class="menu-bar">
<div class="menu-bar__wrapper">
<div class="menu-bar__wrapper__line"></div>
<div class="menu-bar__wrapper__line"></div>
<div class="menu-bar__wrapper__line"></div>
</div>
</div>
<!-- Tools board close modal -->
<div class="tools-board__close-modal"></div>
<nav class="tools-board">
<div class="tools-board__pattern"></div>
<div class="logo-box">
<img src="assets/minddraw-logo.png" alt="minddraw-logo" class="logo-box__img" />
</div>
<div class="sharpes-box">
<h4 class="sharpes-box__title">Sharpes</h4>
<ul class="tool-list">
<li class="tool-list__tool" id="circle">
<div class="tool-list__tool__icon">
<svg
xmlns="http://www.w3.org/2000/svg"
width="100%"
height="100%"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
</svg>
</div>
<span class="tool-list__tool__name">Circle</span>
</li>
<li class="tool-list__tool" id="triangle">
<div class="tool-list__tool__icon">
<svg
xmlns="http://www.w3.org/2000/svg"
width="100%"
height="100%"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z" />
</svg>
</div>
<span class="tool-list__tool__name">Triangle</span>
</li>
<li class="tool-list__tool" id="rectangle">
<div class="tool-list__tool__icon">
<svg
xmlns="http://www.w3.org/2000/svg"
width="100%"
height="100%"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z" />
</svg>
</div>
<span class="tool-list__tool__name">Rectangle</span>
</li>
<li>
<input type="checkbox" id="fill-check" />
<span class="tool-list__tool__name">Fill</span>
</li>
</ul>
</div>
<div class="options-box">
<h4 class="options-box__title">Options</h4>
<ul class="tool-list">
<li class="tool-list__tool" id="brush">
<div class="tool-list__tool__icon">
<svg
xmlns="http://www.w3.org/2000/svg"
width="100%"
height="100%"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
fill="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M3 21v-4a4 4 0 1 1 4 4h-4" />
<path d="M21 3a16 16 0 0 0 -12.8 10.2" />
<path d="M21 3a16 16 0 0 1 -10.2 12.8" />
<path d="M10.6 9a9 9 0 0 1 4.4 4.4" />
</svg>
</div>
<span class="tool-list__tool__name">Brush</span>
</li>
<li class="tool-list__tool" id="eraser">
<div class="tool-list__tool__icon">
<svg
xmlns="http://www.w3.org/2000/svg"
width="100%"
height="100%"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M19 20h-10.5l-4.21 -4.3a1 1 0 0 1 0 -1.41l10 -10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41l-9.2 9.3" />
<path d="M18 13.3l-6.3 -6.3" />
</svg>
</div>
<span class="tool-list__tool__name">Eraser</span>
</li>
<li class="tool-list__tool">
<input type="range" id="range-density" min="1" max="30" value="5">
</li>
</ul>
</div>
<div class="colors-box">
<h4 class="colors-box__title">Colors</h4>
<ul class="tool-list tool-list--color">
<li class="tool-list__tool tool-list__tool--color">
<input type="color" id="color-picker" value="#000000">
</li>
<li class="tool-list__tool tool-list__tool--color" id=""></li>
<li class="tool-list__tool tool-list__tool--color" id=""></li>
<li class="tool-list__tool tool-list__tool--color" id=""></li>
<li class="tool-list__tool tool-list__tool--color" id=""></li>
<li class="tool-list__tool tool-list__tool--color" id=""></li>
</ul>
</div>
</nav>
</header>
<main>
<section>
<article class="canvas-board">
<canvas class="canvas-board__canvas"></canvas>
</article>
<article class="canvas-buttons">
<button class="canvas-buttons__clear">
<div class="icon-container">
<div class="erase-container">
<div class="erase-container__fragment erase-container__fragment--top"></div>
<div class="erase-container__fragment erase-container__fragment--bottom"></div>
</div>
<div class="erase-container__draw"></div>
</div>
<span>Clear Canvas</span>
</button>
<a href="" download="" id="download-link">
<button class="canvas-buttons__save">
<span class="folder-container">
<svg
class="folder-container__file-back"
width="146"
height="113"
viewBox="0 0 146 113"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M0 4C0 1.79086 1.79086 0 4 0H50.3802C51.8285 0 53.2056 0.627965 54.1553 1.72142L64.3303 13.4371C65.2799 14.5306 66.657 15.1585 68.1053 15.1585H141.509C143.718 15.1585 145.509 16.9494 145.509 19.1585V109C145.509 111.209 143.718 113 141.509 113H3.99999C1.79085 113 0 111.209 0 109V4Z"
fill="#d29101"
></path>
<defs>
<linearGradient
id="paint0_linear_117_4"
x1="0"
y1="0"
x2="72.93"
y2="95.4804"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#a040fd"></stop>
<stop offset="1" stop-color="#5f41f3"></stop>
</linearGradient>
</defs>
</svg>
<svg
class="folder-container__file-page"
width="88"
height="99"
viewBox="0 0 88 99"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect width="88" height="99" fill="url(#paint0_linear_117_6)"></rect>
<defs>
<linearGradient
id="paint0_linear_117_6"
x1="0"
y1="0"
x2="81"
y2="160.5"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="white"></stop>
<stop offset="1" stop-color="#686868"></stop>
</linearGradient>
</defs>
</svg>
<svg
class="folder-container__file-front"
width="160"
height="79"
viewBox="0 0 160 79"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M0.29306 12.2478C0.133905 9.38186 2.41499 6.97059 5.28537 6.97059H30.419H58.1902C59.5751 6.97059 60.9288 6.55982 62.0802 5.79025L68.977 1.18034C70.1283 0.410771 71.482 0 72.8669 0H77H155.462C157.87 0 159.733 2.1129 159.43 4.50232L150.443 75.5023C150.19 77.5013 148.489 79 146.474 79H7.78403C5.66106 79 3.9079 77.3415 3.79019 75.2218L0.29306 12.2478Z"
fill="#f7d062"
></path>
<defs>
<linearGradient
id="paint0_linear_117_5"
x1="38.7619"
y1="8.71323"
x2="66.9106"
y2="82.8317"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#a040fd"></stop>
<stop offset="1" stop-color="#5251f2"></stop>
</linearGradient>
</defs>
</svg>
</span>
<span class="canvas-buttons__save__text">Save your Canvas</span>
</button>
</a>
</article>
</section>
</main>
<footer>
<div class="footer-container">
<div class="footer-pattern"></div>
<div class="footer-container__logo-box">
<img src="assets/minddraw-logo.png" alt="minddraw-logo" class="footer-container__logo-box__img" />
</div>
<div class="footer-container__info">
<div class="footer-container__info__social">
<!-- Facebook -->
<a href="" class="social-box" target="_blank">
<div class="social-box__svg-container">
<svg
viewBox="0 0 320 512"
height="1.3em"
xmlns="http://www.w3.org/2000/svg"
class="svgIcon"
fill="white"
>
<path d="M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"></path>
</svg>
</div>
<div class="social-box__svg-bg social-box__svg-bg--facebook"></div>
</a>
<!-- Instagram -->
<a href="" class="social-box" target="_blank">
<div class="social-box__svg-container">
<svg
fill="white"
class="svgIcon"
viewBox="0 0 448 512"
height="1.5em"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path>
</svg>
</div>
<div class="social-box__svg-bg social-box__svg-bg--instagram"></div>
</a>
<!-- X -->
<a href="" class="social-box" target="_blank">
<div class="social-box__svg-container">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="#ffffff"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M4 4l11.733 16h4.267l-11.733 -16z" />
<path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772" />
</svg>
</div>
<div class="social-box__svg-bg social-box__svg-bg--x"></div>
</a>
</div>
<div class="footer-container__info__copyright">
<p>© 2023 minDDraw Inc.</p>
</div>
</div>
</div>
</footer>
<script src="index.js"></script>
</body>
</html>