-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (64 loc) · 1.6 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
---
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="description"
content="SwiftUISVG — Convert SVG path data to SwiftUI Shape"
/>
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
<title>
SwiftUISVG – Convert SVG path data to a SwiftUI Shape
</title>
{%- seo -%} {%- if site.google_analytics -%} {%- include
google-analytics.html -%} {%- endif -%}
</head>
<body>
<main>
<h1 class="h1">
SwiftUISVG
</h1>
<section class="text">
<h2 class="h3">
Convert SVG path data to a SwiftUI Shape
</h2>
<p>
<code>SwiftUISVG</code> is a little tool written in javascript to help
you convert your vector <code>SVG</code> images into SwiftUI
<code>Shape</code> or <code>Path</code>. Paste the svg string, your
code is generated for you.
</p>
<p>
The code is open source (MIT) on
<a href="https://github.com/rijieli/swiftuisvg">Github</a>.
</p>
</section>
<section class="io">
<div class="button-group">
<!-- <button id="generate-path" class="generate-button">
Generate Path
</button> -->
<button id="generate-shape" class="generate-button">
Generate Shape
</button>
</div>
<textarea
class="input"
data-hook="input"
placeholder="Your `SVG` string goes here."
spellcheck="false"
></textarea>
<textarea
class="output"
data-hook="output"
spellcheck="false"
readonly
></textarea>
</section>
{% include footer.html %}
</main>
<script src="site/bundle.js"></script>
</body>
</html>