/** * COMPREHENSIVE DARK BACKGROUND ENFORCEMENT SCRIPT * * This file documents the systematic approach to ensure ALL pages use dark backgrounds consistently. * * Requirements: * - NO white backgrounds anywhere (remove bg-white, bg-gray-50, etc.) * - ALL sections must use bg-background (dark theme) or bg-black * - Consistent dark theme across entire website * - All components should respect dark theme variables */ // ===== BACKGROUND CLASSES TO ENFORCE ===== const REQUIRED_DARK_BACKGROUNDS = [ 'bg-background', // Primary dark background (#0E0E0E in dark theme) 'bg-black', // Pure black background 'bg-card', // Dark card background 'bg-muted', // Dark muted background ] as const; // ===== BACKGROUNDS TO REMOVE/REPLACE ===== const FORBIDDEN_LIGHT_BACKGROUNDS = [ 'bg-white', 'bg-gray-50', 'bg-gray-100', 'bg-slate-50', 'bg-neutral-50', 'bg-zinc-50', 'bg-stone-50', ] as const; // ===== SYSTEMATIC PAGE UPDATES REQUIRED ===== /** * 1. MAIN LAYOUT (App.tsx) ✅ COMPLETED * - Homepage sections all use bg-background * - Placeholder pages use bg-background * - Main app wrapper uses dark theme */ /** * 2. MAIN CATEGORY PAGES * All these pages need systematic review for dark backgrounds: */ const MAIN_CATEGORY_PAGES = [ '/pages/Services.tsx', '/pages/Resources.tsx', '/pages/Company.tsx', '/pages/ContactMain.tsx', '/pages/WebCloudServices.tsx', // ✅ Already properly configured '/pages/SoftwareEngineering.tsx', '/pages/DesignExperience.tsx', '/pages/ArtificialIntelligenceServices.tsx', '/pages/MachineLearning.tsx', ] as const; /** * 3. SERVICE PAGES (22 pages) * All service pages need dark background enforcement: */ const SERVICE_PAGES = [ '/pages/MobileAppDevelopment.tsx', // ✅ Already properly configured '/pages/iOSAppDevelopment.tsx', '/pages/AndroidAppDevelopment.tsx', '/pages/CrossPlatformAppDevelopment.tsx', '/pages/NativeAppDevelopment.tsx', '/pages/PWADevelopment.tsx', '/pages/WearableDeviceDevelopment.tsx', '/pages/CustomWebAppDevelopment.tsx', '/pages/SaaSProductEngineering.tsx', '/pages/EcommercePlatforms.tsx', '/pages/AdminPanelsDashboards.tsx', '/pages/APIBackendDevelopment.tsx', '/pages/EnterpriseSoftwareSolutions.tsx', '/pages/SystemArchitectureDevOps.tsx', '/pages/ThirdPartyIntegrations.tsx', '/pages/ProductModernization.tsx', '/pages/UIUXDesign.tsx', '/pages/ClickablePrototypes.tsx', '/pages/DesignThinkingWorkshops.tsx', '/pages/UserResearchTesting.tsx', '/pages/AIStrategyConsulting.tsx', '/pages/AIAutomationWorkflows.tsx', '/pages/AIIntegrationDigitalProducts.tsx', '/pages/GenAIIntegrationDigitalProducts.tsx', '/pages/AIChatbotsVirtualAssistants.tsx', '/pages/AIModelDeploymentMLOps.tsx', '/pages/CustomMLModelDevelopment.tsx', '/pages/PredictiveAnalyticsForecasting.tsx', '/pages/ComputerVisionApplications.tsx', '/pages/NLPTextAnalytics.tsx', '/pages/RecommendationEngines.tsx', ] as const; /** * 4. SOLUTION PAGES (6 pages) */ const SOLUTION_PAGES = [ '/pages/DigitalProductDevelopment.tsx', '/pages/MVPStartupLaunchPackages.tsx', '/pages/LegacySystemRebuilds.tsx', '/pages/DedicatedOffshoreODC.tsx', '/pages/BusinessProcessAutomation.tsx', '/pages/ComplianceReadySystems.tsx', ] as const; /** * 5. INDUSTRY PAGES (6 implemented pages) */ const INDUSTRY_PAGES = [ '/pages/FinTechBankingApps.tsx', '/pages/WealthTechPlatforms.tsx', '/pages/RealEstateTech.tsx', '/pages/HealthTechApplications.tsx', '/pages/MedicalComplianceSolutions.tsx', '/pages/FitnessWellnessPlatforms.tsx', ] as const; /** * 6. COMPANY PAGES (8 pages) */ const COMPANY_PAGES = [ '/pages/AboutWDI.tsx', '/pages/AboutWDIMain.tsx', '/pages/OurHistory.tsx', '/pages/LeadershipTeam.tsx', '/pages/AwardsCertifications.tsx', '/pages/Careers.tsx', '/pages/CultureValues.tsx', '/pages/PressMedia.tsx', ] as const; /** * 7. HIRE TALENT PAGES (12 pages) */ const HIRE_TALENT_PAGES = [ '/pages/HireTalent.tsx', '/pages/HireMobileAppDevelopers.tsx', '/pages/HireFullStackDevelopers.tsx', '/pages/HireFrontendDevelopers.tsx', '/pages/HireBackendDevelopers.tsx', '/pages/HireUIUXDesigners.tsx', '/pages/HireQAEngineers.tsx', '/pages/DedicatedDevelopmentTeams.tsx', '/pages/EngagementModels.tsx', '/pages/TeamAugmentationServices.tsx', ] as const; /** * 8. RESOURCE PAGES (5 pages) */ const RESOURCE_PAGES = [ '/pages/Blog.tsx', '/pages/CaseStudies.tsx', '/pages/ClientTestimonials.tsx', '/pages/WhitepapersInsights.tsx', '/pages/FAQs.tsx', ] as const; /** * 9. CONTACT PAGES (6 pages) */ const CONTACT_PAGES = [ '/pages/Contact.tsx', '/pages/RequestProposal.tsx', '/pages/ScheduleDiscoveryCall.tsx', '/pages/OfficeLocations.tsx', '/pages/ClientSupport.tsx', '/pages/SendYourCV.tsx', ] as const; // ===== SECTION PATTERNS THAT NEED DARK BACKGROUNDS ===== /** * Common section patterns that must use dark backgrounds: * * 1. Page wrapper: