-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
71 lines (63 loc) · 1.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Share Sample" content="width=device-width, initial-scale=1.0">
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/hand.png" type="image/png" />
<title>My Browsing Portrait</title>
/
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
}
.header,
.section {
padding: 20px;
margin-bottom: 20px;
border: 1px solid #ddd;
}
.header {
background-color: #234376;
color: #fff;
text-align: center;
}
.footer {
background-color: #4476c6;
color: #fff;
text-align: center;
font-weight: bold;
padding: 20px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>Share Sample</h1>
<p>
Accept title, url. image<br />
</p>
</div>
<div id="result"></div>
</div>
<!-- <script src="https://d3js.org/d3.v4.min.js"></script>
<script src="node_modules/d3-cloud/build/d3.layout.cloud.js"></script> -->
<script src="script.js"></script>
</body>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js', { scope: '/' });
}
</script>
</html>