Spaces:
Build error
Build error
Download website_template.html from Imtaiz/custom-assistant23: direct link, hf CLI and curl.
- Browser
- Download file 4.77 kB
-
https://huggingface.co/spaces/Imtaiz/custom-assistant23/resolve/main/website_template.html
- Command line
-
hf download hf://spaces/Imtaiz/custom-assistant23/website_template.html
-
curl -L -o website_template.html https://huggingface.co/spaces/Imtaiz/custom-assistant23/resolve/main/website_template.html
4.77 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>{AGENT_NAME} - AI Assistant</title> | |
| <!-- Preload resources --> | |
| <link rel="preload" as="document" href="{EMBED_URL}"> | |
| <link rel="preload" href="https://tezzyboy.s3.amazonaws.com/static/chatwidget_20241231_090506_c82d1b79.js" as="script"> | |
| <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" as="style"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> | |
| <style> | |
| :root { | |
| --primary-color: {PRIMARY_COLOR}; | |
| --secondary-color: {SECONDARY_COLOR}; | |
| --background-color: {BACKGROUND_COLOR}; | |
| --text-color: {TEXT_COLOR}; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| line-height: 1.6; | |
| color: var(--text-color); | |
| background-color: var(--background-color); | |
| } | |
| header { | |
| background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); | |
| color: white; | |
| padding: 2rem; | |
| text-align: center; | |
| } | |
| main { | |
| max-width: 800px; | |
| margin: 2rem auto; | |
| padding: 0 1rem; | |
| } | |
| .hero { | |
| text-align: center; | |
| padding: 2rem 0; | |
| } | |
| .hero img { | |
| width: 120px; | |
| height: 120px; | |
| border-radius: 50%; | |
| margin-bottom: 1rem; | |
| } | |
| .feature { | |
| background: #f8f9fa; | |
| border-radius: 10px; | |
| padding: 1.5rem; | |
| margin: 1rem 0; | |
| transition: transform 0.2s; | |
| } | |
| .feature:hover { | |
| transform: translateY(-5px); | |
| } | |
| .faq-section { | |
| margin: 2rem 0; | |
| } | |
| .faq-item { | |
| background: white; | |
| border: 1px solid #e2e8f0; | |
| border-radius: 8px; | |
| padding: 1rem; | |
| margin: 1rem 0; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| } | |
| .faq-item:hover { | |
| box-shadow: 0 4px 6px rgba(0,0,0,0.1); | |
| } | |
| .features-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 1.5rem; | |
| margin: 2rem 0; | |
| } | |
| @media (max-width: 768px) { | |
| main { | |
| padding: 0 1rem; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <header> | |
| <h1>{AGENT_NAME}</h1> | |
| <p>{AGENT_SUBTITLE}</p> | |
| </header> | |
| <main> | |
| <div class="hero"> | |
| <img src="{LOGO_URL}" alt="{AGENT_NAME} Logo"> | |
| <h2>Welcome to Our AI Assistant</h2> | |
| <p>Get instant answers to your questions! Our AI assistant is here to help 24/7.</p> | |
| </div> | |
| <div class="features-grid"> | |
| <div class="feature"> | |
| <h3>✨ Instant Answers</h3> | |
| <p>Get immediate responses to your questions with our AI-powered assistant.</p> | |
| </div> | |
| <div class="feature"> | |
| <h3>🔒 Secure & Reliable</h3> | |
| <p>Your conversations are private and secure with enterprise-grade security.</p> | |
| </div> | |
| <div class="feature"> | |
| <h3>🌐 24/7 Availability</h3> | |
| <p>Access assistance anytime, anywhere with our always-available AI.</p> | |
| </div> | |
| </div> | |
| <div class="faq-section"> | |
| <h3>Popular Questions</h3> | |
| <div class="faq-item"> | |
| <h4>How can the AI assistant help me?</h4> | |
| <p>Click the chat icon to start a conversation and discover all the ways our AI can assist you.</p> | |
| </div> | |
| <div class="faq-item"> | |
| <h4>Is the service available in multiple languages?</h4> | |
| <p>Our AI assistant can communicate effectively in various languages.</p> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Hidden iframe for preloading --> | |
| <iframe | |
| src="{EMBED_URL}" | |
| style="width:0;height:0;border:0;border:none;position:absolute;" | |
| hidden | |
| ></iframe> | |
| <!-- Chat Widget Integration --> | |
| <script src='https://tezzyboy.s3.amazonaws.com/static/chatwidget_20241231_090506_c82d1b79.js'></script> | |
| <script> | |
| initChatWidget({ | |
| agentName: '{AGENT_NAME}', | |
| agentImage: '{LOGO_URL}', | |
| headerColor: '{HEADER_COLOR}', | |
| buttonColor: '{BUTTON_COLOR}', | |
| chatbotUrl: '{EMBED_URL}' | |
| }); | |
| </script> | |
| </body> | |
| </html> | |