Commit c677398
fix: improve mobile nav and stacked layouts (#86)
## Summary
- add a real mobile menu for the top navigation on narrow screens
- move the image above the text on mobile for Labs and similar
right-image content pages
- export the matching `docs/` updates so GitHub Pages gets the same
responsive behavior
## What changed
- switched the header to a collapsible Bootstrap navbar with a hamburger
toggle below desktop breakpoints
- styled the mobile nav so links stack cleanly instead of overflowing
horizontally
- added a shared `mobileImageFirst` helper for narrow screens
- applied that helper to `/labs/` and `/about/` so the image leads on
mobile
## Verification
Checked with Playwright against the exported static site on mobile for:
- `/`
- `/about/`
- `/labs/`
- `/blog/`
- `/apprenticeship/`
- `/apprenticeship/projects/`
- `/policies/`
- `/policies/privacy/`
- `/policies/tos/`
- `/tags/`
Also did a desktop sanity pass on:
- `/`
- `/about/`
- `/labs/`
- `/blog/`
- `/apprenticeship/`
Results:
- mobile nav collapses behind a hamburger menu
- no mobile horizontal overflow on the checked pages
- Labs/About now render image-first on small screens
- desktop nav remains expanded
## Screenshots
Closed menu:

Open menu:

Co-authored-by: Jonathan Tsai <jontsai@users.noreply.github.com>
Co-authored-by: selah-aweandreverence[bot] <264603484+selah-aweandreverence[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Tsai <jontsai@users.noreply.github.com>1 parent 0552af1 commit c677398
142 files changed
Lines changed: 170 additions & 116 deletions
File tree
- .github/pr-images
- docs
- 404
- _next
- data/fKmIsC5EeYeXfrUdHwBX1
- blog
- tags
- static
- chunks
- pages
- apprenticeship
- projects
- blog
- policies
- tags
- css
- fKmIsC5EeYeXfrUdHwBX1
- mynwInTJ0wGJBL9gKr3ya
- about
- apprenticeship
- projects
- tictactoe
- blog
- 1-kings-18-21-if-the-lord-is-god-a180b1f
- ai-and-god-bb5ba22
- isaiah-40-22-he-who-sits-above-the-circle-of-the-earth-54c71e1
- luke-12-15-21-don-t-waste-your-life-ca73620
- matthew-18-8-9-obedience-to-god-against-sin-920b4f3
- matthew-21-28-32-what-god-wants-c8eab38
- matthew-7-13-27-genuine-christianity-2e1642c
- matthew-9-18-faith-26e7fb2
- psalm-100-call-to-worship-511a5ed
- psalm-119-136-real-men-cry-part-1-b7931be
- psalm-119-59-60-i-hastened-and-did-not-delay-3af64b1
- psalm-119-73-help-me-o-my-creator-8d3b69d
- psalm-139-14-fearfully-and-wonderfully-made-part-1-a5f7686
- psalm-27-8-conquering-your-heart-2f47b49
- what-is-the-gospel-5576a3e
- labs
- policies
- privacy
- tos
- tags
- ai
- artificial-intelligence
- bad-news
- creator
- eschatology
- evangelism
- faith
- folly
- foolishness
- good-news
- gospel
- greed
- obedience
- prayer
- repentance
- salvation
- sin
- stewardship
- technology
- thanksgiving
- wisdom
- worship
- src
- components
- pages
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
File renamed without changes.
0 commit comments