Skip to content

Commit d562ac4

Browse files
committed
Added deb package and UI enh
1 parent d2db7b6 commit d562ac4

File tree

2 files changed

+38
-11
lines changed

2 files changed

+38
-11
lines changed

docs/index.html

+36-9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2727
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
2828
<link rel="preload" href="appicon.png" as="image">
29+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
2930
</head>
3031

3132
<body>
@@ -153,38 +154,42 @@ <h3>Import & Export</h3>
153154
</section>
154155

155156
<section id="download" class="downloads">
156-
<h2 class="section-title">Download Clave </h2>
157+
<h2 class="section-title">Download Clave</h2>
157158
<div class="download-container">
158159
<p class="download-subtitle">Choose your platform</p>
159160

160161
<div class="download-grid">
161162
<!-- macOS -->
162163
<div class="download-card">
163-
<h3>macOS</h3>
164+
<h3><i class="fab fa-apple"></i> macOS</h3>
164165
<div class="download-options">
165-
<a href="#" class="download-button" data-platform="mac-intel">
166-
<span>Intel Chip</span>
167-
</a>
168-
<a href="#" class="download-button" data-platform="mac-silicon">
169-
<span>Apple Silicon</span>
166+
<a href="#" class="download-button" data-platform="mac-universal">
167+
<i class="fas fa-download"></i>
168+
<span>Universal</span>
170169
</a>
171170
</div>
172171
</div>
173172

174173
<!-- Windows -->
175174
<div class="download-card">
176-
<h3>Windows</h3>
175+
<h3><i class="fab fa-windows"></i> Windows</h3>
177176
<a href="#" class="download-button" data-platform="windows">
177+
<i class="fas fa-download"></i>
178178
<span>Windows 10/11</span>
179179
</a>
180180
</div>
181181

182182
<!-- Linux -->
183183
<div class="download-card">
184-
<h3>Linux</h3>
184+
<h3><i class="fab fa-linux"></i> Linux</h3>
185185
<a href="#" class="download-button" data-platform="linuxAppImage">
186+
<i class="fas fa-cube"></i>
186187
<span>AppImage</span>
187188
</a>
189+
<a href="#" class="download-button" data-platform="linuxDeb">
190+
<i class="fas fa-archive"></i>
191+
<span>Debian</span>
192+
</a>
188193
</div>
189194
</div>
190195
</div>
@@ -259,6 +264,28 @@ <h4>Support</h4>
259264

260265
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
261266
<script src="main.js"></script>
267+
<style>
268+
.download-button {
269+
display: flex;
270+
align-items: center;
271+
gap: 8px;
272+
padding: 10px 20px;
273+
}
274+
275+
.download-card h3 {
276+
display: flex;
277+
align-items: center;
278+
gap: 8px;
279+
}
280+
281+
.download-card h3 i {
282+
font-size: 1.2em;
283+
}
284+
285+
.download-button i {
286+
font-size: 1.1em;
287+
}
288+
</style>
262289
</body>
263290

264291
</html>

docs/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ async function updateVersion() {
5050

5151
function updateDownloadLinks(versionNumber) {
5252
const platformUrls = {
53-
'mac-intel': `Clave-v${versionNumber}-x64.dmg`,
54-
'mac-silicon': `Clave-v${versionNumber}-arm64.dmg`,
53+
'mac-universal': `Clave-v${versionNumber}-universal.dmg`,
5554
'windows': `Clave-Setup-v${versionNumber}-x64.exe`,
5655
'linuxAppImage': `clave_v${versionNumber}_amd64.AppImage`,
56+
'linuxDeb': `clave_v${versionNumber}_amd64.deb`,
5757
};
5858

5959
document.querySelectorAll('.download-button').forEach(link => {

0 commit comments

Comments
 (0)