-
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (71 loc) · 2.9 KB
/
Copy pathindex.html
File metadata and controls
74 lines (71 loc) · 2.9 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
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Simplexity AI</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="container">
<!-- Sidebar -->
<nav id="sidebar">
<a href="#" class="menu-item" id="notification-button">
<div class="notification-icon-container">
<img src="./assets/icons/svg/notification-icon.svg" alt="Notifications" title="Notifications"/>
<div id="notification-badge" class="notification-badge" style="display:none;">0</div>
</div>
</a>
<div class="sidebar-separator" style="background-color: white; height: 1px; margin: 8px 0;"></div>
<a href="#" class="menu-item" onclick="window.electronAPI.switchAITool('https://perplexity.ai')">
<img src="./assets/icons/svg/perplexity-ai-icon.svg" alt="AI Search" title="AI Search"/>
</a>
<a href="#" class="menu-item" onclick="window.electronAPI.switchAITool('https://labs.perplexity.ai')">
<img src="./assets/icons/svg/perplexity-labs-icon.svg" alt="AI Labs" title="AI Labs"/>
</a>
<a href="#" class="menu-item" onclick="window.electronAPI.switchAITool('refresh')">
<img src="./assets/icons/svg/refresh-icon.svg" alt="Refresh" title="Refresh"/>
</a>
<!-- Spacer -->
<div class="spacer"></div>
<!-- Donate Button -->
<a href="#" class="menu-item" onclick="window.electronAPI.switchAITool('https://donate.inulute.com')">
<img src="./assets/icons/svg/coffee-icon.svg" alt="Donate" title="Buy me a Coffee"/>
</a>
<!-- Settings Button -->
<a href="#" class="menu-item" onclick="window.electronAPI.openSettings()">
<img src="./assets/icons/svg/settings-icon.svg" alt="Settings" title="Settings"/>
</a>
<!-- Version Display -->
<div class="version-display">v{version}</div>
</nav>
<!-- Content -->
<div id="content">
<div id="webview-container">
<!-- BrowserView content will be rendered here -->
</div>
<div id="loading">
<div class="spinner"></div>
</div>
<!-- Find Bar -->
<div id="find-bar">
<input type="text" id="find-input" placeholder="Find in page..." autocomplete="off" />
<span id="find-matches">0 / 0</span>
<button id="find-prev" title="Previous match">▲</button>
<button id="find-next" title="Next match">▼</button>
<button id="find-close" title="Close">×</button>
</div>
</div>
</div>
<!-- Update Modal -->
<div id="update-modal" class="modal hidden">
<div class="modal-content">
<button class="close-button" id="update-close-button">✕</button>
<h2>Update Available</h2>
<p>A new version (v<span id="latest-version"></span>) is available.</p>
<button id="download-update-button">Download Update</button>
</div>
</div>
<script src="./src/js/renderer/renderer.js"></script>
</body>
</html>