Spaces:
Configuration error
Configuration error
Download index.html from whdevil/CivicPulse: direct link, hf CLI and curl.
- Browser
- Download file 9.64 kB
-
https://huggingface.co/spaces/whdevil/CivicPulse/resolve/main/index.html
- Command line
-
hf download hf://spaces/whdevil/CivicPulse/index.html
-
curl -L -o index.html https://huggingface.co/spaces/whdevil/CivicPulse/resolve/main/index.html
9.64 kB
| <html lang="en"> | |
| <head> | |
| <link rel="icon" href="data:,"> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Civic Grievance AI Portal</title> | |
| <!-- Use Inter font for a clean, formal look --> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> | |
| <body> | |
| <!-- 1. Top Bar (Sanchar Saathi Style) --> | |
| <div class="top-bar"> | |
| <div class="tb-left"> | |
| <div class="tb-item"> | |
| <span class="hi">भारत सरकार</span> | |
| <span class="en">GOVERNMENT OF INDIA</span> | |
| </div> | |
| <div class="tb-item"> | |
| <span class="hi">प्रशासनिक सुधार मंत्रालय</span> | |
| <span class="en">MINISTRY OF PUBLIC GRIEVANCES</span> | |
| </div> | |
| </div> | |
| <div class="tb-right"> | |
| <span>SKIP TO MAIN CONTENT</span> | |
| <div class="tb-icons"> | |
| <span class="icon">🔍</span> | |
| <span class="icon">A</span> | |
| <span class="icon">A+</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- 2. Main Header --> | |
| <header class="main-header"> | |
| <div class="header-logo"> | |
| <div class="emblem-placeholder"> | |
| <div class="ashoka-chakra"></div> | |
| </div> | |
| <div class="header-titles"> | |
| <span class="hi">लोक शिकायत विभाग</span> | |
| <span class="en">DEPARTMENT OF PUBLIC GRIEVANCES</span> | |
| </div> | |
| </div> | |
| <div class="header-right-logos"> | |
| <div class="logo-box">Digital India</div> | |
| <div class="logo-box">Azadi Ka Amrit Mahotsav</div> | |
| </div> | |
| </header> | |
| <!-- 3. Navigation Bar (Floating Button Tabs) --> | |
| <nav class="ss-nav"> | |
| <div class="nav-container"> | |
| <a href="#" class="home-btn"> | |
| <svg viewBox="0 0 24 24" width="22" height="22" stroke="currentColor" stroke-width="2" fill="none"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg> | |
| </a> | |
| <div class="nav-links"> | |
| <a href="#" class="nav-btn">CITIZEN CENTRIC SERVICES</a> | |
| <a href="#" class="nav-btn">ABOUT</a> | |
| <a href="#" class="nav-btn">FILE COMPLAINT</a> | |
| <a href="#" class="nav-btn">FREQUENTLY ASKED QUESTIONS</a> | |
| <a href="#" class="nav-btn">MOBILE APP</a> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- 4. Main Banner Wrapper (with Floating Cards) --> | |
| <div class="main-wrapper"> | |
| <div class="container"> | |
| <!-- Left Panel: Floating Minister Cards --> | |
| <aside class="left-floating-panel"> | |
| <div class="floating-card"> | |
| <img src="images/pm_modi.png" alt="Narendra Modi" class="card-img"> | |
| <div class="card-info"> | |
| <strong>Honorable Prime Minister</strong> | |
| <span>Shri Narendra Modi</span> | |
| </div> | |
| <div class="card-social"> | |
| <span>🐦</span> <span>🟦</span> <span>📸</span> | |
| </div> | |
| </div> | |
| <div class="floating-card"> | |
| <img src="images/mohan_yadav.png" alt="Mohan Yadav" class="card-img"> | |
| <div class="card-info"> | |
| <strong>Honnorable Chief Minister</strong> | |
| <span>Dr. Mohan Yadav</span> | |
| </div> | |
| <div class="card-social"> | |
| <span>🐦</span> <span>🟦</span> <span>📸</span> | |
| </div> | |
| </div> | |
| </aside> | |
| <!-- Right Panel: Sanchar Saathi Integrated Banner --> | |
| <section class="banner-panel"> | |
| <div class="ss-banner"> | |
| <div class="ss-banner-header"> | |
| <h2>CIVIC GRIEVANCE AI PORTAL</h2> | |
| <p>AN INTEGRATED SPACE FOR CITIZEN CENTRIC SERVICES</p> | |
| </div> | |
| <div class="ss-banner-content"> | |
| <!-- Orange Info Blocks --> | |
| <div class="ss-orange-section"> | |
| <div class="orange-block"> | |
| <h3>REPORT</h3> | |
| <ul> | |
| <li>Civic Issues & Potholes</li> | |
| <li>Water Supply & Sanitation Delivery</li> | |
| <li>Unregistered Construction Work</li> | |
| <li>Electricity related issues</li> | |
| </ul> | |
| </div> | |
| <div class="orange-block"> | |
| <h3>TRACK</h3> | |
| <ul> | |
| <li>Your Registered Complaints</li> | |
| <li>Current Authority Status</li> | |
| <li>Expected Resolution Date</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <!-- Chatbot embedded seamlessly --> | |
| <div class="ss-chat-section"> | |
| <div class="chat-container"> | |
| <div class="chat-messages" id="chatMessages" aria-live="polite"> | |
| <div class="message bot"> | |
| <div class="message-content"> | |
| Welcome to the Civic Grievance AI Portal. Please choose one of the options if it matches your grievance or else write your own complaint. | |
| </div> | |
| </div> | |
| </div> | |
| <div class="typing-indicator hidden" id="typingIndicator" aria-hidden="true"> | |
| <span></span><span></span><span></span> | |
| </div> | |
| <div class="choice-panel" id="choicePanel"> | |
| <button class="choice-btn road-btn" data-example="There are large potholes on the road near my colony."> | |
| Civic Issues & Potholes | |
| </button> | |
| <button class="choice-btn water-btn" data-example="No water supply in our area since morning."> | |
| Water Supply & Sanitation Delivery | |
| </button> | |
| <button class="choice-btn illegal-btn" data-example="Illegal construction work is blocking the public path."> | |
| Unregistered Construction Work | |
| </button> | |
| <button class="choice-btn electricity-btn" data-example="Electricity is not available for hours."> | |
| Electricity related issues | |
| </button> | |
| <button class="choice-btn own-hover" id="writeOwnBtn"> | |
| Write my own complaint | |
| </button> | |
| </div> | |
| <!-- Chat Input (Hidden initially) --> | |
| <form class="chat-input-area hidden" id="chatForm"> | |
| <input type="text" id="chatInput" placeholder="Type your complaint here..." autocomplete="off" required> | |
| <button type="submit" id="sendBtn" aria-label="Send Message"> | |
| <svg viewBox="0 0 24 24" width="20" height="20" stroke="currentColor" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"> | |
| <line x1="22" y1="2" x2="11" y2="13"></line> | |
| <polygon points="22 2 15 22 11 13 2 9 22 2"></polygon> | |
| </svg> | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Bottom Yellow Banner --> | |
| <div class="ss-banner-footer"> | |
| <div class="access-now">ACCESS NOW »</div> | |
| <div class="web-portal"> | |
| <span>Web Portal</span> | |
| <a href="#">https://civicai.gov.in</a> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="main-footer"> | |
| <div class="footer-content"> | |
| <p>© Government of India – Civic AI System</p> | |
| </div> | |
| </footer> | |
| </body> | |
| <script src="app.js"></script> | |
| </html> | |