-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (68 loc) · 1.53 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
<!DOCTYPE html>
<html lang="ja">
<head>
<title>Test</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/ress.min.css">
<style>
:root {
--gray: gray;
--border-width: 2px;
padding: 1rem;
font-size: 16px;
}
body {
font-family: sans-serif;
}
.ToolTextarea {
display: block;
width: 100%;
min-height: 200px;
padding: 1rem;
border: var(--border-width) solid var(--gray);
border-radius: 4px;
font-size: 13px;
}
.ToolTextarea:read-only {
outline: none;
}
hr {
width: 100%;
height: var(--border-width);
margin: 20px 0;
border: 0;
background-color: var(--gray);
}
.HowToUse {
padding-left: 1.2em;
}
.HowToUse li li {
margin-top: 1em;
}
.popup-content {
padding: 1rem !important;
}
.ModalTriggerButton {
padding: 0.5em;
}
</style>
<script type="module">
import html from './scripts/html.js';
import React from 'https://dev.jspm.io/react';
import ReactDOM from 'https://dev.jspm.io/react-dom';
import LiCreater from './scripts/containers/LiCreater.js';
import HowToUse from './scripts/components/HowToUse.js';
const App = () => {
return html`
<div>
<${HowToUse} />
<${LiCreater} />
</div>`
}
ReactDOM.render(html`<${App} />`, document.getElementById('App'));
</script>
</head>
<body>
<div id="App"></div>
</body>
</html>