domaino/packages/shared/src
agent a6f9e6c6e3 Public site: smoother scrolling
Scrolling the home page dropped frames on a desktop-sized window. Measured
in Firefox and Chromium, the cost came from blocks fading in while scrolling
and from the blurred (frosted) header and calendar cards, which are redrawn
on every frame.

- Header and upcoming-calendar cards: nearly solid background, no blur.
- Fade-in animations are shorter (0.4s / 0.5s, a smaller slide).
- They are off for people whose device asks for reduced motion, and on
  devices that can't keep up: very few cores / little memory straight
  away, otherwise when more than 1 in 10 of the first scrolled frames run
  late (scrollReveal.ts adds `plain-motion` to <html>, remembered for
  the visit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hy2vMnHJYP7QGsiH21zHxW
2026-10-27 08:36:03 +00:00
..
blocks Public site: smoother scrolling 2026-10-27 08:36:03 +00:00
email Shop and checkout: bundles, gift details, codes, confirm without paying 2026-10-25 21:39:51 +00:00
server Shop: show the bundle's separate price as a saving; hide unsellable bundles 2026-10-26 09:04:35 +00:00
basket.svelte.ts Shop and checkout: bundles, gift details, codes, confirm without paying 2026-10-25 21:39:51 +00:00
calendar.ts Show prices in the shop currency (STRIPE_CURRENCY), not hard-coded EUR 2026-10-25 14:48:12 +00:00
items.ts Shop: show the bundle's separate price as a saving; hide unsellable bundles 2026-10-26 09:04:35 +00:00
pb.ts Public site: the Site design logo is the favicon 2026-10-26 13:14:04 +00:00
richText.ts Visual text editor; Cards, FAQ and HTML blocks; block anchors 2026-10-26 12:58:15 +00:00
scrollReveal.ts Public site: smoother scrolling 2026-10-27 08:36:03 +00:00
slots.ts Windows: choose the start-time step (10–60 min, default 30) 2026-10-25 21:03:40 +00:00
stripe-client.ts No third-party requests on page load: bundle the fonts, load Stripe.js at Pay 2026-10-24 10:44:45 +00:00
theme.ts Site design → Style: fonts, corners, text size, shadows, page width 2026-10-26 19:00:37 +00:00
types.ts Site design → Style: fonts, corners, text size, shadows, page width 2026-10-26 19:00:37 +00:00