mirror of
https://github.com/kennethnym/jrx.git
synced 2026-03-20 03:41:18 +00:00
@@ -75,7 +75,7 @@ export function App() {
|
||||
if (!activeSpec) {
|
||||
return (
|
||||
<div style={{ maxWidth: 600, margin: "60px auto", padding: "0 24px" }}>
|
||||
<h1 style={{ fontSize: "24px", marginBottom: "8px" }}>jrx examples</h1>
|
||||
<h1 style={{ fontSize: "24px", marginBottom: "8px" }}>jfx examples</h1>
|
||||
<p style={{ color: "var(--text-secondary)", fontSize: "14px", marginBottom: "24px" }}>
|
||||
JSX → json-render Spec. Pick a spec to see the live UI and JSON
|
||||
output.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>jrx example</title>
|
||||
<title>jfx example</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #f5f5f5;
|
||||
|
||||
@@ -46,4 +46,4 @@ const server = serve({
|
||||
},
|
||||
});
|
||||
|
||||
console.log(`jrx example server running at ${server.url}`);
|
||||
console.log(`jfx example server running at ${server.url}`);
|
||||
|
||||
Reference in New Issue
Block a user