diff --git a/app/docs/template_file.md b/app/docs/template_file.md index a1ab22f..a3df9c4 100644 --- a/app/docs/template_file.md +++ b/app/docs/template_file.md @@ -16,7 +16,7 @@ the scene for the user to drop images/3D models. ```json [ { - "id": "slot1", + "ref": "slot1", "type": "2d", "props": {}, "v": [ @@ -27,7 +27,7 @@ the scene for the user to drop images/3D models. ] }, { - "id": "slot2", + "ref": "slot2", "type": "3d", "props": { "rotating": false, diff --git a/app/src/pages/Gallery3D/Experience.tsx b/app/src/pages/Gallery3D/Experience.tsx index 5bd73ea..246cd37 100644 --- a/app/src/pages/Gallery3D/Experience.tsx +++ b/app/src/pages/Gallery3D/Experience.tsx @@ -102,7 +102,7 @@ const template1 = [ const template7 = [ { - "id": "wall1", + "ref": "wall1", "type": "2d", "props": {}, "v": [ @@ -113,7 +113,7 @@ const template7 = [ ] }, { - "id": "wall2", + "ref": "wall2", "type": "2d", "props": {}, "v": [ @@ -124,7 +124,7 @@ const template7 = [ ] }, { - "id": "wall3", + "ref": "wall3", "type": "2d", "props": {}, "v": [ @@ -135,7 +135,7 @@ const template7 = [ ] }, { - "id": "wall4", + "ref": "wall4", "type": "2d", "props": {}, "v": [ @@ -146,7 +146,7 @@ const template7 = [ ] }, { - "id": "center", + "ref": "center", "type": "3d", "props": { "scale": 1, @@ -179,7 +179,7 @@ export const Experience = ({ gallery }: { gallery: string }) => { if (slots.type == '2d') { return (