From 4aba77b104b861e71a90a20611f77e735e015044 Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sat, 23 Dec 2017 16:45:27 +0000 Subject: [PATCH] move stuff to includes --- .../Rubik-Regular.ttf | Bin croppie.css => includes/croppie.css | 0 croppie.js => includes/croppie.js | 0 bitsy-default.txt => includes/default.bitsy | 0 jquery.min.js => includes/jquery.min.js | 0 lodash.min.js => includes/lodash.min.js | 0 .../rubik-regular-webfont.woff | Bin .../rubik-regular-webfont.woff2 | Bin script.js => includes/script.js | 0 style.css => includes/style.css | 0 style.less => includes/style.less | 0 index.html | 4 +- index.pug | 44 +++++++++--------- 13 files changed, 25 insertions(+), 23 deletions(-) rename Rubik-Regular.ttf => includes/Rubik-Regular.ttf (100%) rename croppie.css => includes/croppie.css (100%) rename croppie.js => includes/croppie.js (100%) rename bitsy-default.txt => includes/default.bitsy (100%) rename jquery.min.js => includes/jquery.min.js (100%) rename lodash.min.js => includes/lodash.min.js (100%) rename rubik-regular-webfont.woff => includes/rubik-regular-webfont.woff (100%) rename rubik-regular-webfont.woff2 => includes/rubik-regular-webfont.woff2 (100%) rename script.js => includes/script.js (100%) rename style.css => includes/style.css (100%) rename style.less => includes/style.less (100%) diff --git a/Rubik-Regular.ttf b/includes/Rubik-Regular.ttf similarity index 100% rename from Rubik-Regular.ttf rename to includes/Rubik-Regular.ttf diff --git a/croppie.css b/includes/croppie.css similarity index 100% rename from croppie.css rename to includes/croppie.css diff --git a/croppie.js b/includes/croppie.js similarity index 100% rename from croppie.js rename to includes/croppie.js diff --git a/bitsy-default.txt b/includes/default.bitsy similarity index 100% rename from bitsy-default.txt rename to includes/default.bitsy diff --git a/jquery.min.js b/includes/jquery.min.js similarity index 100% rename from jquery.min.js rename to includes/jquery.min.js diff --git a/lodash.min.js b/includes/lodash.min.js similarity index 100% rename from lodash.min.js rename to includes/lodash.min.js diff --git a/rubik-regular-webfont.woff b/includes/rubik-regular-webfont.woff similarity index 100% rename from rubik-regular-webfont.woff rename to includes/rubik-regular-webfont.woff diff --git a/rubik-regular-webfont.woff2 b/includes/rubik-regular-webfont.woff2 similarity index 100% rename from rubik-regular-webfont.woff2 rename to includes/rubik-regular-webfont.woff2 diff --git a/script.js b/includes/script.js similarity index 100% rename from script.js rename to includes/script.js diff --git a/style.css b/includes/style.css similarity index 100% rename from style.css rename to includes/style.css diff --git a/style.less b/includes/style.less similarity index 100% rename from style.less rename to includes/style.less diff --git a/index.html b/index.html index 3184fc0..5d225ff 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -

image-to-bitsy

convert any image to a bitsy room

game data

image

palette

preview

output






\ No newline at end of file +42

image

palette

preview

output

\ No newline at end of file diff --git a/index.pug b/index.pug index 033853e..85e461d 100644 --- a/index.pug +++ b/index.pug @@ -2,17 +2,18 @@ doctype html html head // lodash - script(src="lodash.min.js") + script(src="includes/lodash.min.js") // jquery - script(src="jquery.min.js") + script(src="includes/jquery.min.js") // croppie - link(rel="stylesheet" href="croppie.css") - script(src="croppie.js") + link(rel="stylesheet" href="includes/croppie.css") + script(src="includes/croppie.js") - link(rel="stylesheet" type="text/css" href="style.css") - script(src="script.js") + // main stuff + link(rel="stylesheet" type="text/css" href="includes/style.css") + script(src="includes/script.js") body h1 image-to-bitsy p convert any image to a bitsy room @@ -21,7 +22,7 @@ html h2 game data textarea#bitsy-data(placeholder="Bitsy data or html") - include bitsy-default.txt + include includes/default.bitsy #image.section h2 image @@ -59,24 +60,25 @@ html canvas#room-output(width=128, height=128) - input#threshold(type="range" min=0 max=64) - br - label(for="threshold") - span.left use existing tiles - span.right create new tiles + //- + input#threshold(type="range" min=0 max=64) + br + label(for="threshold") + span.left use existing tiles + span.right create new tiles - br + br - input#roomName(placeholder="room name") - - br + input#roomName(placeholder="room name") + + br - button#save Save + button#save Save - br + br - //-label favour broad strokes | favour details + //-label favour broad strokes | favour details - br + br - //-button Download \ No newline at end of file + //-button Download \ No newline at end of file