-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (68 loc) · 3.63 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aether Talk</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-43gviWU0YVjaDtb/GhzOouOXtZMP/7XUzwPTstBeZFe/+rCMvRwr4yROQP43s0Xk" crossorigin="anonymous"
onload="renderMathInElement(document.body);"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/webfontloader.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-python.min.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body class="light-mode">
<div class="app-container">
<header class="app-header">
<h1 class="app-title">Aether Talk</h1>
<div class="header-controls">
<button id="theme-toggle" class="icon-button" aria-label="Toggle theme">
<i class="fas fa-moon"></i>
</button>
<div class="font-size-controls">
<button id="decrease-font" class="icon-button" aria-label="Decrease font size">A-</button>
<span id="font-size-display">100%</span>
<button id="increase-font" class="icon-button" aria-label="Increase font size">A+</button>
</div>
<button id="clear-chat" class="icon-button" aria-label="Clear chat">
<i class="fas fa-trash-alt"></i>
</button>
</div>
</header>
<main class="chat-area">
<div id="chat-messages" class="chat-messages"></div>
</main>
<footer class="app-footer">
<form id="chat-form" class="chat-form">
<label for="file-upload" class="file-upload-label">
<i class="fas fa-paperclip"></i>
</label>
<input type="file" id="file-upload" accept=".txt,.pdf,.doc,.docx" hidden>
<input type="text" id="user-input" placeholder="Type your message..." required>
<button type="submit" class="send-button">
<i class="fas fa-paper-plane"></i>
</button>
</form>
</footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/13.0.1/marked.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.4.120/pdf.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mammoth/1.4.0/mammoth.browser.min.js"></script>
<script>
window.WebFontConfig = {
custom: {
families: ['KaTeX_AMS', 'KaTeX_Caligraphic:n4,n7', 'KaTeX_Fraktur:n4,n7',
'KaTeX_Main:n4,n7,i4,i7', 'KaTeX_Math:i4,i7', 'KaTeX_Script',
'KaTeX_SansSerif:n4,n7,i4', 'KaTeX_Size1', 'KaTeX_Size2', 'KaTeX_Size3',
'KaTeX_Size4', 'KaTeX_Typewriter'],
},
};
</script>
<script src="script.js"></script>
</body>
</html>