about summary refs log tree commit diff
path: root/kittybox-rs/javascript/src/onboarding.ts
Commit message (Collapse)AuthorAgeFilesLines
* templates: move static assets to the templates crateVika2022-10-071-120/+0
| | | | | | | | | | | | It makes more sense to keep CSS near the templates, and the client-side JavaScript code too, since it depends on the DOM structure to work. Additionally, the overhead of `include_dir!()` is almost completely mitigated by the fact that this is a separate crate that isn't recompiled often. The linking stage, however, is still expected to take a little bit long. But I doubt it'd be longer than what it was before, since it's the same exact files that get linked into the app.
* Switch to TypeScriptVika2022-09-281-0/+120
This neccesitates installing TypeScript to build Kittybox, but thankfully Nix actually takes care of that. Build Kittybox with Nix and you won't have problems. Also now I can safely do stuff.