How aeindra-dev/shopping-cart works
This is a React storefront frontend whose visible workflow is loading the home page, presenting a navigation header and an automatically advancing promotional hero. The tree also includes a cart component and product data types, but the sampled wiring does not show them connected to the home-page flow or to a backend. The graph preserves those components without implying a checkout or catalog pipeline. Relationships are based on sampled source and the SOURCE INDEX; unsampled implementation details are not inferred.
Main entry points: Header.tsx Header · HeroSection.tsx Hero carousel · HomePage.tsx Home page · HeroTypes.ts Hero types
Components 16
Application shell
- React entry
src/main.tsx - App
src/App.tsx
Storefront interface
- Home page
src/pages/HomePage.tsx - Header
src/components/features/Header/Header.tsx - Brand logo
src/components/features/Header/Logo.tsx - Navigation menu
src/components/features/Header/NavMenu.tsx - Header actions
src/components/features/Header/HeaderActionIcons.tsx - Hero carousel
src/components/features/Hero/HeroSection.tsx - Hero slides
src/components/features/Hero/HeroData.ts - Hero text
src/components/features/Hero/HeroText.tsx - Hero image
src/components/features/Hero/HeroImage.tsx - Hero types
src/components/features/Hero/HeroTypes.ts
Cart and product
- Cart component
src/components/features/cart/Cart.tsx - Product types
src/components/types/ProductsProps.ts
UI primitives
- Button primitive
src/components/ui/button.tsx
Other components
- Shopper
Connections 16
- Shopper → React entry: opens storefront
src/main.tsx - React entry → App: renders
src/main.tsx - App → Home page: renders
src/App.tsx - Home page → Header: renders
src/pages/HomePage.tsx - Home page → Hero carousel: renders
src/pages/HomePage.tsx - Header → Brand logo: renders
src/components/features/Header/Header.tsx - Header → Navigation menu: renders
src/components/features/Header/Header.tsx - Header → Header actions: renders
src/components/features/Header/Header.tsx - Brand logo → Button primitive: uses
src/components/features/Header/Logo.tsx - Hero carousel → Hero slides: selects slides
src/components/features/Hero/HeroSection.tsx - Hero carousel → Hero text: renders
src/components/features/Hero/HeroSection.tsx - Hero carousel → Hero image: renders
src/components/features/Hero/HeroSection.tsx - Hero slides → Hero types: types slides
src/components/features/Hero/HeroData.ts - Hero text → Hero types: uses props
src/components/features/Hero/HeroText.tsx - Hero image → Hero types: uses props
src/components/features/Hero/HeroImage.tsx - Cart component → Product types: uses types
src/components/features/cart/Cart.tsx