-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (76 loc) · 3.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>emoji2svg API</title>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.1.0/github-markdown-dark.min.css" integrity="sha512-USRvpT7dJFA7mrRx4+esmy+2mYr8vlgmDLFpkNeVEd+D5CgQvULKPYVnDV97Ywfek+e//HdSA0NlaPe4oqkwfQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Mukta:wght@200&display=swap" rel="stylesheet">
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
.repo {
fill: #ffffff;
}
.repo.zoom {
display: block;
transition-duration: .5s;
}
.repo:hover {
transform: scale(1.2);
}
</style>
</head>
<body style="background-color: #0d1117; font-family: 'Mukta', sans-serif;">
<div style="display: flex; justify-content: flex-end; margin: 1.3rem">
<a href="https://github.com/Comamoca/emoji2svg">
<svg class="repo zoom" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="60px"><path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 01-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 010 8c0-4.42 3.58-8 8-8z"></path></svg>
</a>
</div>
<div align="center" style="margin-bottom: 2rem; color: #ffffff;">
<div style="font-size: 5rem;">
<img src="https://emoji2svg.deno.dev/api/🍣" width="100px"></img>
</div>
<div style="font-size: 2rem;">emoji2svg</div>
<div style="font-size: 1.3rem;">API of convert emoji to SVG
<img src="https://emoji2svg.deno.dev/api/🍣" width="40px"
style="position: relative; bottom: -10px;"></img>
</div>
</div>
<div id="content" class="markdown-body">
<div align="center" style="margin-bottom: 4rem">
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
const text = `
## 🚀 How to use
<code>
curl https://emoji2svg.deno.dev/api/🦊
</code>
## ⛏️ Development
<code>
deno task run
</code>
## 📝 Todo
- [ ] Allow size selection
## 📜 License
Licenses are important for open source. Be sure to write it.
### 🧩 Modules
## 👏 Affected projects
[URLで絵文字を指定したらTwemoji画像を返す仕組みを作った by Cloud Functions](https://zenn.dev/team_zenn/articles/5b331a95a6f6f5)
`
document.getElementById('content').innerHTML =
marked.parse(text)
</script>
</body>
</html>