Commit Graph
7 Commits
Author SHA1 Message Date
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
Jean-Philippe Sirois 262e8b7fe6 ui(header): tweak header background, and single title to be less awkward 2020-11-12 01:33:23 -05:00
Jean-Philippe Sirois c08e8446b5 ui: tweak header, make it much smaller 2020-07-24 13:28:31 -04:00
Jean-Philippe Sirois f4e40a889e ui(resources): tweak typo of header 2020-05-26 03:49:17 -04:00
Jean-Philippe Sirois a1283334b3 style: format codebase 2020-05-19 21:57:49 -04:00
Jean-Philippe Sirois ab8e8edd5a ui: first pass on redesign (#228) 2020-05-11 02:00:57 -04:00