Commit Graph

15 Commits

Author SHA1 Message Date
Jake Howard d27504d46f
Attempt to bundle some contrib static files to reduce network requests 2023-10-06 22:42:00 +01:00
Jake Howard f16f22ad48
Hide subtitle and breadcrumbs from hero once stuck 2022-10-02 18:00:42 +01:00
Jake Howard d5aac8ac50
Don't show header if there's nothing useful to show 2022-09-19 16:34:02 +01:00
Jake Howard f3b603a82a
Add language and clipboard buttons to code blocks 2022-08-30 22:48:45 +01:00
Jake Howard eae2953b89
Add eslint 2022-08-03 21:19:19 +01:00
Jake Howard 1b1971f09d
Account for hero not always existing
This is mostly true for the homepage
2022-08-02 22:03:08 +01:00
Jake Howard 34293553a8
Don't browse to hash if there isn't one 2022-08-02 21:12:42 +01:00
Jake Howard 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
Jake Howard 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
Jake Howard 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
Jake Howard 70c9a986b4
Add elevator.js 2022-06-20 08:46:42 +01:00
Jake Howard 294d5bd656
Wire up scroll to top button 2022-06-19 17:10:35 +01:00
Jake Howard d4c7b34a15
Use corect event when configuring nav dropdown 2022-06-12 21:08:37 +01:00
Jake Howard b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
Jake Howard 553e393ba4
Add skeleton navbar 2022-06-12 17:21:53 +01:00