How santiagosuarez39880-hue/taquillafrontend works
Taquilla is a Spanish/English ticket-discovery frontend built with Next.js. Visitors land on a featured-event home page or explore the catalog by search, category, city, date, and price; the frontend requests catalog data from an external API and renders event cards and pagination. Shared shell and language-text services support the browsing experience, while category, event-detail, account, selling, and legal routes are present, though several currently use placeholder views. Some route and shell wiring is documented only by the source index; unverified links are omitted.
Main entry points: AppShell.tsx App shell · page.tsx Home route · ExplorarVista.tsx Explore view · useTextos.ts Text loading
Components 31
Event browsing
- Home route
src/app/page.tsx - Home view
src/components/inicio/InicioVista.tsx - Hero search
src/components/inicio/BuscadorHero.tsx - Event card
src/components/inicio/EventCard.tsx - Explore route
src/app/explorar/page.tsx - Explore view
src/components/explorar/ExplorarVista.tsx - Search filters
src/components/explorar/Filtros.tsx - Price range
src/components/explorar/RangoPrecio.tsx - Pagination
src/components/explorar/Paginacion.tsx
Shared interface
- App shell
src/components/AppShell.tsx - Navigation
src/components/Navbar.tsx - Footer
src/components/Footer.tsx - Cookie banner
src/components/ui/CookieBanner.tsx - Text provider
src/components/TextosProvider.tsx - Text loading
src/hooks/useTextos.ts
API and domain
- Event catalog
src/lib/catalogo.ts - API client
src/lib/api.ts - Filter logic
src/lib/explorar.ts - Date helpers
src/lib/fechas.ts - Display formatting
src/lib/formato.ts - Catalog types
src/types/catalogo.ts - Text API
src/lib/textos-api.ts - Text utilities
src/lib/textos.ts - Text types
src/types/textos.ts
Other routes
- Placeholder view
src/components/PaginaPendiente.tsx - Category pages
src/app/conciertos/page.tsx - Event detail
src/app/eventos/[slug]/page.tsx - Account pages
src/app/ingresar/page.tsx - Other sections
src/app/vender/page.tsx
Other components
- Visitor
- Taquilla API
Connections 35
- Visitor → Home route: opens
- Home route → Home view: renders
src/app/page.tsx - Home route → Event catalog: loads catalog
src/app/page.tsx - Home view → Hero search: renders
src/components/inicio/InicioVista.tsx - Home view → Event card: renders
src/components/inicio/InicioVista.tsx - Visitor → Explore route: opens
- Explore route → Explore view: renders
src/app/explorar/page.tsx - Explore route → Event catalog: loads events
src/app/explorar/page.tsx - Explore view → Event card: renders
src/components/explorar/ExplorarVista.tsx - Explore view → Search filters: renders
src/components/explorar/ExplorarVista.tsx - Explore view → Pagination: renders
src/components/explorar/ExplorarVista.tsx - Search filters → Price range: renders
src/components/explorar/Filtros.tsx - Event catalog → Filter logic: builds parameters
src/lib/catalogo.ts - Event catalog → API client: requests data
src/lib/catalogo.ts - API client → Taquilla API: calls
- Home route → Catalog types: uses types
- Filter logic → Date helpers: uses date ranges
src/lib/explorar.ts - Visitor → App shell: uses interface
- App shell → Navigation: renders
src/components/AppShell.tsx - App shell → Footer: renders
src/components/AppShell.tsx - App shell → Cookie banner: renders
src/components/AppShell.tsx - App shell → Text provider: provides texts
src/components/AppShell.tsx - Text provider → Text loading: loads via
src/components/TextosProvider.tsx - Text provider → Text utilities: translates with
src/components/TextosProvider.tsx - Text loading → Text API: validates with
src/hooks/useTextos.ts - Text loading → Taquilla API: fetches translations
- Text utilities → Text types: uses types
src/lib/textos.ts - Text loading → Text types: uses types
src/hooks/useTextos.ts - Visitor → Category pages: opens
- Category pages → Placeholder view: renders
src/app/conciertos/page.tsx - Visitor → Event detail: opens
- Event detail → Placeholder view: renders
src/app/eventos/[slug]/page.tsx - Visitor → Account pages: opens
- Account pages → Placeholder view: renders
src/app/ingresar/page.tsx - Visitor → Other sections: opens