Skip to content

Commit bdee950

Browse files
v1.1.2
v1.1.2 - metaverse shop update new products needed...
2 parents 81c172b + 65885de commit bdee950

File tree

2 files changed

+205
-6
lines changed

2 files changed

+205
-6
lines changed
267 KB
Loading

dist/admin/metaverse/script.js

Lines changed: 205 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -904,12 +904,211 @@ const productData = [
904904
scene: {
905905
assetUri: 'coat.glb',
906906
path: 'https://straight-code.github.io/assets/',
907-
position: [-5, 0, 0],
907+
position: [-20, 0, 0],
908908
quaternion: null,
909909
rotation: [0, 0, 0],
910-
scale: 8 } },
911-
912-
910+
scale: 7 } },
911+
{
912+
id: 'lamb-leather-jacket',
913+
product: {
914+
description: 'support straight-code and the team by owning some straight-code merch.',
915+
images: [
916+
'./assets/jumper1of1.png'],
917+
918+
sizes: [
919+
{ name: 'xs', price: 35 },
920+
{ name: 'sm', price: 35 },
921+
{ name: 'md', price: 35 },
922+
{ name: 'lg', price: 35 },
923+
{ name: 'xl', price: 35 },
924+
{ name: 'xxl', price: 35 }],
925+
926+
title: 'straight-code 1of1 Jumper' },
927+
928+
scene: {
929+
assetUri: 'coat.glb',
930+
path: 'https://straight-code.github.io/assets/',
931+
position: [-20, 0, -10],
932+
quaternion: null,
933+
rotation: [0, 0, 0],
934+
scale: 7 } },
935+
936+
{
937+
id: 'mystery-box',
938+
product: {
939+
description: 'support straight-code and the team by owning some straight-code merch.',
940+
images: [
941+
'./assets/box.png'],
942+
943+
sizes: [
944+
{ name: 'xs', price: 100 },
945+
{ name: 'sm', price: 250 },
946+
{ name: 'md', price: 500 },
947+
{ name: 'lg', price: 1000 },
948+
{ name: 'xl', price: 2500 },
949+
{ name: 'xxl', price: 5000 }],
950+
951+
title: 'straight-code 1of1 Jumper' },
952+
953+
scene: {
954+
assetUri: 'box.glb',
955+
path: 'https://straight-code.github.io/assets/',
956+
position: [-20, 0, 5],
957+
quaternion: null,
958+
rotation: [0, 0, 0],
959+
scale: 5 } },
960+
961+
{
962+
id: 'mystery-box',
963+
product: {
964+
description: 'support straight-code and the team by owning some straight-code merch.',
965+
images: [
966+
'./assets/box.png'],
967+
968+
sizes: [
969+
{ name: 'xs', price: 100 },
970+
{ name: 'sm', price: 250 },
971+
{ name: 'md', price: 500 },
972+
{ name: 'lg', price: 1000 },
973+
{ name: 'xl', price: 2500 },
974+
{ name: 'xxl', price: 5000 }],
975+
976+
title: 'straight-code 1of1 Jumper' },
977+
978+
scene: {
979+
assetUri: 'box.glb',
980+
path: 'https://straight-code.github.io/assets/',
981+
position: [-20, 0, 10],
982+
quaternion: null,
983+
rotation: [0, 0, 0],
984+
scale: 5 } },
985+
986+
{
987+
id: 'green-bay-jacket',
988+
product: {
989+
description: 'straight-code hoodie ',
990+
images: [
991+
'https://straight-code.github.io/assets/hoodie.png'],
992+
993+
sizes: [
994+
{ name: 'xs', price: 45.00 },
995+
{ name: 'sm', price: 45.00 },
996+
{ name: 'md', price: 45.00 },
997+
{ name: 'lg', price: 45.00 },
998+
{ name: 'xl', price: 45.00 },
999+
{ name: 'xxl', price: 45.00 }],
1000+
1001+
title: 'straight-code hoodie' },
1002+
1003+
scene: {
1004+
assetUri: 'coat.glb',
1005+
path: 'https://straight-code.github.io/assets/',
1006+
position: [-20, 0, 15],
1007+
quaternion: null,
1008+
rotation: [0, 0, 0],
1009+
scale: 7 } },
1010+
1011+
{
1012+
id: 'green-bay-jacket',
1013+
product: {
1014+
description: 'straight-code hoodie ',
1015+
images: [
1016+
'https://straight-code.github.io/assets/hoodie.png'],
1017+
1018+
sizes: [
1019+
{ name: 'xs', price: 45.00 },
1020+
{ name: 'sm', price: 45.00 },
1021+
{ name: 'md', price: 45.00 },
1022+
{ name: 'lg', price: 45.00 },
1023+
{ name: 'xl', price: 45.00 },
1024+
{ name: 'xxl', price: 45.00 }],
1025+
1026+
title: 'straight-code hoodie' },
1027+
1028+
scene: {
1029+
assetUri: 'coat.glb',
1030+
path: 'https://straight-code.github.io/assets/',
1031+
position: [-20, 0, 20],
1032+
quaternion: null,
1033+
rotation: [0, 0, 0],
1034+
scale: 7 } },
1035+
1036+
{
1037+
id: 'green-bay-jacket',
1038+
product: {
1039+
description: 'straight-code hoodie ',
1040+
images: [
1041+
'https://straight-code.github.io/assets/hoodie.png'],
1042+
1043+
sizes: [
1044+
{ name: 'xs', price: 45.00 },
1045+
{ name: 'sm', price: 45.00 },
1046+
{ name: 'md', price: 45.00 },
1047+
{ name: 'lg', price: 45.00 },
1048+
{ name: 'xl', price: 45.00 },
1049+
{ name: 'xxl', price: 45.00 }],
1050+
1051+
title: 'straight-code hoodie' },
1052+
1053+
scene: {
1054+
assetUri: 'coat.glb',
1055+
path: 'https://straight-code.github.io/assets/',
1056+
position: [-20, 0, 25],
1057+
quaternion: null,
1058+
rotation: [0, 0, 0],
1059+
scale: 7 } },
1060+
1061+
{
1062+
id: 'green-bay-jacket',
1063+
product: {
1064+
description: 'straight-code hoodie ',
1065+
images: [
1066+
'https://straight-code.github.io/assets/hoodie.png'],
1067+
1068+
sizes: [
1069+
{ name: 'xs', price: 45.00 },
1070+
{ name: 'sm', price: 45.00 },
1071+
{ name: 'md', price: 45.00 },
1072+
{ name: 'lg', price: 45.00 },
1073+
{ name: 'xl', price: 45.00 },
1074+
{ name: 'xxl', price: 45.00 }],
1075+
1076+
title: 'straight-code hoodie' },
1077+
1078+
scene: {
1079+
assetUri: 'coat.glb',
1080+
path: 'https://straight-code.github.io/assets/',
1081+
position: [-20, 0, 30],
1082+
quaternion: null,
1083+
rotation: [0, 0, 0],
1084+
scale: 7 } },
1085+
1086+
{
1087+
id: 'green-bay-jacket',
1088+
product: {
1089+
description: 'straight-code hoodie ',
1090+
images: [
1091+
'https://straight-code.github.io/assets/hoodie.png'],
1092+
1093+
sizes: [
1094+
{ name: 'xs', price: 45.00 },
1095+
{ name: 'sm', price: 45.00 },
1096+
{ name: 'md', price: 45.00 },
1097+
{ name: 'lg', price: 45.00 },
1098+
{ name: 'xl', price: 45.00 },
1099+
{ name: 'xxl', price: 45.00 }],
1100+
1101+
title: 'straight-code hoodie' },
1102+
1103+
scene: {
1104+
assetUri: 'coat.glb',
1105+
path: 'https://straight-code.github.io/assets/',
1106+
position: [-20, 0, 35],
1107+
quaternion: null,
1108+
rotation: [0, 0, 0],
1109+
scale: 7 } },
1110+
1111+
9131112
{
9141113
id: 'green-bay-jacket',
9151114
product: {
@@ -930,10 +1129,10 @@ const productData = [
9301129
scene: {
9311130
assetUri: 'coat.glb',
9321131
path: 'https://straight-code.github.io/assets/',
933-
position: [5, 0, 0],
1132+
position: [-20, 0, -5],
9341133
quaternion: null,
9351134
rotation: [0, 0, 0],
936-
scale: 8 } }];
1135+
scale: 7 } }];
9371136

9381137

9391138

0 commit comments

Comments
 (0)