diff --git a/.gitignore b/.gitignore
index 1ce99de..cb8c9e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
/target
-.direnv
-dist
\ No newline at end of file
+.direnv
\ No newline at end of file
diff --git a/Cargo.lock b/Cargo.lock
index 594941c..ab10e89 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -393,8 +393,6 @@ dependencies = [
"strum",
"strum_macros",
"wasm-bindgen",
- "wasm-bindgen-futures",
- "web-sys",
]
[[package]]
diff --git a/dist/index.html b/dist/index.html
new file mode 100644
index 0000000..81790f4
--- /dev/null
+++ b/dist/index.html
@@ -0,0 +1,34 @@
+
+
+
+ dyesub-tool
+
+
+
\ No newline at end of file
diff --git a/dyesub-tool/.gitignore b/dyesub-tool/.gitignore
new file mode 100644
index 0000000..9bfc447
--- /dev/null
+++ b/dyesub-tool/.gitignore
@@ -0,0 +1,3 @@
+layout.json
+output.svg
+dist
\ No newline at end of file
diff --git a/dyesub-tool/Cargo.toml b/dyesub-tool/Cargo.toml
index d3f1121..eea0e69 100644
--- a/dyesub-tool/Cargo.toml
+++ b/dyesub-tool/Cargo.toml
@@ -14,5 +14,3 @@ serde_json = "1.0.105"
strum = "0.25.0"
strum_macros = "0.25.2"
wasm-bindgen = "0.2.87"
-wasm-bindgen-futures = "0.4.37"
-web-sys = { version = "0.3.64", features = ["FileList", "Blob"] }
diff --git a/dyesub-tool/src/main.rs b/dyesub-tool/src/main.rs
index 890fc29..779ad7b 100644
--- a/dyesub-tool/src/main.rs
+++ b/dyesub-tool/src/main.rs
@@ -1,145 +1,18 @@
-#![feature(async_closure)]
-
mod render;
pub mod svg;
-use leptos::{*, ev::SubmitEvent, html::Input};
-use wasm_bindgen::{JsCast, JsValue};
-use web_sys::File;
-use strum_macros::IntoStaticStr;
-use derive_more::From;
-
-#[derive(Clone)]
-struct ResultMessageData {
- title: String,
- message: View,
- colorway: Colorway,
-}
-
-#[derive(Default, Clone, Copy, IntoStaticStr)]
-enum Colorway {
- #[default]
- #[strum(serialize = "plain")]
- Plain,
- #[strum(serialize = "info")]
- Info,
- #[strum(serialize = "ok")]
- Ok,
- #[strum(serialize = "warn")]
- Warn,
- #[strum(serialize = "bad")]
- Bad,
-}
-
-#[component]
-fn ResultMessage(cx: Scope, message: ReadSignal