-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (36 loc) · 2.21 KB
/
index.html
File metadata and controls
36 lines (36 loc) · 2.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MonkeyTable — Browser Standalone Example</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f3f4f6; padding: 32px; }
h1 { font-size: 24px; color: #111827; margin-bottom: 8px; }
p { color: #6b7280; margin-bottom: 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 20px; background: white; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 16px; }
.tabs { display: flex; gap: 4px; }
.tab { padding: 6px 14px; font-size: 14px; font-weight: 500; border: 1px solid transparent; border-radius: 6px; background: none; color: #6b7280; cursor: pointer; transition: all 0.15s; }
.tab:hover { background: #f3f4f6; color: #374151; }
.tab-active { background: #111827; color: white; border-color: #111827; }
.tab-active:hover { background: #1f2937; }
.tab-private { border-color: #dc2626 !important; color: #dc2626 !important; }
.tab-private.tab-active { background: #dc2626 !important; border-color: #dc2626 !important; color: white !important; }
.controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tab-panel { }
.example { background: white; border-radius: 8px; border: 1px solid #e5e7eb; padding: 24px; margin-bottom: 32px; }
.example h2 { font-size: 16px; color: #374151; margin-bottom: 4px; }
.example .desc { font-size: 13px; color: #9ca3af; margin-bottom: 16px; }
.table-container { height: 400px; border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; }
.log { margin-top: 12px; padding: 8px 12px; background: #f9fafb; border-radius: 4px; font-family: monospace; font-size: 12px; color: #6b7280; max-height: 100px; overflow-y: auto; }
pre { white-space: pre-wrap; }
</style>
</head>
<body>
<h1>MonkeyTable — Browser Standalone</h1>
<p>No server required. Data lives in-memory in the browser.</p>
<div id="root"></div>
<script type="module" src="./main.tsx"></script>
</body>
</html>