Spaces:
Running
Running
Really-amin
commited on
Update index.html
Browse files- index.html +20 -64
index.html
CHANGED
@@ -3,73 +3,29 @@
|
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
-
<title>دستیار هوش
|
7 |
-
<
|
8 |
-
|
9 |
-
font-family: Arial, sans-serif;
|
10 |
-
background-color: #f0f3f5;
|
11 |
-
display: flex;
|
12 |
-
justify-content: center;
|
13 |
-
align-items: center;
|
14 |
-
height: 100vh;
|
15 |
-
margin: 0;
|
16 |
-
}
|
17 |
-
#chat-container {
|
18 |
-
width: 100%;
|
19 |
-
max-width: 800px;
|
20 |
-
background: white;
|
21 |
-
border-radius: 10px;
|
22 |
-
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
23 |
-
overflow: hidden;
|
24 |
-
}
|
25 |
-
#chat-header {
|
26 |
-
background: linear-gradient(135deg, #3498db, #2980b9);
|
27 |
-
color: white;
|
28 |
-
padding: 20px;
|
29 |
-
text-align: center;
|
30 |
-
}
|
31 |
-
#chat-messages {
|
32 |
-
padding: 20px;
|
33 |
-
overflow-y: auto;
|
34 |
-
height: 400px;
|
35 |
-
border-bottom: 1px solid #ccc;
|
36 |
-
}
|
37 |
-
#input-container {
|
38 |
-
display: flex;
|
39 |
-
padding: 10px;
|
40 |
-
}
|
41 |
-
#user-input {
|
42 |
-
flex-grow: 1;
|
43 |
-
padding: 10px;
|
44 |
-
border-radius: 5px;
|
45 |
-
border: 1px solid #ddd;
|
46 |
-
font-size: 14px;
|
47 |
-
}
|
48 |
-
#send-button {
|
49 |
-
padding: 10px;
|
50 |
-
border: none;
|
51 |
-
background: #3498db;
|
52 |
-
color: white;
|
53 |
-
border-radius: 5px;
|
54 |
-
cursor: pointer;
|
55 |
-
margin-left: 10px;
|
56 |
-
}
|
57 |
-
#send-button:hover {
|
58 |
-
background: #2980b9;
|
59 |
-
}
|
60 |
-
</style>
|
61 |
-
</head>
|
62 |
<body>
|
63 |
<div id="chat-container">
|
64 |
-
<div id="chat-header"
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
</div>
|
|
|
68 |
<div id="input-container">
|
69 |
-
<
|
70 |
-
<
|
|
|
|
|
71 |
</div>
|
72 |
</div>
|
73 |
-
<script src="script.js"></script>
|
74 |
-
</
|
75 |
-
</html>
|
|
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>دستیار هوش مصنوعی پیشرفته</title>
|
7 |
+
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css" rel="stylesheet" type="text/css" />
|
8 |
+
<link rel="stylesheet" href="style.css"> </head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
<body>
|
10 |
<div id="chat-container">
|
11 |
+
<div id="chat-header">
|
12 |
+
<div class="header-icons">
|
13 |
+
<span class="header-icon" id="settings-button">⚙️</span>
|
14 |
+
<span class="header-icon" id="help-button">❓</span>
|
15 |
+
</div>
|
16 |
+
<span class="header-title">دستیار هوش مصنوعی پیشرفته</span>
|
17 |
+
<div class="header-icons" style="visibility: hidden;">
|
18 |
+
<span class="header-icon">⚙️</span>
|
19 |
+
<span class="header-icon">❓</span>
|
20 |
+
</div>
|
21 |
</div>
|
22 |
+
<div id="chat-messages"></div>
|
23 |
<div id="input-container">
|
24 |
+
<button class="input-button" id="send-button" onclick="sendMessage()">➤</button>
|
25 |
+
<input type="text" id="user-input" placeholder="سوال خود را اینجا بنویسید...">
|
26 |
+
<button class="input-button" id="voice-input">🎤</button>
|
27 |
+
<button class="input-button" id="file-upload">📁</button>
|
28 |
</div>
|
29 |
</div>
|
30 |
+
<script src="script.js"></script> </body>
|
31 |
+
</html>
|
|