Skip to content

Commit 7420b2e

Browse files
authored
docs: drop nodebox examples (#1188)
1 parent c2210c0 commit 7420b2e

File tree

4 files changed

+2
-121
lines changed

4 files changed

+2
-121
lines changed

website/docs/src/components/Playground.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import { ThemesList } from "./ThemesList";
1414

1515
export const Playground = () => {
1616
const { theme: pageTheme } = useTheme();
17-
const [template, setTemplate] = useState("nextjs");
17+
const [template, setTemplate] = useState("react");
1818
const [theme, setTheme] = useState("light");
1919
const [layout, setLayout] = useState("Default");
2020

2121
useEffect(() => {
22-
setTemplate(window.localStorage["CSB_PLAYGROUND_TEMPLATE"] ?? "nextjs");
22+
setTemplate(window.localStorage["CSB_PLAYGROUND_TEMPLATE"] ?? "react");
2323
setTheme(window.localStorage["CSB_PLAYGROUND_THEME"] ?? "light");
2424
setLayout(window.localStorage["CSB_PLAYGROUND_LAYOUT"] ?? "Default");
2525
}, []);

website/docs/src/components/TemplatesList.jsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ const logos = {
1515
svelte: "/docs/logos/svelte.svg",
1616
solid: "/docs/logos/solid.svg",
1717
// "test-ts": "/docs/logos/jest.svg",
18-
node: "/docs/logos/node.svg",
19-
"nextjs-light": "/docs/logos/next-light.png",
20-
"nextjs-dark": "/docs/logos/next-dark.png",
21-
"vite-react": "/docs/logos/react.svg",
22-
"vite-vue": "/docs/logos/vue.svg",
23-
"vite-preact": "/docs/logos/preact.svg",
24-
vite: "/docs/logos/vite.png",
25-
"vite-svelte": "/docs/logos/svelte.png",
26-
"astro-light": "/docs/logos/astro-light.svg",
27-
"astro-dark": "/docs/logos/astro-dark.svg",
2818
};
2919

3020
const Logo = ({ name }) => {

website/docs/src/pages/advanced-usage/_meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"components": "Components",
44
"hooks": "Hooks",
55
"client": { "title": "Sandpack Client", "label": "JS" },
6-
"nodebox": { "title": "Nodebox", "label": "JS" },
76
"static": { "title": "Static", "label": "JS" },
87
"bundlers": "Experimental bundler (beta)",
98
"serving-static-files": "Serving static files (beta)"

website/docs/src/pages/advanced-usage/nodebox.mdx

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)