Commit Graph
5 Commits
Author SHA1 Message Date
jumpyapple fdb6083c6b fix: AbortController not found, resize text in Box 2021-06-01 00:02:56 -04:00
jumpyapple 8a5970107f feat: create sticky version of components involved
Notices problems are
- Links in content area are higher (in terms of z value) than the sticky header.
- The sidebar header for table of contents seems to be positioned higher than it should.
- Text size of breadcrumb and title are too big.
- Flickering problem on pages that are short (less content/one page content).
2021-06-01 00:02:56 -04:00
jumpyapple 5ba1e86672 fix: window is not available during gatsby build
Check if window is available, and set initial value for `state.scrollY`.
2021-06-01 00:02:56 -04:00
jumpyapple 38e1a4ba56 feat: add a proof of concept
Using debouncing idea described in
https://css-tricks.com/styling-based-on-scroll-position/ to record
scrollY value and render the `BoxedTitle` base on the value. The box is
hidden when scrollY is greater than 30.

The class-style React component is used to register an event listener
for scrolling event.
2021-06-01 00:02:56 -04:00
jumpyapple 51caf8ac80 fix(resources/python): replace the link to free book with a new one
The target repository change the directory structure resulting in a dead link.
2021-02-25 04:39:36 -05:00