Spaces:
Running
Running
Download chat.html from Lecturn12/friendly-connections: direct link, hf CLI and curl.
- Browser
- Download file 3.93 kB
-
https://huggingface.co/spaces/Lecturn12/friendly-connections/resolve/main/chat.html
- Command line
-
hf download hf://spaces/Lecturn12/friendly-connections/chat.html
-
curl -L -o chat.html https://huggingface.co/spaces/Lecturn12/friendly-connections/resolve/main/chat.html
3.93 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Chat - FRIENDLY</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| :root { | |
| --color-primary: #6366f1; | |
| --color-secondary: #10b981; | |
| } | |
| body { | |
| background-color: #000; | |
| color: #f0f0f0; | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .bg-primary { background-color: var(--color-primary); } | |
| .text-primary { color: var(--color-primary); } | |
| .border-primary { border-color: var(--color-primary); } | |
| .bg-secondary { background-color: var(--color-secondary); } | |
| .text-secondary { color: var(--color-secondary); } | |
| .border-secondary { border-color: var(--color-secondary); } | |
| .chat-container { | |
| height: calc(100vh - 140px); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-black text-gray-100"> | |
| <div id="app" class="max-w-md mx-auto"> | |
| <header class="flex items-center p-4 border-b border-gray-900"> | |
| <a href="matches.html" class="mr-4"> | |
| <i data-feather="arrow-left"></i> | |
| </a> | |
| <img src="http://static.photos/people/320x240/3" alt="Friend" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <h1 class="font-medium">Jordan Smith</h1> | |
| <p class="text-xs text-gray-500">Online</p> | |
| </div> | |
| </header> | |
| <div class="chat-container overflow-y-auto p-4"> | |
| <div class="mb-4"> | |
| <div class="inline-block bg-gray-900 rounded-lg rounded-bl-none px-4 py-2 max-w-xs"> | |
| <p>Hey there! I saw we both love reading. What's your favorite genre?</p> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">10:24 AM</p> | |
| </div> | |
| <div class="mb-4 text-right"> | |
| <div class="inline-block bg-primary rounded-lg rounded-br-none px-4 py-2 max-w-xs"> | |
| <p>I'm really into sci-fi and fantasy. How about you?</p> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">10:25 AM</p> | |
| </div> | |
| <div class="mb-4"> | |
| <div class="inline-block bg-gray-900 rounded-lg rounded-bl-none px-4 py-2 max-w-xs"> | |
| <p>Fantasy all the way! Just finished reading an amazing book about dragons.</p> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">10:26 AM</p> | |
| </div> | |
| <div class="mb-4"> | |
| <div class="inline-block bg-gray-900 rounded-lg rounded-bl-none px-4 py-2 max-w-xs"> | |
| <p>Would you like to take a short quiz together to see how compatible we are as friends?</p> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">10:27 AM</p> | |
| </div> | |
| <div class="mb-4 text-right"> | |
| <div class="inline-block bg-primary rounded-lg rounded-br-none px-4 py-2 max-w-xs"> | |
| <p>Sure, that sounds fun!</p> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">10:28 AM</p> | |
| </div> | |
| </div> | |
| <div class="p-4 border-t border-gray-900"> | |
| <div class="flex items-center"> | |
| <input type="text" placeholder="Type a message..." class="flex-1 bg-gray-900 rounded-full py-3 px-4 mr-3"> | |
| <button class="bg-primary rounded-full p-3"> | |
| <i data-feather="send"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |