Skip to content

Commit

Permalink
Adjust default project (#4350)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruggi authored Oct 10, 2023
1 parent 2ac29c7 commit 41b1aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/src/sample-projects/sample-project-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function createBeachesProjectContents(): ProjectContentTreeRoot {
lastParseSuccess: null,
lastSavedContents: null,
fileContents: {
code: "import * as React from 'react'\nimport { View } from 'utopia-api'\nimport '../public/globals.css'\n\nexport var Playground = () => {\n return (\n <div\n style={{\n height: '100%',\n width: '100%',\n contain: 'layout',\n }}\n data-uid='a7b'\n >\n <div\n style={{\n height: 150,\n position: 'absolute',\n left: 154,\n top: 134,\n }}\n data-uid='b15'\n >\n <img\n src='https://github.com/concrete-utopia/utopia/blob/master/editor/resources/editor/[email protected]?raw=true'\n alt='Utopia logo'\n style={{ height: '100%' }}\n data-uid='b0e'\n />\n </div>\n </div>\n )\n}\n",
code: "import * as React from 'react'\nimport { View } from 'utopia-api'\nimport '../public/globals.css'\n\nexport var Playground = ({ style }) => {\n return (\n <div\n style={{\n ...style,\n height: '100%',\n width: '100%',\n contain: 'layout',\n }}\n data-uid='a7b'\n >\n <div\n style={{\n height: 'max-content',\n position: 'absolute',\n left: 163,\n top: 305,\n display: 'flex',\n flexDirection: 'row',\n width: 'max-content',\n gap: 10,\n }}\n data-uid='b15'\n >\n <img\n src='https://github.com/concrete-utopia/utopia/blob/master/editor/resources/editor/[email protected]?raw=true'\n alt='Utopia logo'\n style={{ width: 118, height: 150 }}\n data-uid='b0e'\n />\n <img\n src='https://github.com/concrete-utopia/utopia/blob/master/editor/resources/editor/[email protected]?raw=true'\n alt='Utopia logo'\n style={{ width: 118, height: 150 }}\n data-uid='aaf'\n />\n <img\n src='https://github.com/concrete-utopia/utopia/blob/master/editor/resources/editor/[email protected]?raw=true'\n alt='Utopia logo'\n style={{ width: 118, height: 150 }}\n data-uid='aam'\n />\n </div>\n </div>\n )\n}\n",
parsed: {
type: 'UNPARSED',
},
Expand All @@ -207,7 +207,7 @@ function createBeachesProjectContents(): ProjectContentTreeRoot {
lastParseSuccess: null,
lastSavedContents: null,
fileContents: {
code: "import * as React from 'react'\nimport '../public/globals.css'\nimport { FlexCol } from './utils'\n\nexport var App = () => {\n return (\n <FlexCol\n style={{\n width: '100%',\n height: '100%',\n background: 'white',\n\n justifyContent: 'center',\n alignItems: 'center',\n }}\n >\n <img\n src='https://github.com/concrete-utopia/utopia/blob/master/editor/resources/editor/[email protected]?raw=true'\n alt='Utopia logo'\n style={{ height: '40%' }}\n ></img>\n </FlexCol>\n )\n}\n",
code: "import * as React from 'react'\nimport '../public/globals.css'\nimport { FlexCol } from './utils'\n\nexport var App = () => {\n return (\n <FlexCol\n style={{\n width: '100%',\n height: '100%',\n background: 'white',\n\n justifyContent: 'center',\n alignItems: 'center',\n }}\n >\n <img\n src='https://github.com/concrete-utopia/utopia/blob/master/editor/resources/editor/[email protected]?raw=true'\n alt='Utopia logo'\n style={{\n width: 357,\n height: 453,\n }}\n ></img>\n </FlexCol>\n )\n}\n",
parsed: {
type: 'UNPARSED',
},
Expand Down

0 comments on commit 41b1aec

Please sign in to comment.