-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchat.html
62 lines (62 loc) · 2.04 KB
/
chat.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Chat</title>
<link rel="icon" href="assets/img/logo.png" type="image/png" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous"
/>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous"
/>
<style>
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
* {
font-family: "Roboto", sans-serif;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/@kontenbase/sdk"></script>
</head>
<body class="p-5" style="background-color: #334a5e">
<!-- chat section -->
<div class="bg-white my-3 rounded" style="height: 500px">
<div class="h-100 p-3" style="overflow-y: scroll" id="chat-section">
<!-- text goes here -->
</div>
</div>
<!-- end chat section -->
<!-- send message -->
<div class="d-flex">
<input
type="text"
placeholder="Write your message..."
class="w-100 rounded p-3 me-3"
style="height: 30px; background-color: white"
id="message"
/>
<button
class="btn text-white"
style="background-color: #03c1fd; border: 2px solid black"
onclick="sendMessage()"
>
Send
</button>
</div>
<!-- end send message -->
<!-- end modal register -->
<script src="assets/js/chat.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
crossorigin="anonymous"
></script>
</body>
</html>