Skip to content

Make service cards, stat cards, and version badge clickable#51

Open
swibrow wants to merge 1 commit into
aws-controllers-k8s:mainfrom
swibrow:clickable-service-cards-and-version-link
Open

Make service cards, stat cards, and version badge clickable#51
swibrow wants to merge 1 commit into
aws-controllers-k8s:mainfrom
swibrow:clickable-service-cards-and-version-link

Conversation

@swibrow

@swibrow swibrow commented Jun 30, 2026

Copy link
Copy Markdown

Description

Several elements on the website that looked interactive weren't actually clickable. This makes them behave as expected.

API reference service summary (/api-reference#<service>):

  • The CRDs and Examples stat cards now smooth-scroll to their respective sections. The Examples card is disabled when a service has no examples.
  • The version badge now links to the matching GitHub release (https://github.com/aws-controllers-k8s/<service>-controller/releases/tag/v<version>), opening in a new tab.

Services list page (/services):

  • The entire service card is now a link to that service's API reference, using a stretched overlay link so the inner GitHub, Helm, and CRD links remain independently clickable (no nested anchors).

Notes

  • No content/data changes — purely interaction + styling in the existing page components.
  • npm run build passes; tsc --noEmit is clean.
  • The version badge URL relies on ACK's v<version> tag convention on the <service>-controller repos.

On the API reference service summary, the CRDs and Examples stat cards
now scroll to their sections, and the version badge links to the matching
GitHub release.

On the services list page, the entire service card is now a link to its
API reference (via a stretched overlay link), keeping the inner GitHub,
Helm, and CRD links independently clickable.
@ack-prow
ack-prow Bot requested review from cheeseandcereal and michaelhtm June 30, 2026 08:51
@ack-prow

ack-prow Bot commented Jun 30, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: swibrow
Once this PR has been reviewed and has the lgtm label, please assign a-hilaly for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knottnt knottnt self-assigned this Jun 30, 2026
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