How hameed-codes/agency.ai-react-frontend-web-page works
Agency.ai is a React agency landing page. The browser renders a sequence of promotional sections, lets visitors browse services and portfolio work, and provides a contact form that submits to Web3Forms with toast feedback. Theme selection is shared between the app, navigation and footer, with OS preference detection and localStorage persistence. The graph reflects the shown imports and calls; the newsletter is a displayed form with no submission behavior shown. Other section implementations were not sampled, so their internal behavior is not inferred.
Main entry points: App.jsx Page composition · Navbar.jsx Navbar · Contact.jsx Contact form · Services.jsx Services
Components 18
App runtime
- React mount
src/main.jsx - Page composition
src/App.jsx - Page assets
src/assets/assets.js
Agency content
- Hero section
src/components/Hero.jsx - Trusted by
src/components/TrustedBySection.jsx - Services
src/components/Services.jsx - Service card
src/components/ServiceCard.jsx - Our work
src/components/OurWork.jsx - Team
src/components/Team.jsx - Section title
src/components/Title.jsx
Navigation and theme
- Navbar
src/components/Navbar.jsx - Theme toggle
src/components/ThemeToggleBtn.jsx
Contact and shared UI
- Contact form
src/components/Contact.jsx - Footer
src/components/Footer.jsx - Toast host
src/App.jsx
Other components
- Visitor
- Web3Forms API
- Toast notifications
Connections 23
- Visitor → React mount: opens page
- React mount → Page composition: renders
src/main.jsx - Page composition → Navbar: renders
src/App.jsx - Page composition → Hero section: renders
src/App.jsx - Page composition → Trusted by: renders
src/App.jsx - Page composition → Services: renders
src/App.jsx - Page composition → Our work: renders
src/App.jsx - Page composition → Team: renders
src/App.jsx - Page composition → Contact form: renders
src/App.jsx - Page composition → Footer: renders
src/App.jsx - Page composition → Toast host: renders
src/App.jsx - Navbar → Theme toggle: renders
src/components/Navbar.jsx - Theme toggle → Navbar: updates theme
src/components/Navbar.jsx - Navbar → Services: links to
src/components/Navbar.jsx - Navbar → Our work: links to
src/components/Navbar.jsx - Navbar → Contact form: links to
src/components/Navbar.jsx - Services → Service card: renders
src/components/Services.jsx - Services → Section title: renders
src/components/Services.jsx - Our work → Section title: renders
src/components/OurWork.jsx - Team → Section title: renders
src/components/Team.jsx - Contact form → Section title: renders
src/components/Contact.jsx - Contact form → Web3Forms API: submits form
src/components/Contact.jsx - Contact form → Toast notifications: shows result
src/components/Contact.jsx