Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.