-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (110 loc) · 2.55 KB
/
index.html
File metadata and controls
110 lines (110 loc) · 2.55 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>react-light-feedback Demo</title>
<style>
* {
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
margin: 0;
padding: 40px;
background: #f0f0f0;
min-height: 100vh;
color: #1e1e1e;
}
.container {
max-width: 800px;
margin: 0 auto;
background: white;
border-radius: 8px;
padding: 40px;
box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
border: 1px solid #e6e6e6;
}
h1 {
margin-top: 0;
color: #1a1a1a;
}
.demo-section {
margin: 30px 0;
padding: 20px;
background: #f5f5f5;
border-radius: 8px;
}
.demo-section h3 {
margin-top: 0;
color: #666;
}
.controls {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-top: 20px;
}
.controls button {
padding: 10px 20px;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
transition: all 0.2s;
}
.controls button.primary {
background: #0066cc;
color: white;
}
.controls button.primary:hover {
background: #0052a3;
}
.controls button.secondary {
background: #e0e0e0;
color: #333;
}
.controls button.secondary:hover {
background: #d0d0d0;
}
.log {
margin-top: 20px;
padding: 15px;
background: #1a1a1a;
color: #4ade80;
border-radius: 8px;
font-family: monospace;
font-size: 13px;
max-height: 200px;
overflow-y: auto;
}
.log-entry {
margin: 5px 0;
padding: 5px 0;
border-bottom: 1px solid #333;
}
.log-entry:last-child {
border-bottom: none;
}
.sample-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 20px;
}
.card {
padding: 20px;
background: white;
border: 1px solid #e0e0e0;
border-radius: 8px;
}
.card h4 {
margin-top: 0;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/demo/main.tsx"></script>
</body>
</html>