No description
Find a file
Claude bf20155423
kasuti: stage 2 replay — shareable URL + copy/tweet buttons
A completed tour can now be serialised into a URL-safe base64 blob:
pattern id (with the custom pattern's edges inlined when the motif was
made in the editor), the start vertex, and the sequence of to-points.
Sides alternate so they don't need encoding. The payload lands in
?replay=<...> and is read back on mount — a hit on the URL hydrates
state, marks the tour complete, and the existing completion effect
picks up from there (confetti + autoplay).

Two new buttons in the replay panel:
- "Copy link" writes the URL to the clipboard with a sonner toast,
- "Share" opens an X intent pre-filled with the motif title, stitch
  count, and the URL.

Mounts a local SonnerToaster on the component so the toast actually
shows (sonner's Toaster was never wired up at the layout level).

https://claude.ai/code/session_01KNdXjQczMCRGMK7K3Qderw
2026-04-22 11:36:37 +00:00
netlify/functions admin: descriptive commit messages + dev-mode sync fallback 2026-04-19 18:26:27 +05:30
public social: replace Hatch template og-image + wire per-interactive images 2026-04-22 10:48:00 +00:00
scripts Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
src kasuti: stage 2 replay — shareable URL + copy/tweet buttons 2026-04-22 11:36:37 +00:00
.gitignore Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
astro.config.mjs Switch to standalone Netlify Function for admin API 2026-04-17 03:44:01 +05:30
CLAUDE.md CLAUDE.md: document Fizzy todo/idea mirror workflow 2026-04-21 11:12:45 +00:00
components.json Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
components.json.bak Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
eslint.config.mjs Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
LICENSE Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
netlify.toml trigger redeploy for env var update 2026-04-17 03:53:04 +05:30
package-lock.json Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
package.json Switch to Netlify adapter with GitHub API persistence 2026-04-17 03:22:18 +05:30
README.md Initial commit: Interactives site 2026-04-17 03:09:40 +05:30
tsconfig.json Initial commit: Interactives site 2026-04-17 03:09:40 +05:30

Hatch Astro Template

Hatch Astro Template is a premium template built by https://www.shadcnblocks.com

Screenshot

Hatch Astro Template screenshot

Getting Started

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

Tech Stack

  • Astro
  • Tailwind 4
  • shadcn/ui

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform