diff --git a/.gitignore b/.gitignore
index 4d39247..773d297 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
/target
Rocket.toml
-/static/script.js
-/static/style.css
-/static/style.css.map
-/static/assets
+/web/dynamic/script.js
+/web/dynamic/style.css
+/web/static
+
diff --git a/build b/build
index acf28aa..e82efdd 100755
--- a/build
+++ b/build
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-lsc -bc --no-header -o static/ web-src/script.ls || exit 1
-npx sass web-src/style.scss static/style.css || exit 2
+lsc --no-header -bco web/static/ web/src/script.ls || exit 1
+npx sass --no-source-map web/src/style.scss web/static/style.css || exit 2
rustfmt src/*.rs || exit 3
cargo $(basename $0) "${@:1}"
diff --git a/src/main.rs b/src/main.rs
index 8342ed8..c409826 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -238,14 +238,14 @@ fn rocket() -> _ {
println!("B: {}", b_uuid);
rocket::build()
- .mount("/", FileServer::from(relative!("static/assets")).rank(0))
+ .mount("/", FileServer::from(relative!("web/static")).rank(0))
.mount(
- format!("/{}", a_uuid.hyphenated()),
- FileServer::from(relative!("static")),
+ format!("/{}/", a_uuid.hyphenated()),
+ FileServer::from(relative!("web/dynamic")),
)
.mount(
- format!("/{}", b_uuid.hyphenated()),
- FileServer::from(relative!("static")),
+ format!("/{}/", b_uuid.hyphenated()),
+ FileServer::from(relative!("web/dynamic")),
)
.mount(
"/",
diff --git a/web/dynamic/card_back.png b/web/dynamic/card_back.png
new file mode 100644
index 0000000..1c3f544
Binary files /dev/null and b/web/dynamic/card_back.png differ
diff --git a/static/cards.json b/web/dynamic/cards.json
similarity index 100%
rename from static/cards.json
rename to web/dynamic/cards.json
diff --git a/static/index.html b/web/dynamic/index.html
similarity index 77%
rename from static/index.html
rename to web/dynamic/index.html
index 43e2bc0..a4dc402 100644
--- a/static/index.html
+++ b/web/dynamic/index.html
@@ -11,13 +11,17 @@
+