-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (59 loc) · 2.17 KB
/
index.html
File metadata and controls
60 lines (59 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ChatGPT Clone</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" />
</head>
<body>
<div class="app-container">
<!-- Sidebar -->
<aside class="sidebar" id="sidebar">
<div class="sidebar-header">
<h2>Chat History</h2>
<button class="sidebar-toggle" id="sidebar-toggle" aria-label="Toggle sidebar">
<i class="fas fa-times"></i>
</button>
</div>
<div class="sidebar-content">
<input type="text" id="history-search" placeholder="Search chats..." aria-label="Search chat history" />
<ul id="chat-history" aria-live="polite"></ul>
</div>
</aside>
<!-- Main Chat Area -->
<main class="chat-container">
<header>
<button class="sidebar-open" id="sidebar-open" aria-label="Open sidebar">
<i class="fas fa-bars"></i>
</button>
<h1>deep-chat <span><p style="font-size: small;">Using DeepSeek Api</p></span></h1>
<div class="header-buttons">
<button class="new-chat" id="new-chat" aria-label="Start new chat">
<i class="fas fa-plus"></i> New Chat
</button>
<button class="theme-toggle" id="theme-toggle" aria-label="Toggle light/dark mode">
<i class="fas fa-moon"></i>
</button>
</div>
</header>
<div id="chat-container" role="log" aria-live="polite"></div>
<form id="chat-form" role="form" aria-label="Chat input form">
<textarea
id="user-input"
placeholder="Type your message..."
aria-label="Type your message"
rows="1"
autocomplete="off"
></textarea>
<button type="submit" aria-label="Send message">
<i class="fas fa-paper-plane"></i>
</button>
</form>
</main>
</div>
<script src="script.js"></script>
</body>
</html>