How loxitisstudio/acid-porto works
ACID is a personal-branding portfolio with a public creative-services site and an authenticated project dashboard. Visitors browse service and pricing sections, filter portfolio work, open project details, and submit a contact form. The dashboard manages project records and media: browser uploads go to Cloudinary, then project data is persisted in Supabase. The graph reflects documented composition and sampled calls; several page sections and API behaviors are represented from README or index references rather than inspected implementation excerpts.
Main entry points: BelowFold.tsx Below Fold · projectClient.ts Project Client · page.tsx Home Page · Portfolio.tsx Portfolio Gallery
Components 24
Public Portfolio
- Home Page
app/page.tsx - Home Shell
components/HomeShell.tsx - Hero
components/Hero.tsx - About
components/About.tsx - Skills
components/Skills.tsx - Services
components/Services.tsx - Pricing
components/Pricing.tsx - Contact Footer
components/Footer.tsx - Below Fold
components/BelowFold.tsx
Portfolio Content
- Portfolio Gallery
components/Portfolio.tsx - All Projects
app/projects/page.tsx - Project Details
components/ProjectModal.tsx - Project Content
lib/data.ts
Admin Management
- Login Page
app/login/page.tsx - Project Dashboard
app/dashboard/page.tsx - Project Client
lib/projectClient.ts
Backend Services
- Auth Routes
app/api/auth/login/route.ts - Session Auth
lib/adminAuth.ts - Projects API
app/api/projects/route.ts - Supabase
- Upload Signature API
app/api/cloudinary/signature/route.ts - Cloudinary
- Contact API
app/api/contact/route.ts
Other components
- Visitor
Connections 31
- Visitor → Home Page: visits
- Home Page → Home Shell: renders
app/page.tsx - Home Page → Hero: renders
app/page.tsx - Home Page → Below Fold: renders
app/page.tsx - Below Fold → About: renders
components/BelowFold.tsx - Below Fold → Skills: renders
components/BelowFold.tsx - Below Fold → Portfolio Gallery: renders
components/BelowFold.tsx - Below Fold → Services: renders
components/BelowFold.tsx - Below Fold → Pricing: renders
components/BelowFold.tsx - Below Fold → Contact Footer: renders
components/BelowFold.tsx - Portfolio Gallery → Project Content: loads content
components/Portfolio.tsx - Portfolio Gallery → Project Client: fetches projects
components/Portfolio.tsx - Portfolio Gallery → Project Details: opens details
components/Portfolio.tsx - All Projects → Project Client: fetches projects
app/projects/page.tsx - All Projects → Project Details: opens details
app/projects/page.tsx - All Projects → Project Content: uses fallback
app/projects/page.tsx - Project Details → Project Content: renders project
components/ProjectModal.tsx - Visitor → Login Page: signs in
- Login Page → Auth Routes: authenticates
- Auth Routes → Session Auth: uses session logic
app/api/auth/login/route.ts - Visitor → Project Dashboard: manages work
- Project Dashboard → Project Client: manages projects
app/dashboard/page.tsx - Project Client → Projects API: requests projects
lib/projectClient.ts - Projects API → Session Auth: checks admin session
app/api/projects/route.ts - Projects API → Supabase: reads and writes
app/api/projects/route.ts - Project Dashboard → Upload Signature API: requests signature
- Project Client → Cloudinary: uploads media
lib/projectClient.ts - Upload Signature API → Session Auth: checks admin session
app/api/cloudinary/signature/route.ts - Project Dashboard → Supabase: stores media URL
- Contact Footer → Contact API: submits form
components/Footer.tsx - Home Shell → Visitor: presents experience