Configure the site from Sanity Studio
The practice owner can now set up the whole website from the editor: brand, contact data, colors and widgets live in a new Site Settings document, and the Studio opens on a Start page with a setup checklist.
Added
- Site Settings in Sanity Studio: practice name, practitioner, location, email, phone, WhatsApp, social links, free intro call link, announcement bar, SEO keywords and Google Analytics ID, organized in tabs.
- Color picker in the Studio: the 34 palettes as one-click cards, or your own three colors, with a note when the template adjusts a color to keep text readable.
- Widget switches in the Studio: WhatsApp button, Theme Studio, changelog page and announcement bar.
- Start page in the Studio with a setup checklist, shortcuts and an optional "Rebuild website now" button.
- `pnpm settings` and an automatic step before dev, build and check that save the Site Settings document at build time, so the site stays static and every page, email and script uses the same values.
Improved
- `pnpm seed` also creates the Site Settings document from the defaults in site.config.ts, so the site looks the same right after seeding.
- site.config.ts now holds the defaults: anything left empty in Site Settings keeps them, so the template still works with no setup in the Studio.
Fixed
- Spacing in the Studio's Bookings tool and the Cal.com event field, which collapsed with the current Sanity UI version.