Commit graph

18 commits

Author SHA1 Message Date
37cc1979be
Start doing a dark mode myself
darkreader is pretty big, and this is nice, simple and fast.

Not to mention has much less JS
2022-08-16 22:51:03 +01:00
eae2953b89
Add eslint 2022-08-03 21:19:19 +01:00
1b1971f09d
Account for hero not always existing
This is mostly true for the homepage
2022-08-02 22:03:08 +01:00
34293553a8
Don't browse to hash if there isn't one 2022-08-02 21:12:42 +01:00
996f7b9c2a
Add all the relevant search messages 2022-08-02 21:11:35 +01:00
bcc9a2c2f2
Add search results counter 2022-08-02 09:27:43 +01:00
78b310faa3
Scroll to element in hash after hero height is set
There's a bit of manually re-implementing what browsers already do here, but it's very simple and works very nicely
2022-07-20 22:57:50 +01:00
38cc5182ca
Add a shadow to the hero when it scrolls
Sadly done in JS, but it's much much easier this way
2022-07-20 22:39:35 +01:00
e8c3ec86ae
Have animated scroll on table of contents
Animated and offset correctly with hero. Requires some extra JS to keep the height up to date.
2022-07-04 22:17:46 +01:00
f0239b40fc
Use lite-youtube-embed for YouTube embeds 2022-06-28 21:43:44 +01:00
70c9a986b4
Add elevator.js 2022-06-20 08:46:42 +01:00
294d5bd656
Wire up scroll to top button 2022-06-19 17:10:35 +01:00
00e1d28f4e
Swap darkmode-js for darkreader
darkreader is more customizable, and doesn't do weird things to images. Being able to use CSS-native animations is also much simpler
2022-06-19 15:53:44 +01:00
d4c7b34a15
Use corect event when configuring nav dropdown 2022-06-12 21:08:37 +01:00
b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
27c0d64122
Add dark mode toggle
Finally, it won't be all dark all the time!
2022-06-12 18:13:48 +01:00
553e393ba4
Add skeleton navbar 2022-06-12 17:21:53 +01:00
c1fdd81f86
Setup static file pipeline 2022-06-10 09:13:00 +01:00