ranga galla commited on
Commit
10a075d
·
verified ·
1 Parent(s): a627058

Upload static/index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. static/index.html +22 -0
static/index.html CHANGED
@@ -90,6 +90,28 @@
90
  <p id="resError"></p>
91
  </div>
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  <footer>
94
  <p>Powered by Groq + Llama 3.3 70B &middot; English · తెలుగు · हिन्दी · संस्कृतम्</p>
95
  <p><a href="/stats" style="color:var(--accent);font-size:0.8rem;">📊 Usage Dashboard</a></p>
 
90
  <p id="resError"></p>
91
  </div>
92
 
93
+ <!-- Like & Comment Section -->
94
+ <div class="community-section">
95
+ <div class="like-row">
96
+ <button class="like-btn" id="likeBtn" onclick="toggleLike()">
97
+ <span id="likeIcon">🤍</span>
98
+ <span id="likeCount">0</span>
99
+ </button>
100
+ <button class="comment-toggle-btn" onclick="toggleComments()">
101
+ 💬 <span id="commentCount">0</span> Comments
102
+ </button>
103
+ </div>
104
+
105
+ <div class="comments-panel" id="commentsPanel" style="display:none;">
106
+ <div class="comment-form">
107
+ <input type="text" id="commentName" placeholder="Your name" maxlength="50">
108
+ <textarea id="commentText" placeholder="Write a comment..." maxlength="500" rows="2"></textarea>
109
+ <button onclick="submitComment()">Post Comment</button>
110
+ </div>
111
+ <div class="comments-list" id="commentsList"></div>
112
+ </div>
113
+ </div>
114
+
115
  <footer>
116
  <p>Powered by Groq + Llama 3.3 70B &middot; English · తెలుగు · हिन्दी · संस्कृतम्</p>
117
  <p><a href="/stats" style="color:var(--accent);font-size:0.8rem;">📊 Usage Dashboard</a></p>