Commit 13a32fb
💄 style: add hide-on-scroll-down sticky navbar
Switch navbar from sticky to fixed positioning with hide/reveal
animation. Navbar hides when scrolling down past 80px, reveals
on scroll up with smooth spring transition. Added pt-16 to main
content to offset fixed navbar height.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 59759f3 commit 13a32fb
2 files changed
Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
| 291 | + | |
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
297 | | - | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
298 | 310 | | |
299 | 311 | | |
300 | 312 | | |
| |||
308 | 320 | | |
309 | 321 | | |
310 | 322 | | |
311 | | - | |
312 | | - | |
313 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
314 | 326 | | |
315 | | - | |
| 327 | + | |
316 | 328 | | |
317 | 329 | | |
318 | 330 | | |
| |||
0 commit comments