- Complete rewrite from HTML/CSS/JS to Rust + WASM - Uses vanilla wasm-bindgen with web-sys (no framework) - Minimal bundle size: ~19KB WASM + 9KB JS - Modern, clean redesign with dark theme - Local builds, dist files committed for fast CI Technical changes: - Added Cargo.toml with wasm-bindgen, web-sys dependencies - Implemented landing page in src/lib.rs using web_sys DOM API - Created minimal index.html shell for WASM loading - Designed modern CSS with responsive layout - Archived old HTML files to html-old/ - Updated Dockerfile to copy dist/ instead of html/ - Updated build process in README.md - Documented migration in CHANGELOG.md Build process: 1. cargo build --release --target wasm32-unknown-unknown 2. wasm-bindgen --out-dir dist --target web 3. Copy static assets to dist/ 4. Commit dist/ to git for fast CI deployment Benefits: - Near-native performance - Type safety from Rust - Smaller bundle size - Modern web technology stack |
||
|---|---|---|
| .. | ||
| index.html | ||
| railwayka_landing.d.ts | ||
| railwayka_landing.js | ||
| railwayka_landing_bg.wasm | ||
| railwayka_landing_bg.wasm.d.ts | ||
| style.css | ||