A modern, responsive astrology consultation website with bilingual support (Hindi/English).
/
├── index.html # Main HTML file
│
├── assets/ # All assets
│ ├── css/
│ │ └── styles.css # All CSS styles
│ ├── js/ # JavaScript modules
│ │ ├── config.js # Configuration & constants
│ │ ├── translations.js # Translation data
│ │ ├── language.js # Language management
│ │ ├── navigation.js # Navigation & scroll
│ │ ├── forms.js # Form handling
│ │ ├── horoscope.js # Horoscope features
│ │ ├── horoscope-data.js # Horoscope content
│ │ ├── animations.js # Scroll animations
│ │ └── main.js # Application entry point
│ └── images/ # Image assets (add your images here)
│
├── docs/ # Documentation
│ ├── EMAILJS_SETUP.md # EmailJS setup guide
│ ├── MIGRATION_NOTES.md # Migration documentation
│ ├── PROJECT_STRUCTURE.md # Project structure guide
│ └── README_MODULAR.md # Modular architecture guide
│
└── README.md # This file
-
Open the website: Simply open
index.htmlin a web browser -
Local Development: For better development experience:
# Using Python 3 python -m http.server 8000 # Using Node.js npx http-server # Then visit http://localhost:8000
- ✅ Fully responsive (mobile, tablet, desktop)
- ✅ Bilingual support (Hindi/English) with toggle
- ✅ Modern navigation with scroll progress
- ✅ Contact form with EmailJS integration
- ✅ Interactive horoscope (Daily/Weekly/Monthly)
- ✅ Smooth scroll animations
- ✅ Back-to-top button
- ✅ Active navigation highlighting
- ✅ Modular architecture for easy maintenance
All settings are in assets/js/config.js:
- EmailJS credentials
- Contact information
- Language settings
- Scroll settings
The contact form uses EmailJS. See docs/EMAILJS_SETUP.md for setup instructions.
Current Configuration:
- Service ID:
service_5y7wckg - Template ID:
template_qas6t4u - Public Key:
NqlyqvEAnvQpdSYNj - Recipient:
binny.ray@gmail.com
- Hindi (हिंदी) - Default
- English - Toggle available
- Desktop: > 1024px
- Tablet: 768px - 1024px
- Mobile: < 768px
- Small Mobile: < 480px
- Translations:
assets/js/translations.js - Horoscope Data:
assets/js/horoscope-data.js - HTML:
index.html - Styles:
assets/css/styles.css
- Create new module in
assets/js/ - Follow existing module patterns
- Initialize in
assets/js/main.js - Update documentation
docs/README_MODULAR.md- Modular architecture guidedocs/EMAILJS_SETUP.md- EmailJS configurationdocs/PROJECT_STRUCTURE.md- Project organizationdocs/MIGRATION_NOTES.md- Migration details
Edit CSS variables in assets/css/styles.css:
:root {
--primary-color: #d4af37;
--secondary-color: #8b6914;
/* ... */
}Place images in assets/images/ and update paths in HTML.
- Phone: +91 98254 70377
- Email: binny.ray@gmail.com
- WhatsApp: +91 98254 70377
- EmailJS Public Key is safe to expose (frontend only)
- No sensitive data stored in frontend code
- Form validation on client-side
This is a client project. All rights reserved.
For issues or questions, refer to the documentation in the docs/ folder.