-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (40 loc) · 1.86 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
<!doctype html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<title>Cutter.js</title>
<meta name='title' content='Cutter.js'>
<meta name='description' content='Cutting images with svg masks'>
<meta property='og:type' content='website'>
<meta property='og:title' content='Cutter.js'>
<meta property='og:description' content='Cutting images with svg masks'>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<a href="https://lelab.ink/" target="_blank">
<img src="https://lelab.ink/static/img/commons/logo.png" alt="Lelab Logo">
</a>
<main id="app">
<svg width="600px" height="600px" viewBox="0 0 600 600">
<rect width="600" height="600" fill="#e5e5e5"/>
<clipPath id="clippath-idx">
<rect class="clip" x="100" y="100" width="400" height="400" />
</clipPath>
<image class="ghost" width="0" height="0" xlink:href="" x="0" y="0"/>
<g id="clip-group" clip-path="url(#clippath-idx)">
<image class="img" width="0" height="0" xlink:href="" x="0" y="0" />
</g>
<image class="drag" width="100" height="100" xlink:href="/arrows.svg" x="0" y="0" />
<rect x="100" y="100" width="400" height="400" class="sensible"/>
</svg>
<footer>
<input type="range" id="zoom-control" name="zoom" min="0.0" max="1.0" step="0.05">
</footer>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.min.js" integrity="sha512-UXumZrZNiOwnTcZSHLOfcTs0aos2MzBWHXOHOuB0J/R44QB0dwY5JgfbvljXcklVf65Gc4El6RjZ+lnwd2az2g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="module" src="/main.js"></script>
</body>
</html>