From fe504ad6f059fbea25a8a400d28ad3e32eb20436 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 17 Jul 2026 11:59:37 +0100 Subject: [PATCH] Add a hints example to the homepage and simplify the hint-to-tour docs The homepage examples grid gains a Hints button that toggles three beacons on the hero: one plain dismissable hint, one whose button starts a short tour through onButtonClick (showing the two features hand off to each other), and one whose button leads to the hints guide. The last-row label shrinks from 'and much more ...' to 'and more ...' so the row keeps to one line. The guide's hint-launches-tour example now uses buttonText plus onButtonClick instead of hand-building a button in onPopoverRender, which stays mentioned for additional buttons. --- apps/docs/src/components/Examples.astro | 87 ++++++++++++++++++++++++- apps/docs/src/content/guides/hints.mdx | 19 +++--- 2 files changed, 95 insertions(+), 11 deletions(-) diff --git a/apps/docs/src/components/Examples.astro b/apps/docs/src/components/Examples.astro index 4c409a4..8098193 100644 --- a/apps/docs/src/components/Examples.astro +++ b/apps/docs/src/components/Examples.astro @@ -18,16 +18,19 @@ import { ExampleButton } from "./ExampleButton"; + - and much more ... + and more ...