-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (52 loc) · 2.25 KB
/
index.html
File metadata and controls
55 lines (52 loc) · 2.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, interactive-widget=resizes-content">
<title>Bisik - anonymous public chat</title>
<link rel="icon" type="image/x-icon" href="bisikicon.ico">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="chat-container">
<header class="chat-header">
<div class="header-spacer"></div>
<div class="header-content">
<h1><img src="headicon.ico" alt="" class="title-icon">Bisik</h1>
<p>anonymous public chat</p>
<p class="online-status"><span class="online-indicator" id="onlineIndicator"><span class="online-dot"></span><span id="onlineCount">1</span> online</span></p>
</div>
<button type="button" class="clear-button" id="clearButton" title="Clear chat">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="3 6 5 6 21 6"></polyline>
<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>
</svg>
</button>
</header>
<main class="chat-messages" id="chatMessages">
<!-- Messages will be inserted here -->
</main>
<footer class="chat-input-area">
<form class="chat-form" id="chatForm">
<input
type="text"
class="chat-input"
id="messageInput"
placeholder="Type a message..."
autocomplete="off"
maxlength="150"
>
<button type="submit" class="send-button" id="sendButton">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="22" y1="2" x2="11" y2="13"></line>
<polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>
</svg>
</button>
</form>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2" integrity="sha384-NFPmVbJvc91cC9zbheWJA+qZKj0Kod2IEMvGnxVKB5A7wLgRNA6Aobu8neZmQ19J" crossorigin="anonymous"></script>
<script src="config.js"></script>
<script src="script.js"></script>
</body>
</html>