diff --git a/public/demo/config/projects.json b/public/demo/config/projects.json deleted file mode 100644 index 20fe102..0000000 --- a/public/demo/config/projects.json +++ /dev/null @@ -1,85 +0,0 @@ -[ - { - "id": "rac_basic_sample_project", - "name": "rac basic sample project", - "thumbnail": "projects/rac_basic_sample_project/thumbnail.png", - "camera": { - "eye": [-65, 37, 41], - "look": [-15, 0, 15] - }, - "models": [{ - "name": "rac basic sample project", - "src": "projects/rac_basic_sample_project/rac_basic_sample_project.gltf", - "position": [0, 0, 0], - "rotation": [-90, 0, 0], - "scale": [0.001, 0.001, 0.001], - "instantiate": false, - "merge": false, - "edges": true, - "visible": true - }] - }, { - "id": "technical_school", - "name": "technical school", - "thumbnail": "projects/technical_school/thumbnail.png", - "camera": { - "eye": [-65, 37, 41], - "look": [-15, 0, 15] - }, - "models": [{ - "name": "technical school", - "src": "projects/technical_school/technical_school.gltf", - "position": [0, 0, 0], - "rotation": [-90, 0, 0], - "scale": [0.001, 0.001, 0.001], - "instantiate": false, - "merge": false, - "edges": true, - "visible": true - }] - }, { - "id": "misc", - "name": "misc", - "thumbnail": "projects/misc/thumbnail.png", - "camera": { - "eye": [30, 40, -100], - "look": [30, 5, -20] - }, - "models": [{ - "name": "building_1.ifc", - "src": "projects/misc/building_1.ifc", - "position": [0, 0, 0], - "edges": true - }, { - "name": "cgaxis_tree.fbx", - "src": "projects/misc/cgaxis_tree.fbx", - "position": [20, 0, 0], - "scale": [0.05, 0.05, 0.05] - }, { - "name": "cgaxis_tree.obj", - "src": "projects/misc/cgaxis_tree.obj", - "position": [30, 0, 0], - "scale": [0.05, 0.05, 0.05] - }, { - "name": "M4A1.dae", - "src": "projects/misc/M4A1.dae", - "position": [40, 0, 0], - "scale": [0.05, 0.05, 0.05], - "edges": true - }, { - "name": "car", - "src": "projects/misc/car/car.dae", - "position": [50, 0, 0], - "rotation": [-90, 0, 0], - "edges": true - }] - }, { - "id": "ifc_building", - "name": "ifc building", - "thumbnail": "projects/ifc_building/thumbnail.png", - "models": [{ - "src": "projects/ifc_building/building_2.ifc", - "rotation": [0, 0, 0] - }] - } -] diff --git a/src/pages/examples/index.tsx b/src/pages/examples/index.tsx index 91033d0..4d23443 100644 --- a/src/pages/examples/index.tsx +++ b/src/pages/examples/index.tsx @@ -58,7 +58,7 @@ function Examples() { if (!id) { return; } - const subTitle = id.split("_").join(" ");; + const subTitle = id.split("_").join(" "); data.forEach((menu: MenusProp) => { menu.subMenus.forEach((subMenu: MenuProp) => { if (subMenu.title === subTitle) { @@ -87,7 +87,7 @@ function Examples() {