diff options
author | William Carroll <wpcarro@gmail.com> | 2021-12-28T00·06-0400 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-28T00·09+0000 |
commit | e107311cb87fc219889f37f0c67cfea22b4a99e7 (patch) | |
tree | f52e7b5859eabb14a9cbeb17e68aa741ea9c3348 /users/wpcarro/website/fragments/addendum.html | |
parent | 52369a11e3dee035b575281c80e2bf9a65546435 (diff) |
refactor(wpcarro/website): Prefer substituteAll r/3483
`substituteAll` supports templating with @variables@, which I think really cleans things up. Change-Id: Icfad15ac9e174495ba02260d817f7330f1616c6f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4722 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/website/fragments/addendum.html')
-rw-r--r-- | users/wpcarro/website/fragments/addendum.html | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/users/wpcarro/website/fragments/addendum.html b/users/wpcarro/website/fragments/addendum.html deleted file mode 100644 index 9623db9bf91e..000000000000 --- a/users/wpcarro/website/fragments/addendum.html +++ /dev/null @@ -1,13 +0,0 @@ - </div> - <script> - const $header = document.querySelector("header"); - const dropShadow = "drop-shadow-md"; - const update = () => window.scrollY !== 0 ? - $header.classList.add(dropShadow) : - $header.classList.remove(dropShadow); - - update(); - document.addEventListener("scroll", update); - </script> - </body> -</html> |