Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

index.html

38 lines1.0 KB

1<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="UTF-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6 <title>TanStack AI - Vanilla Chat</title>
7 <link rel="stylesheet" href="/src/style.css" />
8 </head>
9 <body>
10 <div class="container">
11 <header>
12 <h1>πŸ’¬ TanStack AI Chat</h1>
13 <p>Vanilla Client Example</p>
14 </header>
15​
16 <div class="chat-container">
17 <div id="messages" class="messages"></div>
18​
19 <div class="input-container">
20 <form id="chat-form">
21 <textarea
22 id="message-input"
23 placeholder="Type your message..."
24 rows="1"
25 ></textarea>
26 <button type="submit" id="send-button" disabled>
27 <span>Send</span>
28 </button>
29 </form>
30 </div>
31​
32 <div id="error" class="error" style="display: none"></div>
33 </div>
34 </div>
35​
36 <script type="module" src="/src/main.js"></script>
37 </body>
38</html>