-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
41 lines (38 loc) · 1.67 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Easy Chat</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="chat.css">
<link href="https://fonts.cdnfonts.com/css/open-dyslexic" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<nav class="top-nav">
<div class="nav-left">Easy Chat</div>
<div class="nav-right">
<a href="https://paul-gauthier.github.io/easy-chat/">New Chat</a>
<span>|</span>
<a href="https://github.com/paul-gauthier/easy-chat">About</a>
</div>
</nav>
<div class="container">
<div class="chat-box">
<p class="user"><span class="fa fa-volume-up" onclick="speak(this.parentNode)"></span><span>Hello!</span>
</p>
<p class="assistant"><span class="fa fa-volume-up" onclick="speak(this.parentNode)"></span><span>How</span> <span>can</span> <span>I</span> <span>help</span>
<span>you?</span></p>
<div id="bottom"></div>
</div>
<div class="input-box">
<textarea placeholder="Type your message here..." autofocus></textarea>
<button>Send</button>
<div class="spinner"></div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="chat.js"></script>
</body>
</html>