Add stars to the contributors section on the homepage

Update `initStars` function in `static/js/scripts.js` to select elements with both `.home-info` and `.contributors` classes for star initialization.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 5e584ab0-c340-4432-97ef-1972582b60e9
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 817b4353-4d19-4f84-8119-4020a486bb5d
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d0a1d46d-d203-4308-bc6a-312ac7c0243b/5e584ab0-c340-4432-97ef-1972582b60e9/SQCbuMB
This commit is contained in:
abhiramtx
2025-11-08 23:44:23 +00:00
parent cc777b8d44
commit 2270b5ff3c

View File

@@ -378,7 +378,7 @@ function initScrollIndicator() {
}
function initStars() {
const sections = document.querySelectorAll('.home-info');
const sections = document.querySelectorAll('.home-info, .contributors');
sections.forEach(section => {
const starContainer = document.createElement('div');