Public Embed Standings
Course owners can drop a live RoundBoss leaderboard into their facility website with a single iframe. Each facility has a stable share token at /embed/standings/{token} that renders standings, weekly results, skins, CTP, and Longest Drive — no login required.
Where to Find Your Embed URL
Open your facility detail page from the Course Owner dashboard. The Embed Standings section shows your facility's share URL with a copy button. Drop it into an iframe on your website:
<iframe
src="https://app.roundboss.com/embed/standings/YOUR_FACILITY_TOKEN"
style="border: 0; width: 100%; height: 800px;"
loading="lazy"
></iframe>
The page is mobile-responsive — single column on phones, 2 columns on tablets, 3 columns on desktop.
What Renders
Landing Grid
Every league linked to your facility appears as a card. Each card shows:
- Format pill — color-coded (team formats green, individual blue, special purple)
- League name and season
- Progress bar — season completion percentage
- Live / Reconnecting pill — real-time WebSocket status
Tap any card to drill into that league's detail view.
Standings Detail
- Gradient hero header with the facility logo and a sticky Standings/Results toggle
- Podium chips for top 3 (gold/silver/bronze)
- Zebra-striped rows with green hover states
- Members listed under each team row as first names (e.g., Kyle, Jeff)
- Team rows display as "Wilson/McClement" (last names joined). Individual leagues stay as "Kyle H." (first name + last initial)
- HCP column — appears when the league's Show Handicap setting is on
- Won column — shows season earnings ($) from Skins + Low Net pots; auto-shown only when at least one entry has earnings
Weekly Results
Toggle to Results to see the current week:
- Scores card on the left (lg:col-span-2)
- Skins / CTP / LD sidebar on the right
- Collapses to single column when the sidebar is empty
- Skins payouts render as a green-gradient ribbon
The detail header (back + title + Live pill + Standings/Results toggle) stays sticky as you scroll long standings or results.
Token Behavior
- Each facility has one stable
standings_share_tokenminted at facility creation - The token survives facility ownership transfers — admins can transfer a facility to a new owner without breaking your embed URL
- Tokens are not tied to any single league — every linked league appears in the landing grid automatically
Privacy
Player names are masked to "First L." (first name + last initial). Trailing non-alpha tokens are skipped (so "Jeff Blair $" renders as "Jeff B." not "Jeff $."). Only standings, results, and side-game data are exposed — no scorecards or PII.
Real-Time Updates
The embed page connects via WebSocket and refreshes when scores are submitted, marker validations resolve, or any leaderboard recomputes. If the WebSocket drops, the Live pill flips to "Reconnecting" and falls back to REST polling after 3 failures.