diff --git a/public/style.css b/public/style.css index 15d332f..e98ae30 100644 --- a/public/style.css +++ b/public/style.css @@ -60,6 +60,7 @@ a { background: white; color: black; text-align: center; + overflow: hidden; } .hero > .main { diff --git a/api.js b/src/api.js similarity index 100% rename from api.js rename to src/api.js diff --git a/index.js b/src/index.js similarity index 100% rename from index.js rename to src/index.js diff --git a/items/Archwings.js b/src/items/Archwings.js similarity index 100% rename from items/Archwings.js rename to src/items/Archwings.js diff --git a/items/Companion.js b/src/items/Companion.js similarity index 100% rename from items/Companion.js rename to src/items/Companion.js diff --git a/items/Item.js b/src/items/Item.js similarity index 100% rename from items/Item.js rename to src/items/Item.js diff --git a/items/Part.js b/src/items/Part.js similarity index 100% rename from items/Part.js rename to src/items/Part.js diff --git a/items/Primary.js b/src/items/Primary.js similarity index 100% rename from items/Primary.js rename to src/items/Primary.js diff --git a/items/Secondary.js b/src/items/Secondary.js similarity index 100% rename from items/Secondary.js rename to src/items/Secondary.js diff --git a/items/Warframe.js b/src/items/Warframe.js similarity index 100% rename from items/Warframe.js rename to src/items/Warframe.js diff --git a/items/index.js b/src/items/index.js similarity index 100% rename from items/index.js rename to src/items/index.js diff --git a/items/items.json b/src/items/items.json similarity index 100% rename from items/items.json rename to src/items/items.json diff --git a/output/OutputItem.js b/src/output/OutputItem.js similarity index 100% rename from output/OutputItem.js rename to src/output/OutputItem.js diff --git a/output/index.js b/src/output/index.js similarity index 84% rename from output/index.js rename to src/output/index.js index a6ea6ae..ab06236 100644 --- a/output/index.js +++ b/src/output/index.js @@ -13,7 +13,7 @@ class Output { } async compileTemplate () { - const templateFile = await fs.readFileSync('./output/template.hbs', 'utf8') + const templateFile = await fs.readFileSync('./src/output/template.hbs', 'utf8') const template = Handlebars.compile(templateFile) return template(this) } @@ -26,7 +26,7 @@ class Output { } catch { console.log('File probably doesnt exist') } - fs.writeFileSync(filename, content, 'utf-8') + fs.writeFileSync(filename, content, 'utf8') } async submit () { diff --git a/output/template.hbs b/src/output/template.hbs similarity index 100% rename from output/template.hbs rename to src/output/template.hbs