-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
index.html
49 lines (48 loc) · 1.91 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
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Perplexity AI</title>
<link rel="stylesheet" href="./src/css/styles.css">
</head>
<body>
<div id="container">
<nav id="sidebar">
<a href="#" class="menu-item" onclick="window.electronAPI.switchAITool('https://perplexity.ai')">
<img src="./assets/icons/svg/perplexity-ai-icon.svg" alt="Perplexity AI" title="Perplexity AI"/>
</a>
<a href="#" class="menu-item" onclick="window.electronAPI.switchAITool('https://labs.perplexity.ai')">
<img src="./assets/icons/svg/perplexity-labs-icon.svg" alt="Perplexity Labs" title="Perplexity 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>
<div class="spacer"></div>
<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>
<a href="#" class="menu-item" onclick="window.electronAPI.openSettings()">
<img src="./assets/icons/svg/settings-icon.svg" alt="Settings" title="Settings"/>
</a>
<div class="version-display">v{version}</div>
</nav>
<div id="content">
<div id="webview-container">
</div>
<div id="loading">
<div class="spinner"></div>
</div>
</div>
</div>
<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>