diff --git a/index.html b/index.html index e6ffa9b..b613c8d 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,8 @@ Game Boy Nintendo Power ROM Builder - + + diff --git a/script/devload.js b/script/devload.js new file mode 100644 index 0000000..c1a59d1 --- /dev/null +++ b/script/devload.js @@ -0,0 +1,10 @@ +if (document.location.href.includes('file://')) { + const head = document.getElementsByTagName('head')[0]; + const devScript = document.createElement('script'); + devScript.type = 'text/javascript'; + devScript.src = 'script/vue.js'; + + const thisScript = document.getElementById('devload'); + thisScript.parentNode.insertBefore(devScript, thisScript.nextSibling); + console.log('Development Mode') +} diff --git a/style.css b/style.css index 1d77639..eac431b 100644 --- a/style.css +++ b/style.css @@ -1,34 +1,34 @@ @font-face { font-family: "GillSans-HeavyItalic"; - src: url("../gbnp/font/GillSansHeavyItalic.woff") format("woff"); + src: url("./font/GillSansHeavyItalic.woff") format("woff"); font-weight: normal; font-style: normal; } @font-face { font-family: "Early-Gameboy"; - src: url("../gbnp/font/EarlyGameboy.woff") format("woff"); + src: url("./font/EarlyGameboy.woff") format("woff"); font-weight: normal; font-style: normal; } @font-face { font-family: "Gamer"; - src: url("../gbnp/font/Gamer.woff") format("woff"); + src: url("./font/Gamer.woff") format("woff"); font-weight: normal; font-style: normal; } @font-face { font-family: "Pixeltype"; - src: url("../gbnp/font/Pixeltype.woff") format("woff"); + src: url("./font/Pixeltype.woff") format("woff"); font-weight: normal; font-style: normal; } @font-face { font-family: "Nokia"; - src: url("../gbnp/font/Nokia.woff") format("woff"); + src: url("./font/Nokia.woff") format("woff"); font-weight: normal; font-style: normal; }