about summary refs log tree commit diff
path: root/kittybox-rs/templates/assets
Commit message (Collapse)AuthorAgeFilesLines
* Add a skip link to the page layoutVika2023-01-251-2/+17
| | | | | | | | I tried to run my website through a screen reader, and thought this would be a nice addition. Also it turns out my website is *mostly* accessible as it is -- yay for semantic HTML!
* Add rainbow hearts on like postsVika2023-01-221-0/+20
| | | | | A cute little easter-egg from an old version of my site, now available all year round, because I'm sick of hiding my true self.
* templates: move static assets to the templates crateVika2022-10-073-0/+265
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.