customer-riverside/web/modules/custom/riverside_pt/js/components
Philip Peterson 8962fc5f0e Smooth scroll, booking refactor, success summary
- Add scroll.js: data-scroll-to attribute drives smooth scrollIntoView;
  scroll-margin-top at md+ accounts for fixed header offset
- Wire Services, FAQ, Book An Appointment, View Our Services nav/hero
  links to on-page anchors; don't close hamburger on scroll-link clicks
- Refactor booking calendar: own the fetch (useEffect + dateRange state)
  instead of handing URL to FullCalendar; removes fetchedRef complexity;
  noSlotsInMonth derived cleanly from fetchLoading + fetchedEvents
- Success state shows appointment summary (name, service, date/time);
  hides calendar/form on success; no "book another" button

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 22:14:39 -07:00
..
rpt-appt-type.js Service-aware booking: selector drives calendar, inline request form 2026-06-03 19:39:35 -07:00
rpt-booking.js Smooth scroll, booking refactor, success summary 2026-06-03 22:14:39 -07:00
rpt-carousel.js wip 2026-05-25 00:32:23 -07:00
rpt-faq.js Calendar polish: selection persistence, no-slots overlay, various fixes 2026-06-03 20:51:43 -07:00
rpt-testimonials.js Fix colors 2026-06-03 19:12:53 -07:00
rpt-toggle.js Fix colors 2026-06-03 19:12:53 -07:00