How ratmir26/ratmir works
This is a startup-studio marketing site with authentication and an admin CMS. Visitors enter through the routed React app, load studio content and project cases, and can submit an inquiry; administrators manage sections, projects, and inquiries. Supabase is the evidenced data and authentication service, with fallback content for public sections and projects. The source index identifies the serverless API handlers and additional account/admin pages; those are included, but their unexcerpted runtime details are not inferred beyond documented references.
Main entry points: LandingPage.tsx Landing page · main.tsx App routing · supabase.ts Supabase client · auth.tsx Auth provider
Components 26
Web experience
- App routing
src/main.tsx - Landing page
src/pages/LandingPage.tsx - Hero and stats
src/components/HeroSection.tsx - Services
src/components/ServicesSection.tsx - Project cases
src/components/CasesSection.tsx - Studio process
src/components/ProcessSection.tsx - Trust content
src/components/TestimonialsSection.tsx - FAQ
src/components/FAQSection.tsx - Contact form
src/components/ContactSection.tsx
Identity and accounts
- Sign-in page
src/pages/AuthPage.tsx - Auth provider
src/lib/auth.tsx - User profile
src/pages/ProfilePage.tsx
Content and inquiries
- Section editor
src/pages/admin/AdminSections.tsx - Project editor
src/pages/admin/AdminProjects.tsx - Inquiry manager
src/pages/admin/AdminInquiries.tsx - Content data access
src/lib/api.ts - Fallback content
src/data/fallback.ts - Supabase client
src/lib/supabase.ts
Serverless API
- Inquiry endpoint
api/inquiries.js - Projects endpoint
api/startup_projects.js - Sections endpoint
api/studio_sections.js - Server Supabase client
api/_supabase.js - Restore trigger
api/_wake.js
Other components
- Visitor
- Administrator
- Supabase
Connections 30
- Visitor → App routing: opens app
src/main.tsx - Administrator → App routing: opens admin
src/main.tsx - App routing → Landing page: routes to
src/main.tsx - App routing → Sign-in page: routes to
src/main.tsx - App routing → User profile: routes to
src/main.tsx - App routing → Section editor: routes to
src/main.tsx - App routing → Project editor: routes to
src/main.tsx - App routing → Inquiry manager: routes to
src/main.tsx - App routing → Auth provider: provides auth
src/main.tsx - Sign-in page → Auth provider: uses auth
src/pages/AuthPage.tsx - User profile → Auth provider: uses auth
src/pages/ProfilePage.tsx - Auth provider → Supabase client: auth and profiles
src/lib/auth.tsx - Landing page → Hero and stats: renders
src/pages/LandingPage.tsx - Landing page → Services: renders
src/pages/LandingPage.tsx - Landing page → Project cases: renders
src/pages/LandingPage.tsx - Landing page → Studio process: renders
src/pages/LandingPage.tsx - Landing page → Trust content: renders
src/pages/LandingPage.tsx - Landing page → FAQ: renders
src/pages/LandingPage.tsx - Landing page → Contact form: renders
src/pages/LandingPage.tsx - Landing page → Content data access: loads and submits
src/pages/LandingPage.tsx - Content data access → Supabase client: queries and writes
src/lib/api.ts - Content data access → Fallback content: falls back to
src/lib/api.ts - Supabase client → Supabase: connects to
src/lib/supabase.ts - Section editor → Supabase client: manages sections
src/pages/admin/AdminSections.tsx - Project editor → Supabase client: manages projects
src/pages/admin/AdminProjects.tsx - Inquiry manager → Supabase client: manages inquiries
src/pages/admin/AdminInquiries.tsx - Inquiry endpoint → Server Supabase client: uses client
api/inquiries.js - Projects endpoint → Server Supabase client: uses client
api/startup_projects.js - Sections endpoint → Server Supabase client: uses client
api/studio_sections.js - Server Supabase client → Restore trigger: triggers on errors
api/_supabase.js