How abdulrahman-aljabahji/horizon-estates works
Horizon Estates is a multilingual luxury real-estate listing and discovery frontend. Visitors browse featured and searchable property listings, open property details, compare homes, estimate mortgage payments, and ask an AI advisor for portfolio recommendations; About and Contact provide supporting company and inquiry journeys. The app shell mounts routed pages and shared navigation, language, comparison, and chat UI. Source excerpts show key calls and data use; several capabilities are identified by the source index, so their internal wiring is omitted where not shown.
Main entry points: App.tsx App shell · Properties.tsx Property listings · Navbar.tsx Navigation · properties.ts Property catalog
Components 24
Property discovery
- Home page
horizon-estates/src/pages/Home.tsx - Property listings
horizon-estates/src/pages/Properties.tsx - Property details
horizon-estates/src/pages/PropertyDetails.tsx - Property catalog
horizon-estates/src/data/properties.ts - Property map
horizon-estates/src/components/PropertyMap.tsx - Mortgage calculator
horizon-estates/src/components/MortgageCalculator.tsx - Comparison bar
horizon-estates/src/components/CompareBar.tsx
Visitor engagement
- AI chat assistant
horizon-estates/src/components/ChatAssistant.tsx - Gemini advisor
horizon-estates/src/services/geminiService.ts - About page
horizon-estates/src/pages/About.tsx - Contact page
horizon-estates/src/pages/Contact.tsx
Shared app services
- App shell
horizon-estates/src/App.tsx - Compare state
horizon-estates/src/context/CompareContext.tsx - Language resources
horizon-estates/src/i18n.ts - Theme state
horizon-estates/src/context/ThemeContext.tsx
Shared presentation
- Property card
horizon-estates/src/components/ui/PropertyCard.tsx - Navigation
horizon-estates/src/components/layout/Navbar.tsx - Login modal
horizon-estates/src/components/ui/LoginModal.tsx - Footer
horizon-estates/src/components/layout/Footer.tsx - Language switcher
horizon-estates/src/components/FixedLanguageSwitcher.tsx - Button
horizon-estates/src/components/ui/Button.tsx - Section heading
horizon-estates/src/components/ui/SectionHeading.tsx
Other components
- Visitor
- Google Gemini
Connections 30
- Visitor → App shell: opens
horizon-estates/src/App.tsx - App shell → Home page: routes to
horizon-estates/src/App.tsx - App shell → Property listings: routes to
horizon-estates/src/App.tsx - App shell → Property details: routes to
horizon-estates/src/App.tsx - App shell → About page: routes to
horizon-estates/src/App.tsx - App shell → Contact page: routes to
horizon-estates/src/App.tsx - App shell → Navigation: mounts
horizon-estates/src/App.tsx - App shell → Footer: mounts
horizon-estates/src/App.tsx - App shell → Comparison bar: mounts
horizon-estates/src/App.tsx - App shell → AI chat assistant: mounts
horizon-estates/src/App.tsx - App shell → Language switcher: mounts
horizon-estates/src/App.tsx - App shell → Compare state: provides
horizon-estates/src/App.tsx - App shell → Theme state: provides
horizon-estates/src/App.tsx - Home page → Property catalog: reads
horizon-estates/src/pages/Home.tsx - Home page → Property card: renders
horizon-estates/src/pages/Home.tsx - Property listings → Property catalog: reads
horizon-estates/src/pages/Properties.tsx - Property listings → Property card: renders
horizon-estates/src/pages/Properties.tsx - Property listings → Property map: renders
horizon-estates/src/pages/Properties.tsx - Property details → Property catalog: reads
horizon-estates/src/pages/PropertyDetails.tsx - Property details → Mortgage calculator: renders
horizon-estates/src/pages/PropertyDetails.tsx - Property card → Compare state: updates
horizon-estates/src/components/ui/PropertyCard.tsx - Comparison bar → Compare state: reads
horizon-estates/src/components/CompareBar.tsx - AI chat assistant → Gemini advisor: requests reply
horizon-estates/src/components/ChatAssistant.tsx - Gemini advisor → Property catalog: embeds portfolio
horizon-estates/src/services/geminiService.ts - Gemini advisor → Google Gemini: requests generation
horizon-estates/src/services/geminiService.ts - Navigation → Login modal: renders
horizon-estates/src/components/layout/Navbar.tsx - Navigation → Theme state: toggles
horizon-estates/src/components/layout/Navbar.tsx - Navigation → Button: renders
horizon-estates/src/components/layout/Navbar.tsx - Language switcher → Language resources: changes language
- App shell → Language resources: loads
horizon-estates/src/App.tsx