-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
127 lines (117 loc) · 4.64 KB
/
Copy pathindex.html
File metadata and controls
127 lines (117 loc) · 4.64 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Lexis – AI Study Assistant</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/Assets/lexis-html-logo.png" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="app">
<!-- Sidebar -->
<aside class="sidebar">
<div class="sidebar-header">
<div class="logo">
<div class="logo-text">
<span class="logo-title">Lexis</span>
<span class="logo-badge">STUDY</span>
</div>
<div class="logo-desc">
AI study assistant for your lectures – notes, mindmaps, quizzes & more.
</div>
</div>
<br>
<!-- Language selector -->
<div class="language-selector">
<label for="languageSelect">Language</label>
<select id="languageSelect">
<option value="en-US">English</option>
<option value="hi-IN">Hindi</option>
<option value="te-IN">Telugu</option>
<option value="es-ES">Spanish</option>
<option value="mixed">Mixed / Auto</option>
</select>
</div>
</div>
<!-- New lesson button -->
<button id="newLessonBtn" class="new-lesson-btn">
<span>+</span>
<span>New Live Lesson</span>
</button>
<div class="sidebar-section">
<div class="section-header">
<span class="section-title">Lessons</span>
<span class="section-count" id="lessonCount">1</span>
</div>
<div id="lessonList" class="lesson-list"></div>
</div>
<div class="sidebar-footer">
<div class="storage-info">
Local storage · lessons autosaved on this device
</div>
</div>
<!-- Discord-style user bar -->
<div class="user-bar">
<div class="user-info">
<img id="userAvatar" class="user-avatar" src="" alt="User avatar" />
<div class="user-text">
<div id="userName" class="user-name">Lexis user</div>
<div id="userEmail" class="user-email"></div>
</div>
</div>
<button id="logoutBtn" class="user-logout-btn">Log out</button>
</div>
</aside>
<!-- Main Content Area -->
<main class="main">
<div class="main-inner" id="mainInner"></div>
</main>
<!-- Floating Chat Bubble -->
<div class="chat-bubble-container" id="chatBubbleContainer">
<button class="chat-bubble-toggle" id="chatBubbleToggle">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>
</svg>
<span class="chat-badge" id="chatBadge">0</span>
</button>
<div class="chat-bubble-panel" id="chatBubblePanel">
<div class="chat-bubble-header">
<div class="chat-avatar">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>
</svg>
</div>
<div class="chat-header-text">
<h3>Ask Lexis</h3>
<p>Get answers about this lesson</p>
</div>
<button class="chat-close-btn" id="chatCloseBtn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</button>
</div>
<div class="chat-messages" id="chatMessages"></div>
<div class="chat-input-container">
<input
class="chat-input"
id="chatInput"
placeholder="Ask anything about this lesson..."
/>
<button class="chat-send-btn" data-action="send-chat">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="22" y1="2" x2="11" y2="13"/>
<polygon points="22 2 15 22 11 13 2 9 22 2"/>
</svg>
</button>
</div>
</div>
</div>
</div>
<!-- Optional local config; safe to 404 on Vercel -->
<!-- <script src="config.local.js"></script> -->
<script src="script.js"></script>
</body>
</html>