-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (44 loc) · 1.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Activity Graph (Web Component)</title>
<link rel="stylesheet" href="/style.css" />
</head>
<body class="activity-graph-auto">
<main>
<h1>
<code><activity-graph></code>
</h1><ul>
<li><a href="https://github.com/mariohamann/activity-graph">GitHub /
Docs</a></li>
<li><a href="https://www.npmjs.com/package/@mariohamann/activity-graph"
rel="nofollow">NPM</a></li>
<li><a href="https://mariohamann.com/activity-graph-component/"
rel="nofollow">Blog post</a></li>
</ul>
<h2>Server Side Rendering</h2>
<activity-graph range-start="2024-01-01" range-end="2024-12-31"
activity-levels="0,1,2,4"
activity-data="2024-01-03,2024-01-04,2024-01-05,2024-01-05,2024-01-08">
</activity-graph>
<h2>Client Side Rendering</h2>
<!-- client
<activity-graph range-start="2024-01-01" range-end="2024-12-31" activity-levels="0,1,2,4">
<ul>
<li data-activity="2024-01-03">Activity on 2024-01-03</li>
<li data-activity="2024-01-04">Activity on 2024-01-04</li>
<li data-activity="2024-01-05">Activity on 2024-01-05</li>
<li data-activity="2024-01-05">Activity on 2024-01-05</li>
<li data-activity="2024-01-08">Activity on 2024-01-08</li>
</ul>
</activity-graph>
/client -->
<div>
by <a href="https://mariohamann.com">mariohamann.com</a>
</div>
<script type="module" src="/src/activity-graph.js"></script>
</main>
</body>
</html>