# First Vibe Coded Project Maa Janki Hospital & Child Care A modern, responsive React.js web application for a pediatric hospital in Mairwa, Bihar. Built with cutting-edge technologies to provide the best user experience for patients and families. --- ๐Ÿฅ About Maa Janki Hospital & Child Care is a leading pediatric hospital providing 24x7 emergency services, advanced NICU facilities, and specialized child healthcare in Mairwa, Bihar. --- โœจ Features ๐ŸŒ Bilingual Support: Seamless switching between Hindi (default) and English ๐Ÿ“ฑ Responsive Design: Optimized for mobile, tablet, and desktop โšก Fast Performance: Built with Vite for lightning-fast loading ๐ŸŽจ Modern UI/UX: Beautiful animations using Framer Motion and AOS ๐Ÿฅ Hospital Features 24x7 emergency contact integration Doctor profiles and specializations Comprehensive services showcase Photo gallery of facilities Contact forms and location mapping --- ๐Ÿ› ๏ธ Technology Stack Frontend: React.js 18+ with Vite Styling: Tailwind CSS with custom hospital theme Animations: Framer Motion & AOS Routing: React Router DOM Internationalization: react-i18next Icons: React Icons & Lucide React Build Tool: Vite --- ๐ŸŽจ Design System Colors Cream Background: #fef7ed โ€“ Warm, welcoming Orange Primary: #ff5722 โ€“ Trust, healthcare Baby Blue Accent: #2196f3 โ€“ Calm, professional Typography Hindi: Noto Sans Devanagari, Baloo Bhaina 2 English: Poppins, Inter --- ๐Ÿ“ฆ Installation 1. Clone the repository git clone cd maa-janki-hospital 2. Install dependencies npm install 3. Start development server npm run dev 4. Build for production npm run build 5. Preview production build npm run preview --- ๐Ÿ“‹ Available Scripts npm run dev โ€“ Start development server npm run build โ€“ Build for production npm run preview โ€“ Preview production build npm run lint โ€“ Run ESLint --- ๐Ÿ—๏ธ Project Structure src/ โ”œโ”€โ”€ components/ # Reusable UI components โ”‚ โ”œโ”€โ”€ Navbar.jsx # Navigation with language toggle โ”‚ โ””โ”€โ”€ Footer.jsx # Footer with contact info โ”œโ”€โ”€ pages/ # Main page components โ”‚ โ”œโ”€โ”€ Home.jsx # Landing page with hero section โ”‚ โ”œโ”€โ”€ Doctor.jsx # Doctor profiles and credentials โ”‚ โ”œโ”€โ”€ Services.jsx # Medical services showcase โ”‚ โ”œโ”€โ”€ Gallery.jsx # Photo gallery with lightbox โ”‚ โ””โ”€โ”€ Contact.jsx # Contact forms and location โ”œโ”€โ”€ i18n.js # Internationalization setup โ”œโ”€โ”€ App.jsx # Main app component with routing โ”œโ”€โ”€ main.jsx # App entry point โ””โ”€โ”€ index.css # Global styles and Tailwind --- ๐ŸŒ Languages Supported Hindi (เคนเคฟเค‚เคฆเฅ€) โ€“ Default language English โ€“ Secondary language > Language toggle available in the navigation bar for instant switching. --- ๐Ÿ“ž Contact Information Primary: 9128231000 Secondary: 9525552675 WhatsApp: 9128231000 Location: Mairwa, Bihar Maps: Google Maps Link --- ๐Ÿฅ Services 24x7 Emergency Care Advanced NICU Facilities Pediatric Consultation Medical Equipment: Oxygen Therapy Baby Warmers Incubators Phototherapy Infusion Pumps Pulse Oximeters Nebulizers --- ๐Ÿ‘จโ€โš•๏ธ Medical Team Dr. Amrit Kumar MBBS, MD (Pediatrics) 10+ Years Experience Pediatric Specialist Available 24x7 for emergencies --- ๐Ÿš€ Performance Features Fast Loading โ€“ Vite build system for optimal performance Code Splitting โ€“ Automatic route-based code splitting SEO Optimized โ€“ Proper meta tags and semantic HTML Accessibility โ€“ WCAG compliant components Mobile First โ€“ Responsive design for all screen sizes --- ๐Ÿ“ฑ Browser Support Chrome (latest) Firefox (latest) Safari (latest) Edge (latest) Mobile browsers (iOS Safari, Chrome Mobile) --- ๐Ÿ”ง Development Adding New Pages 1. Create component in src/pages/ 2. Add route in App.jsx 3. Update navigation in Navbar.jsx 4. Add translations in i18n.js Customizing Styles Modify tailwind.config.js for theme changes Update src/index.css for global styles Use Tailwind classes for component styling Adding Translations Update the resources object in src/i18n.js: const resources = { hi: { translation: { newKey: "เคจเคฏเคพ เคŸเฅ‡เค•เฅเคธเฅเคŸ" } }, en: { translation: { newKey: "New Text" } } }; --- ๐Ÿ“„ License This project is created for Maa Janki Hospital & Child Care. All rights reserved. --- ๐Ÿค Contributing This is a private project for a specific hospital. (My Brother ๐Ÿ˜…) ---