Skip to content

Hosted examples and a customer README (held) - #9

Merged
pietechsolution merged 3 commits into
mainfrom
feat/hosted-examples
Sep 26, 2026
Merged

pietechsolution merged 3 commits into
mainfrom
feat/hosted-examples

Conversation

@pietechsolution

Copy link
Copy Markdown
Contributor

Held: do not merge until the owner's go. This PR replaces the README in #2 and should merge in place of it. It pairs with paiteq/seatmap#1136, which now holds the hosting config.

  • examples/hosted/*.html: the one-tag event embed, the collection of dates, the season card and the run-of-shows card, all as copy-paste pages.
  • src/hosted/: React components that render the same tags (SeatLayerEvent, SeatLayerCollection, BookingCard). They load each script once and scan again after a client-side route change.
  • README for customers. The first line is the live demos link (seatlayer.io/demo). Then Hosted (one tag), then SDK, where to find each key, and how to run it locally. Nothing about our hosting.
  • wrangler.jsonc removed. The repo stays code-only.

Checks: npm run build (tsc -b plus the Vite build) passes. scripts/check-routes.mjs against vite preview with test keys passes on all 12 route loads (6 routes, each with and without ?embed=1).

examples/hosted/ has copy-paste pages for one event, a collection of dates,
a season card and a run-of-shows card. src/hosted/ has React components that
render the same tags (SeatLayerEvent, SeatLayerCollection, BookingCard) and
load each script once, scanning again after a client-side route change.
wrangler.jsonc only served our own copy of the demos. This repository is
example code: npm run build writes a static site any host can serve.
Starts with the live demos at seatlayer.io/demo, then the one-tag Hosted
integration, the SDK routes, where to find each key in the dashboard, and how
to run the app locally.
@pietechsolution
pietechsolution merged commit 5b8341e into main Sep 26, 2026
2 checks passed
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