How 0xdiego-dev/huellaamiga works
Huella Amiga is a small React adoption-browsing interface. The workflow starts at the app root, which selects the home or favorites view and keeps favorites in component state; the home view presents a static pet catalog and lets users add entries, while the favorites view lists saved entries and lets users remove them. Shared navigation and footer frame both views. The graph reflects the shown imports and component/data flow; no persistence or external service is evidenced.
Main entry points: App.jsx App state and routing · Inicio.jsx Home page · Favoritos.jsx Favorites page · main.jsx React entry
Components 10
App shell
- React entry
src/main.jsx - App state and routing
src/App.jsx - Navigation bar
src/components/Navbar.jsx - Shared footer
src/components/Footer.jsx
Pet discovery
- Home page
src/pages/Inicio.jsx - Welcome hero
src/components/Hero.jsx - Pet catalog data
src/data/mascotas.js - Pet card
src/components/PetCard.jsx
Favorites
- Favorites page
src/pages/Favoritos.jsx - Saved pet item
src/components/FavItem.jsx
Connections 9
- React entry → App state and routing: renders
src/main.jsx - App state and routing → Navigation bar: renders; passes state
src/App.jsx - App state and routing → Home page: selects; passes favorites
src/App.jsx - App state and routing → Favorites page: selects; passes favorites
src/App.jsx - App state and routing → Shared footer: renders
src/App.jsx - Home page → Welcome hero: renders
src/pages/Inicio.jsx - Home page → Pet catalog data: reads
src/pages/Inicio.jsx - Home page → Pet card: renders per pet
src/pages/Inicio.jsx - Favorites page → Saved pet item: renders per favorite
src/pages/Favoritos.jsx