summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/gipfel-web/README.md3
-rw-r--r--crates/gipfel-web/Trunk.toml2
-rw-r--r--crates/gipfel-web/index.html (renamed from crates/gipfel-web/www/index.html)2
3 files changed, 3 insertions, 4 deletions
diff --git a/crates/gipfel-web/README.md b/crates/gipfel-web/README.md
index 2442e67..74e93c5 100644
--- a/crates/gipfel-web/README.md
+++ b/crates/gipfel-web/README.md
@@ -36,7 +36,8 @@ trunk build --release
| `src/app.rs` | root component: sidebar, file loading, state |
| `src/canvas_view.rs` | viewport canvas: bitmap blit, pan/zoom |
| `src/bridge.rs` | JS glue: image decode, blob read, canvas ctx |
-| `www/` | index.html, style.css (trunk assets) |
+| `index.html` | trunk entry point (canonical trunk layout) |
+| `www/style.css` | stylesheet (trunk asset) |
## Notes
diff --git a/crates/gipfel-web/Trunk.toml b/crates/gipfel-web/Trunk.toml
deleted file mode 100644
index 1772684..0000000
--- a/crates/gipfel-web/Trunk.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[build]
-target = "www/index.html"
diff --git a/crates/gipfel-web/www/index.html b/crates/gipfel-web/index.html
index c601fee..32ec87f 100644
--- a/crates/gipfel-web/www/index.html
+++ b/crates/gipfel-web/index.html
@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>gipfel web</title>
- <link data-trunk rel="css" href="style.css" />
+ <link data-trunk rel="css" href="www/style.css" />
<link data-trunk rel="rust" />
</head>
<body></body>