Skip to content

Commit

Permalink
docs: drop nodebox examples (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz authored Sep 3, 2024
1 parent c2210c0 commit 7420b2e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 121 deletions.
4 changes: 2 additions & 2 deletions website/docs/src/components/Playground.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import { ThemesList } from "./ThemesList";

export const Playground = () => {
const { theme: pageTheme } = useTheme();
const [template, setTemplate] = useState("nextjs");
const [template, setTemplate] = useState("react");
const [theme, setTheme] = useState("light");
const [layout, setLayout] = useState("Default");

useEffect(() => {
setTemplate(window.localStorage["CSB_PLAYGROUND_TEMPLATE"] ?? "nextjs");
setTemplate(window.localStorage["CSB_PLAYGROUND_TEMPLATE"] ?? "react");
setTheme(window.localStorage["CSB_PLAYGROUND_THEME"] ?? "light");
setLayout(window.localStorage["CSB_PLAYGROUND_LAYOUT"] ?? "Default");
}, []);
Expand Down
10 changes: 0 additions & 10 deletions website/docs/src/components/TemplatesList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,6 @@ const logos = {
svelte: "/docs/logos/svelte.svg",
solid: "/docs/logos/solid.svg",
// "test-ts": "/docs/logos/jest.svg",
node: "/docs/logos/node.svg",
"nextjs-light": "/docs/logos/next-light.png",
"nextjs-dark": "/docs/logos/next-dark.png",
"vite-react": "/docs/logos/react.svg",
"vite-vue": "/docs/logos/vue.svg",
"vite-preact": "/docs/logos/preact.svg",
vite: "/docs/logos/vite.png",
"vite-svelte": "/docs/logos/svelte.png",
"astro-light": "/docs/logos/astro-light.svg",
"astro-dark": "/docs/logos/astro-dark.svg",
};

const Logo = ({ name }) => {
Expand Down
1 change: 0 additions & 1 deletion website/docs/src/pages/advanced-usage/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"components": "Components",
"hooks": "Hooks",
"client": { "title": "Sandpack Client", "label": "JS" },
"nodebox": { "title": "Nodebox", "label": "JS" },
"static": { "title": "Static", "label": "JS" },
"bundlers": "Experimental bundler (beta)",
"serving-static-files": "Serving static files (beta)"
Expand Down
108 changes: 0 additions & 108 deletions website/docs/src/pages/advanced-usage/nodebox.mdx

This file was deleted.

0 comments on commit 7420b2e

Please sign in to comment.