How itsswayize/obsidian works
Obsidian Grooming Co. is an Angular barber-shop website. Customers discover the shop and its services, then book by choosing a service, barber, available date/time, and customer details; they can add a confirmed appointment to Google or Apple Calendar. The diagram includes the documented informational pages and shared navigation/promotion, plus local business data and availability. Source excerpts show the booking orchestration and several service calls; unsampled customer-form and calendar implementation details are not inferred.
Main entry points: app.routes.ts Page Routes · booking.ts Booking Flow · business-data.ts Shop Data · calendar.ts Calendar Export
Components 24
Shop Website
- App Shell
src/app/app.ts - Page Routes
src/app/app.routes.ts - Home
src/app/features/home/home.ts - Services Menu
src/app/features/services/services.ts - About & Barbers
src/app/features/about/about.ts - Contact & Hours
src/app/features/contact/contact.ts - Terms
src/app/features/terms/terms.ts - Not Found
src/app/features/not-found/not-found.ts
Appointment Booking
- Booking Flow
src/app/features/booking/booking.ts - Booking State
src/app/features/booking/services/booking-state.ts - Service Selector
src/app/features/booking/components/service-selector/service-selector.ts - Barber Selector
src/app/features/booking/components/barber-selector/barber-selector.ts - Date & Time
src/app/features/booking/components/date-time-selector/date-time-selector.ts - Customer Details
src/app/features/booking/components/customer-form/customer-form.ts
Booking Domain
- Slot Availability
src/app/core/services/booking-availability.ts - Shop Data
src/app/core/services/business-data.ts - Booking Models
src/app/core/models/booking.models.ts - Calendar Export
src/app/core/services/calendar.ts
Shared UI
- Navigation
src/app/shared/components/header/header.ts - Footer
src/app/shared/components/footer/footer.ts - First-Visit Offer
src/app/shared/components/promo-modal/promo-modal.ts
Other components
- Customer
- Google Calendar
- Apple Calendar
Connections 33
- Customer → Page Routes: opens pages
src/app/app.routes.ts - Page Routes → Home: routes to
src/app/app.routes.ts - Page Routes → Services Menu: routes to
src/app/app.routes.ts - Page Routes → About & Barbers: routes to
src/app/app.routes.ts - Page Routes → Contact & Hours: routes to
src/app/app.routes.ts - Page Routes → Terms: routes to
src/app/app.routes.ts - Page Routes → Booking Flow: routes to
src/app/app.routes.ts - Page Routes → Not Found: routes to
src/app/app.routes.ts - App Shell → Page Routes: hosts router
- App Shell → Navigation: renders
src/app/app.ts - App Shell → Footer: renders
src/app/app.ts - Home → Shop Data: loads shop content
src/app/features/home/home.ts - Home → First-Visit Offer: renders
src/app/features/home/home.ts - Services Menu → Shop Data: loads services
src/app/features/services/services.ts - About & Barbers → Shop Data: loads barbers
src/app/features/about/about.ts - Contact & Hours → Shop Data: loads hours
src/app/features/contact/contact.ts - Booking Flow → Service Selector: renders
src/app/features/booking/booking.ts - Booking Flow → Barber Selector: renders
src/app/features/booking/booking.ts - Booking Flow → Date & Time: renders
src/app/features/booking/booking.ts - Booking Flow → Customer Details: renders
src/app/features/booking/booking.ts - Booking Flow → Booking State: updates steps
src/app/features/booking/booking.ts - Service Selector → Shop Data: loads services
src/app/features/booking/components/service-selector/service-selector.ts - Barber Selector → Shop Data: loads barbers
src/app/features/booking/components/barber-selector/barber-selector.ts - Date & Time → Shop Data: reads hours and bookings
src/app/features/booking/components/date-time-selector/date-time-selector.ts - Date & Time → Slot Availability: calculates slots
src/app/features/booking/components/date-time-selector/date-time-selector.ts - Booking Flow → Calendar Export: requests calendar export
src/app/features/booking/booking.ts - Calendar Export → Google Calendar: opens event link
- Calendar Export → Apple Calendar: downloads ICS
- Shop Data → Booking Models: uses domain types
src/app/core/services/business-data.ts - Slot Availability → Booking Models: uses domain types
src/app/core/services/booking-availability.ts - Calendar Export → Booking Models: uses booking type
src/app/core/services/calendar.ts - Booking State → Booking Models: uses booking types
src/app/features/booking/services/booking-state.ts - Customer → Booking Flow: submits appointment
src/app/features/booking/booking.ts