Professional website template with 3D animations, responsive design, and lightbox galleries. Designed for HSC chapters and student organizations.
npm install
npm startVisit: http://localhost:3000
Website is hosted at: http://web.mit.edu/hsc/www/
All website content is stored in public/index.html. Edit sections directly:
- Organization Info: Lines 65-95
- Chaplain Information: Lines 97-125
- Events: Lines 130-210
- Photo Gallery: Lines 215-275
- Officers & Contact: Lines 280-330
- Add image to
public/assets/profile_pictures/ - Insert table row (around line 290):
<tr>
<td><div class="circular--portrait"><img src="assets/profile_pictures/name.jpg" alt="Name"></div></td>
<td>Position</td>
<td>Full Name</td>
<td><code>email</code></td>
</tr>- Add poster to
public/assets/event_posters/ - Add table entry (around line 140):
<tr>
<td><div class="circular--portrait"><a href="#poster8"><img src="assets/event_posters/event.png" alt="Event"></a></div></td>
<td>Event Name</td>
<td>Date</td>
<td>Description</td>
</tr>- Add lightbox popup (around line 460):
<div id="poster8" class="lightbox">
<a href="#" class="backdrop"></a>
<img src="assets/event_posters/event.png" alt="Event">
<a href="#" class="close">×</a>
</div>- Add photo to
public/assets/photos/ - Add to gallery table (around line 230):
<td><div class="circular--portrait"><a href="#lightbox10"><img src="assets/photos/photo.jpg" alt="Description"></a></div></td>- Add lightbox modal (around line 380):
<div id="lightbox10" class="lightbox">
<a href="#" class="backdrop"></a>
<img src="assets/photos/photo.jpg" alt="Description">
<a href="#" class="close">×</a>
</div># Copy files to MIT web server
scp -r public/* [username]@athena.dialup.mit.edu:/mit/hsc/www/
# Set permissions via SSH
ssh [username]@athena.dialup.mit.edu
cd /mit/hsc/www
fs sa . system:anyuser rl
fs sa . www:apache rlReplace [username] with your MIT Kerberos ID
Test deployment: curl -I http://web.mit.edu/hsc/www/
This website template is available for any Hindu Students Council chapter. To adapt:
- Fork this repository
- Update content in
public/index.html - Replace images in
public/assets/ - Deploy to your institution's web hosting
- Mobile-responsive design
- 3D Shivling animation with volumetric lighting
- Lightbox image galleries
- Professional layout optimized for student organizations
- Images in
<div class="circular--portrait">display as circles - Unique lightbox IDs required (lightbox1, poster1, etc.)
- Keep
public/index.backup.htmlas restore point - Mobile-optimized with viewport constraints
public/
├── index.html # Main content
├── styles.css # Styling & responsive design
├── lightbox.css # Image popup styling
├── lightbox.js # Popup behavior
├── main.js # 3D animation engine
└── assets/
├── profile_pictures/
├── event_posters/
└── photos/
MIT License - Free for educational and organizational use