File tree Expand file tree Collapse file tree 4 files changed +2
-121
lines changed Expand file tree Collapse file tree 4 files changed +2
-121
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ import { ThemesList } from "./ThemesList";
1414
1515export 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 } , [ ] ) ;
Original file line number Diff line number Diff 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
3020const Logo = ( { name } ) => {
Original file line number Diff line number Diff line change 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)"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments