Home Views
HomeTabView
File: Views/Home/HomeTabView.swift
The main home screen with personalized greeting, loyalty status, and quick actions.
Sections
- Welcome Header — “Good morning, {firstName}” with store tagline
- Loyalty Status Card — Current tier, star balance, progress to next tier
- Quick Actions — Shortcuts to Order, Rewards, Account
- Featured Items — Horizontally scrolling featured menu items
- Store Info — Address, hours, social links
Data Sources
AuthViewModelfor user profile and loyalty dataMenuViewModelfor featured items
LocationPickerSheet
File: Views/Home/LocationPickerSheet.swift
A sheet for selecting the store location (currently single-location, but supports multiple).
- Displays active locations from the
locationstable - Shows address and contact info
- Selected location is used when creating orders