Skip to content

feat(home): link hero carousel screenshots to their blog posts - #139

Merged
wavekat-eason merged 1 commit into
mainfrom
claude/screenshot-feature-links-g97g7l
Jul 26, 2026
Merged

feat(home): link hero carousel screenshots to their blog posts#139
wavekat-eason merged 1 commit into
mainfrom
claude/screenshot-feature-links-g97g7l

Conversation

@wavekat-eason

Copy link
Copy Markdown
Contributor

Summary

Two of the three homepage hero carousel slides added in #137 (flow-detail/flow-takeover and share-sheet) already have a full writeup on the blog: answer-calls-with-a-call-flow and share-a-call-recording. This wires the carousel up to link to them.

  • HeroCarousel.astro gains an optional href per shot. When set, both the screenshot and its label link there; when omitted (the default), a shot renders exactly as before — no visual or behavioral change for shots that don't opt in.
  • Only the currently-visible slide is reachable by keyboard: hidden slides/captions get tabindex="-1" toggled alongside their existing aria-hidden, so Tab order never lands on an invisible link.
  • Wired up on all 9 homepages (en + the 8 translated locales), each pointing at its own locale's translated post (e.g. /de/blog/answer-calls-with-a-call-flow/).

Test plan

  • npx astro build — clean, 199 pages
  • npm run check:links — no new broken links or locale-linking-to-default-locale warnings introduced (pre-existing 4 broken /logos/* links are from the wavekat-brand submodule not being synced in this sandbox — confirmed present on main before this change too)
  • Spot-checked built HTML for en and zh homepages — each locale's carousel links resolve to its own locale-prefixed blog post URL

🤖 Generated with Claude Code

https://claude.ai/code/session_01GcXA6YGGZuM3pXUL2kZ67c


Generated by Claude Code

The flow-detail/flow-takeover and share-sheet slides each have a full
writeup already (answer-calls-with-a-call-flow, share-a-call-recording).
Wraps the shot and its label in a link to that post — localized per
locale — when the carousel data supplies one, so the hero drives real
traffic instead of just describing the feature. Optional and additive:
shots without an href render exactly as before.
@github-actions

Copy link
Copy Markdown
Contributor

@wavekat-eason
wavekat-eason merged commit 7271776 into main Jul 26, 2026
2 checks passed
@wavekat-eason
wavekat-eason deleted the claude/screenshot-feature-links-g97g7l branch July 26, 2026 09:44
wavekat-eason pushed a commit that referenced this pull request Jul 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.0.50](wavekat-com-v0.0.49...wavekat-com-v0.0.50)
(2026-07-26)


### Features

* **brand:** live wallpaper page
([#136](#136))
([4aafecf](4aafecf))
* **home:** link hero carousel screenshots to their blog posts
([#139](#139))
([7271776](7271776))
* **home:** rotating hero screenshot carousel
([#137](#137))
([a673831](a673831))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants