forked from gaearon/rscexplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathembed.html
More file actions
53 lines (53 loc) · 1.26 KB
/
embed.html
File metadata and controls
53 lines (53 loc) · 1.26 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>RSC Explorer Embed</title>
<style>
* {
box-sizing: border-box;
}
:root {
--bg: #1a1a1a;
--surface: #242424;
--border: #333;
--text: #a0a0a0;
--text-dim: #666;
--text-bright: #e0e0e0;
--font-mono: "SF Mono", "Fira Code", "JetBrains Mono", Menlo, monospace;
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
position: fixed;
width: 100%;
top: 0;
left: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
background: var(--bg);
color: var(--text);
border-radius: 8px;
}
#embed-root {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
</style>
</head>
<body>
<div id="embed-root"></div>
<script type="module" src="/src/client/embed.tsx"></script>
</body>
</html>