railwayka-landing/.cargo
rail 15a18e45b4 Rewrite landing page in Rust + WebAssembly
- 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
2025-10-25 23:14:46 +03:00
..
config.toml Rewrite landing page in Rust + WebAssembly 2025-10-25 23:14:46 +03:00