-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
212 lines (212 loc) · 8.08 KB
/
index.html
File metadata and controls
212 lines (212 loc) · 8.08 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="A beautiful, zero-dependency React mind map component with native AI stream output, iOS-style UI, SVG rendering, plugin system, dark mode, and markdown I/O. npm: @xiangfa/mindmap" />
<meta name="keywords" content="mindmap, mind map, react, component, svg, ai, streaming, markdown, interactive, dark mode, typescript, plugin, visualization" />
<meta name="author" content="U14App" />
<link rel="canonical" href="https://mindmap.u14.app" />
<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Open MindMap - Interactive Mind Map Component for React" />
<meta property="og:description" content="A beautiful, zero-dependency React mind map component with native AI stream output, iOS-style UI, SVG rendering, plugin system, and markdown I/O." />
<meta property="og:image" content="https://mindmap.u14.app/screenshot.png" />
<meta property="og:url" content="https://mindmap.u14.app" />
<meta property="og:site_name" content="Open MindMap" />
<meta property="og:locale" content="en_US" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Open MindMap - Interactive Mind Map Component for React" />
<meta name="twitter:description" content="A beautiful, zero-dependency React mind map component with native AI stream output, iOS-style UI, SVG rendering, plugin system, and markdown I/O." />
<meta name="twitter:image" content="https://mindmap.u14.app/screenshot.png" />
<title>Open MindMap - Interactive Mind Map Component for React | AI Streaming Ready</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link
href="https://fonts.googleapis.cn/css2?family=Inter:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.cn/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap"
rel="stylesheet"
/>
<script>
tailwind.config = {
darkMode: "media",
theme: {
extend: {
colors: {
outline: "#717786",
"on-secondary": "#ffffff",
primary: "#007AFF",
"on-error-container": "#93000a",
"surface-variant": "#e3e2e7",
"primary-container": "#0058bc",
"on-error": "#ffffff",
"on-tertiary-container": "#fffbff",
"on-secondary-fixed": "#001a41",
"surface-container-highest": "#e3e2e7",
background: "#ffffff",
"inverse-on-surface": "#f1f0f5",
"on-surface-variant": "#414755",
"surface-dim": "#dad9df",
tertiary: "#9e3d00",
"inverse-primary": "#adc6ff",
"surface-container": "#f2f2f7",
"on-tertiary-fixed": "#351000",
"error-container": "#ffdad6",
secondary: "#405e96",
"on-primary-fixed-variant": "#004493",
"on-tertiary": "#ffffff",
"on-primary-container": "#fefcff",
"inverse-surface": "#2f3034",
"secondary-fixed-dim": "#adc6ff",
"on-surface": "#1a1b1f",
"secondary-container": "#a1befd",
"outline-variant": "#c1c6d7",
"primary-fixed": "#d8e2ff",
"on-background": "#1a1b1f",
"on-primary": "#ffffff",
"secondary-fixed": "#d8e2ff",
surface: "#ffffff",
"primary-fixed-dim": "#adc6ff",
"surface-tint": "#007AFF",
error: "#ba1a1a",
"on-secondary-fixed-variant": "#26467d",
"tertiary-fixed": "#ffdbcc",
"surface-container-low": "#f9f9fb",
"on-secondary-container": "#2d4c83",
"surface-bright": "#ffffff",
"surface-container-lowest": "#ffffff",
"on-primary-fixed": "#001a41",
"surface-container-high": "#ebebf0",
"tertiary-fixed-dim": "#ffb595",
"on-tertiary-fixed-variant": "#7c2e00",
"tertiary-container": "#c64f00",
},
fontFamily: {
headline: ["Inter", "sans-serif"],
body: ["Inter", "sans-serif"],
label: ["Inter", "sans-serif"],
},
borderRadius: {
DEFAULT: "0.5rem",
lg: "0.5rem",
xl: "1rem",
"2xl": "1.5rem",
"3xl": "2rem",
full: "9999px",
},
},
},
};
</script>
<style>
body {
font-family: "Inter", sans-serif;
-webkit-font-smoothing: antialiased;
letter-spacing: -0.01em;
}
.glass-effect {
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
.material-symbols-outlined {
font-variation-settings:
"FILL" 0,
"wght" 400,
"GRAD" 0,
"opsz" 24;
}
.hero-gradient {
background: radial-gradient(
circle at top center,
rgba(0, 122, 255, 0.03) 0%,
rgba(255, 255, 255, 0) 60%
);
}
.text-gradient {
background: linear-gradient(180deg, #1a1b1f 0%, #414755 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.code-glow {
box-shadow: 0 0 40px rgba(0, 122, 255, 0.1);
}
@media (prefers-color-scheme: dark) {
.hero-gradient {
background: radial-gradient(
circle at top center,
rgba(0, 122, 255, 0.06) 0%,
rgba(0, 0, 0, 0) 60%
);
}
.text-gradient {
background: linear-gradient(180deg, #f1f5f9 0%, #94a3b8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.code-glow {
box-shadow: 0 0 40px rgba(0, 122, 255, 0.2);
}
}
@keyframes shimmer {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(200%);
}
}
</style>
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Open MindMap",
"description": "A beautiful, interactive mind map component for React. Natively supports AI stream output with Markdown list syntax and iOS-style UI.",
"url": "https://mindmap.u14.app",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Any",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"softwareVersion": "0.6.5",
"license": "https://www.apache.org/licenses/LICENSE-2.0",
"codeRepository": "https://github.com/u14app/mindmap",
"programmingLanguage": ["TypeScript", "React"],
"image": "https://mindmap.u14.app/screenshot.png",
"author": {
"@type": "Organization",
"name": "U14App",
"url": "https://github.com/u14app"
},
"downloadUrl": "https://www.npmjs.com/package/@xiangfa/mindmap",
"softwareRequirements": "React >= 18",
"featureList": [
"AI stream output support",
"Pure SVG rendering",
"iOS-style UI",
"Plugin system with 7 built-in plugins",
"Dark mode",
"Keyboard shortcuts",
"Markdown input/output",
"Export to SVG, PNG, and Markdown",
"i18n support",
"Mobile touch support",
"Zero runtime dependencies"
]
}
</script>
</head>
<body class="bg-white dark:bg-[#0f1117] text-on-surface dark:text-slate-300">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>