How starset4consulting/social-sphere-website works
Main Component Structure
┌─ Application Layer ─────────────────────┐
• ┌─ Routing Layer ──┐ ┌─ Pages ─────┐ │
• React Router │──▶ Home │ │
• Services │ │
• ┘ │ Contact │ │
• ┘ │
• ┘
Component Hierarchy
┌─ Layout Components ─┐ ┌─ Feature Components ─┐
• Header │ │ Home │
• Footer │────▶ - Hero │
• ServiceLayout │ │ - About │
• ┬─┘ │ - Services │
• Testimonials │
• ┬─┘
• ┌─ UI Components ───▼─┐
• ▶│ Button │
• Card │
• Dialog │
• (other UI elements)│
• ┬─┘
• ┌─ Shared Logic ───▼─┐
• Hooks │
• Utils │
• Animations │
• ┬─┘
Data Flow and State Management
How data flows through the application:
┌─ Client Browser ─────────────────────────────┐
• ┌─ React Application ──────────────────┐ │
• ┌─ Components ─┐ ┌─ Hooks ──────┐│ │
• UI State │◀──▶ use-toast ││ │
• Props │ │ Custom Hooks ││ │
• ┘ └──────────────┘│ │
• ┘ │
• ┘
Key Elements to Include:
Technology Stack Indicators
• React + Vite
• TypeScript
• Tailwind CSS
• React Router
┌─ Development ─┐ ┌─ Build Process ─┐ ┌─ Production ─┐
• Vite Dev │─▶│ npm run build │─▶│ Optimized │
• Server │ │ (Vite + TS) │ │ Static Files │
• ┘ └────────────────┘ └─────────────┘