-
Notifications
You must be signed in to change notification settings - Fork 0
/
ar.html.json
1 lines (1 loc) · 4.76 KB
/
ar.html.json
1
{"site":{"title":"Project1","description":null,"enableMobile":true,"faviconPath":null,"thumbnailSocialPath":null,"descriptionSocial":null,"titleSocial":null,"lang":"","width":1200,"headUser":"","headStyle":"","headScript":"","hostingProvider":"ghpages","twitterSocial":null,"dataSources":{},"fonts":[{"family":"'Roboto', sans-serif","href":"https://fonts.googleapis.com/css?family=Roboto"}],"styles":{"all-style":{"className":"all-style","templateName":"text","displayName":"All style","styles":{"desktop":{"normal":{"className":"all-style","pseudoClass":"normal","All":{"font-family":"'Roboto', sans-serif"}}}}}},"isTemplate":false,"file":{"name":"ar.html","folder":"project1/main","path":"project1/main/ar.html","service":"github","url":"https://editor.silex.me/ce/github/get/project1/main/ar.html","absPath":"/ce/github/get/project1/main/ar.html"},"prodotypeDependencies":{},"data":{},"publicationPath":{"name":"gh-pages","folder":"project1","path":"project1/gh-pages","service":"github","url":"https://Antoni-Czaplicki.github.io/project1/"}},"pages":[{"id":"page-page-1","displayName":"Page 1","link":{"linkType":"LinkTypePage","href":"#!page-page-1"},"canDelete":true,"canProperties":true,"canMove":true,"canRename":true,"opened":false}],"elements":[{"id":"body-initial","pageNames":[],"classList":[],"type":"container-element","isSectionContent":false,"title":"","alt":null,"children":["silex-id-1474394621033-3"],"link":null,"enableEdit":false,"enableDrag":false,"enableDrop":true,"enableResize":{"top":false,"bottom":false,"left":false,"right":false},"selected":false,"useMinHeight":true,"visibility":{"desktop":true,"mobile":true},"style":{"desktop":{"background-color":"rgba(255,255,255,1)","position":"static"},"mobile":{}},"data":{"component":null},"innerHtml":"","tagName":"BODY"},{"id":"silex-id-1474394621033-3","pageNames":["page-page-1"],"classList":[],"type":"section-element","isSectionContent":false,"title":"","alt":null,"children":["silex-id-1474394621032-2"],"link":null,"enableEdit":false,"enableDrag":true,"enableDrop":true,"enableResize":{"top":false,"bottom":false,"left":false,"right":false},"selected":false,"useMinHeight":true,"visibility":{"desktop":true,"mobile":true},"style":{"desktop":{"position":"static","margin-top":"-1px"},"mobile":{}},"data":{"component":null},"innerHtml":"","tagName":"SECTION"},{"id":"silex-id-1474394621032-2","pageNames":[],"classList":["website-width"],"type":"container-element","isSectionContent":true,"title":"","alt":null,"children":["silex-id-1683972940846-0"],"link":null,"enableEdit":false,"enableDrag":false,"enableDrop":true,"enableResize":{"top":true,"bottom":true,"left":true,"right":true},"selected":false,"useMinHeight":true,"visibility":{"desktop":true,"mobile":true},"style":{"desktop":{"background-color":"transparent","height":"600px","position":"relative","margin-left":"auto","margin-right":"auto"},"mobile":{}},"data":{"component":null},"innerHtml":"","tagName":"DIV"},{"id":"silex-id-1683972940846-0","tagName":"DIV","type":"html-element","alt":null,"title":null,"isSectionContent":false,"visibility":{"desktop":true,"mobile":true},"style":{"mobile":{"height":"1213px","width":"479px","position":"static"},"desktop":{"width":"1204px","height":"1213px","background-color":"rgb(255, 255, 255)","position":"static"}},"data":{"component":null},"children":[],"pageNames":[],"classList":[],"attr":{},"link":null,"enableEdit":true,"enableDrag":true,"enableDrop":false,"enableResize":{"top":true,"bottom":true,"left":true,"right":true},"selected":false,"useMinHeight":true,"innerHtml":"<a rel=\"ar\" id=\"arurl\" href=\"https://github.com/Antoni-Czaplicki/project1/raw/main/bolidzik-2-v19.usdz\" style=\"\r\n width: 100%;\r\n height: 100%\r\n\">\r\n <img src=\"https://github.com/Antoni-Czaplicki/project1/blob/main/1.png?raw=true\" width=100% height=auto style=\"\r\n position: fixed;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\">\r\n</a>\r\n<script>\r\n function getMobileOperatingSystem() {\r\n var userAgent = navigator.userAgent || navigator.vendor || window.opera;\r\n\r\n if (/android/i.test(userAgent)) {\r\n document.getElementById(\"arurl\").href=\"intent://arvr.google.com/scene-viewer/1.0?file=https://github.com/Antoni-Czaplicki/project1/raw/main/e.gltf#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=https://sites.google.com/view/project1hq/ar;end;\"; \r\n }\r\n\r\n // iOS detection from: http://stackoverflow.com/a/9039885/177710\r\n if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {\r\n \r\n document.getElementById(\"arurl\").href=\"https://github.com/Antoni-Czaplicki/project1/raw/main/bolidzik-2-v19.usdz\"; \r\n }\r\n\r\n return \"unknown\";\r\n}\r\nconsole.log(getMobileOperatingSystem())\r\n</script>"}]}