How santoshsomu/trinethra_foundation works
Project type and purpose
• This is a single-page React application built with Vite, TypeScript, Tailwind CSS, and shadcn-ui.
• Its purpose is to present a marketing/campaign site (with pages like Home, About, Donate, Contact, Programs, PrivacyPolicy) and collect donations via Razorpay.
File structure
• Top-level config & lock files (package.json, pnpm-lock.yaml, vite.config.ts, tailwind.config.ts, tsconfig.json): define build, lint, TypeScript, and CSS pipeline.
• public/: static assets and metadata (robots.txt, index.html).
• src/main.tsx + src/index.css: application entry point and global styling.
• src/App.tsx + src/App.css: root component and styles.
• src/pages/: route views (Index, About, Donate, Contact, Programs, PrivacyPolicy, NotFound).
• src/components/: reusable UI building blocks
• layout/: global Navbar, Footer
• sections/: page-specific content (Hero, Mission, StatsCounter, TestimonialCarousel, DonateForm)
• ui/: atomic and molecular components (buttons, cards, dialogs, form controls)
• src/api/razorpay.ts + src/lib/payments.ts: client-side payment integration and utility functions.
• src/hooks/: custom React hooks.
README for additional insights
• Confirms tech stack (Vite, React, TypeScript, shadcn-ui, Tailwind CSS).
• Development flow is local (npm run dev) or via Lovable platform; deployment is a one-click static publish with custom domain support.