diff --git a/src/fonts/zilla-slab_latin-ext.woff2 b/src/assets/fonts/zilla-slab_latin-ext.woff2 similarity index 100% rename from src/fonts/zilla-slab_latin-ext.woff2 rename to src/assets/fonts/zilla-slab_latin-ext.woff2 diff --git a/src/fonts/zilla-slab_latin.woff2 b/src/assets/fonts/zilla-slab_latin.woff2 similarity index 100% rename from src/fonts/zilla-slab_latin.woff2 rename to src/assets/fonts/zilla-slab_latin.woff2 diff --git a/src/fonts.scss b/src/assets/stylesheets/fonts.scss similarity index 68% rename from src/fonts.scss rename to src/assets/stylesheets/fonts.scss index a6910ed3b4cc81f5bc2480531bc92f7f9348bfea..1ec1b6c12a0854b202b74f2a2f3d60ce9a3d517b 100644 --- a/src/fonts.scss +++ b/src/assets/stylesheets/fonts.scss @@ -3,7 +3,7 @@ font-family: 'Zilla Slab'; font-style: normal; font-weight: 400; - src: local('Zilla Slab'), local('ZillaSlab-Regular'), url('./fonts/zilla-slab_latin-ext.woff2') format('woff2'); + src: local('Zilla Slab'), local('ZillaSlab-Regular'), url('../fonts/zilla-slab_latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } @@ -12,6 +12,6 @@ font-family: 'Zilla Slab'; font-style: normal; font-weight: 400; - src: local('Zilla Slab'), local('ZillaSlab-Regular'), url('./fonts/zilla-slab_latin.woff2') format('woff2'); + src: local('Zilla Slab'), local('ZillaSlab-Regular'), url('../fonts/zilla-slab_latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } diff --git a/src/loader.scss b/src/assets/stylesheets/loader.scss similarity index 100% rename from src/loader.scss rename to src/assets/stylesheets/loader.scss diff --git a/src/room.scss b/src/assets/stylesheets/room.scss similarity index 99% rename from src/room.scss rename to src/assets/stylesheets/room.scss index c79e990d597cfa79333456d0e04c2650b149df7e..e7c543d50211267d046a359da8f1d287f68ec0c4 100644 --- a/src/room.scss +++ b/src/assets/stylesheets/room.scss @@ -1,5 +1,5 @@ -@import 'src/fonts'; -@import 'src/loader'; +@import 'fonts'; +@import 'loader'; $dark-transparent: rgba(0, 0, 0, 0.4); $darker-transparent: rgba(0, 0, 0, 0.6); diff --git a/src/room.js b/src/room.js index 9aea754c29362147771bd22ef61b6f14d8e45c1d..eee34df54fd904dfae5ec31ec68784ce4ec88f0a 100644 --- a/src/room.js +++ b/src/room.js @@ -1,4 +1,4 @@ -import "./room.scss"; +import "./assets/stylesheets/room.scss"; import queryString from "query-string"; import { patchWebGLRenderingContext } from "./utils/webgl"; @@ -131,7 +131,7 @@ function setNameTagFromStore() { async function enterScene(mediaStream, enterInVR) { const scene = document.querySelector("a-scene"); document.querySelector("a-scene canvas").classList.remove("blurred") - scene.setAttribute("networked-scene", "adapter: janus; audio: true; debug: true; onConnect: App.onConnect; connectOnLoad: false;"); + scene.setAttribute("networked-scene", "adapter: janus; audio: true; debug: true; connectOnLoad: false;"); registerNetworkSchemas(); if (enterInVR) {