How pallavimshr/deepsoul works
Project type and purpose
• DeepSoul is a single-page React application (SPA) that serves as a static marketing/site portal with themed UI sections (hero, therapy, self-help, resources).
• It is delivered via static hosting (Netlify) and runs entirely in the browser, with no dedicated backend service beyond localStorage for persisting theme preference.
File structure
• Top-level config files: package.json, tailwind.config.js, postcss.config.js → define dependencies, build/post-CSS rules for Tailwind CSS.
• public/ → static assets (HTML shell, images).
• src/ → React application code:
• index.js → app entry point
• App.js → root component
• components/ → UI widgets (Header, Footer, HeroSection, TherapySection, SelfHelp, Resources, ArticleCard, ResourceCard, ScrollToTopButton)
• context/themeContext.js → React Context provider for light/dark mode, backed by localStorage
• CSS files and test harnesses (App.test.js, setupTests.js, reportWebVitals.js)
README for additional insights
• Tech stack: React, JavaScript, Tailwind CSS, React Context API
• Live deployment on Netlify
• Features: theme toggle (persisted in localStorage), scroll-to-top button
• Core UI sections enumerated to match component tree