- 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>
21 lines
603 B
YAML
21 lines
603 B
YAML
app:
|
|
css:
|
|
theme:
|
|
css/app.css: {}
|
|
js:
|
|
js/nav.js: {}
|
|
js/scroll.js: {}
|
|
js/phone-format.js: {}
|
|
js/components/rpt-toggle.js: { attributes: { type: module } }
|
|
js/components/rpt-carousel.js: { attributes: { type: module } }
|
|
js/components/rpt-testimonials.js: { attributes: { type: module } }
|
|
js/components/rpt-faq.js: { attributes: { type: module } }
|
|
schedule:
|
|
css:
|
|
theme:
|
|
css/calendar.css: {}
|
|
js:
|
|
js/fullcalendar.min.js: { minified: true }
|
|
js/components/rpt-booking.js: { attributes: { type: module } }
|
|
dependencies:
|
|
- core/drupalSettings
|