How lokeshpolani/zomato works
This repository is a static React Zomato-style landing page, not a restaurant-search or ordering backend. The browser loads the app, which renders a page of discovery and promotional sections, then localities, expandable exploration topics, and footer content. The sections use hard-coded text and data; the sampled code shows no service calls or persistent store. Relationships below follow imports and rendering visible in the excerpts; README content is empty, so product scope is inferred from the page components.
Main entry points: App.js Landing page · AccContainer.jsx Explore topics · index.js React entry · Header.jsx Header and search
Components 12
Page entry
- React entry
src/index.js - Landing page
src/App.js
Restaurant discovery
- Header and search
src/components/Header/Header.jsx - Dining categories
src/components/Card/Card.jsx - Curated collections
src/components/Collections/Collection.jsx - Popular localities
src/components/Cities/Cities.jsx
Engagement content
- App promotion
src/components/CTA/CTA.jsx - Explore topics
src/components/AccContainer/AccContainer.jsx - Topic accordion
src/components/Accordian/Accordian.jsx
Shared content
- Topic data
src/data.js - Footer and links
src/components/Footer/Footer.jsx
Other components
- Browser
Connections 11
- Browser → React entry: loads page
src/index.js - React entry → Landing page: renders
src/index.js - Landing page → Header and search: renders
src/App.js - Landing page → Dining categories: renders
src/App.js - Landing page → Curated collections: renders
src/App.js - Landing page → Popular localities: renders
src/App.js - Landing page → App promotion: renders
src/App.js - Landing page → Explore topics: renders
src/App.js - Landing page → Footer and links: renders
src/App.js - Explore topics → Topic data: reads
src/components/AccContainer/AccContainer.jsx - Explore topics → Topic accordion: renders
src/components/AccContainer/AccContainer.jsx