How tom-ai/sophia-website works
This is a musician’s portfolio and contact website. Visitors view the home page’s introduction, featured collaborators and recent posts, then can open collaborator-specific gig details or submit a contact message. Server-rendered page components fetch content from DatoCMS; shared presentation components render structured text and post cards. The README also documents the Formspree contact integration. The graph reflects the shown page calls and documented CMS/Formspree behavior; other route or layout wiring is not expanded beyond visible evidence.
Main entry points: [slug]/page.tsx Collaborator detail · Collaborators.tsx Featured collaborators · app/page.tsx Hero and about · datocms.js CMS request
Components 14
Website pages
- Home page
src/app/page.tsx - Collaborator detail
src/app/latest-work/[slug]/page.tsx - Contact page
src/app/contact/page.tsx
CMS content
- DatoCMS
- CMS request
src/app/lib/datocms.js - Featured collaborators
src/app/components/Collaborators.tsx - Hero and about
src/app/page.tsx - Gig posts
src/app/latest-work/[slug]/page.tsx
Presentation
- Post list
src/app/components/PostList.tsx - Structured text
src/app/components/BodyText.tsx - Section header
src/app/components/SectionHeader.tsx
Contact
- Contact form
src/app/components/ContactForm.tsx - Formspree
Other components
- Site visitor
Connections 18
- Site visitor → Home page: views
- Site visitor → Collaborator detail: opens
- Site visitor → Contact page: opens
- Home page → Hero and about: renders
src/app/page.tsx - Home page → Featured collaborators: renders
src/app/page.tsx - Hero and about → CMS request: fetches
src/app/page.tsx - Featured collaborators → CMS request: fetches
src/app/components/Collaborators.tsx - Collaborator detail → CMS request: fetches
src/app/latest-work/[slug]/page.tsx - CMS request → DatoCMS: queries
src/app/lib/datocms.js - Featured collaborators → Post list: renders
src/app/components/Collaborators.tsx - Collaborator detail → Gig posts: renders
src/app/latest-work/[slug]/page.tsx - Gig posts → Post list: renders
src/app/latest-work/[slug]/page.tsx - Hero and about → Structured text: renders
src/app/page.tsx - Collaborator detail → Structured text: renders
src/app/latest-work/[slug]/page.tsx - Hero and about → Section header: renders
src/app/page.tsx - Featured collaborators → Section header: renders
src/app/components/Collaborators.tsx - Contact page → Contact form: renders
src/app/contact/page.tsx - Contact form → Formspree: submits
README.md