-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
28 lines (27 loc) · 1.96 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
<!DOCTYPE html>
<html lang="en">
<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">
<title>open-heart</title>
<!-- <script src="./dist/index.js" defer type="module"></script> -->
<script src="https://unpkg.com/open-heart-element" type="module" defer></script>
<link href="https://unpkg.com/muan.css" rel="stylesheet" type="text/css">
<link href="./demo.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1><open-heart></h1>
<h2>Demo</h2>
<open-heart href="https://api.oh.dddddddddzzzz.org/element.openheart.fyi/1" emoji="❤️"><span class="on">♥</span><span class="off">♡</span></open-heart>
<open-heart href="https://api.oh.dddddddddzzzz.org/element.openheart.fyi/2" emoji="❤️"><span class="on">♥</span><span class="off">♡</span></open-heart>
<open-heart href="https://api.oh.dddddddddzzzz.org/element.openheart.fyi/3" emoji="❤️"><span class="on">♥</span><span class="off">♡</span></open-heart>
<open-heart href="https://api.oh.dddddddddzzzz.org/element.openheart.fyi/4" emoji="❤️"><span class="on">♥</span><span class="off">♡</span></open-heart>
<open-heart href="https://api.oh.dddddddddzzzz.org/element.openheart.fyi/5" emoji="❤️"><span class="on">♥</span><span class="off">♡</span></open-heart>
<open-heart href="https://api.oh.dddddddddzzzz.org/element.openheart.fyi/6" emoji="❤️"><span class="on">♥</span><span class="off">♡</span></open-heart>
<open-heart href="https://api.oh.dddddddddzzzz.org/element.openheart.fyi/7" emoji="❤️"><span class="on">♥</span><span class="off">♡</span></open-heart>
<open-heart href="https://api.oh.dddddddddzzzz.org/element.openheart.fyi/8" emoji="❤️"><span class="on">♥</span><span class="off">♡</span></open-heart>
<h2>Reset</h2>
<button onclick="localStorage.removeItem('_open_heart'); location.reload();">Clear localStorage</button>
</body>
</html>