Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
sahirgomez1 committed Jun 25, 2021
1 parent 4c0070c commit d96b24d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ In the project directory, you can run
```
npm install
```
to install all dependencies. Then run.\
to install all dependencies. Then run.
```
npm start
```
Add your 3D objects to the public folder, use `.gltf` files. We suggest and [OBJ coverter](https://github.com/CesiumGS/obj2gltf), then optimize
your glTF assets with `gltf-pipeline`, [more info](https://www.npmjs.com/package/gltf-pipeline)

### `npm start`

Add your 3D objects to the public folder, use `.gltf` files.

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

Expand Down
18 changes: 11 additions & 7 deletions src/components/OutputContainer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Container, Row } from "react-bootstrap";
import { Container, Row, Col, Button } from "react-bootstrap";
import { useAnnotationStore } from '../stores/AnnotationStore';

const OutputContainer = () => {
Expand All @@ -10,12 +10,16 @@ const OutputContainer = () => {
return (
<Container fluid="md" className="mt-2">
<Row className="section-wrapper">
<div className="output">
<code>Output: </code>
<br/>
<code>{outputJSON}</code>

</div>
<Col md="10">
<div className="output">
<code>Output: </code>
<br/>
<code>{outputJSON}</code>
</div>
</Col>
<Col md="2">
<Button size="sm" variant="light">Edit</Button> <Button size="sm" variant="dark">Generate</Button>
</Col>
</Row>
</Container>
)
Expand Down

0 comments on commit d96b24d

Please sign in to comment.