Simplify download buttons: remove separate Agent button, add 'Built-in Agent' subtext

This commit is contained in:
Z User 2026-07-16 22:24:00 +00:00
parent d38162c545
commit b37bd48a8e

View File

@ -457,31 +457,16 @@
.dl-platform-btn.download:hover {
background: #6ee7b7;
}
.dl-platform-btn.agent {
background: transparent;
color: #34d399;
border: 1px solid rgba(52, 211, 153, 0.35);
font-size: 0.72rem;
padding: 0.4rem 0.9rem;
}
.dl-platform-btn.agent:hover {
background: rgba(52, 211, 153, 0.1);
border-color: #34d399;
}
.dl-platform-actions {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 0.4rem;
flex-shrink: 0;
}
.dl-platform-note {
font-size: 0.65rem;
color: #475569;
text-align: right;
.dl-btn-sub {
display: block;
font-size: 0.6rem;
font-weight: 500;
opacity: 0.7;
margin-top: 1px;
}
a.dl-platform-btn.download {
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
@ -928,11 +913,8 @@
<div class="dl-platform-name">Windows</div>
<div class="dl-platform-desc">Windows 10 / 11 (x64)</div>
</div>
<div class="dl-platform-actions">
<a href="./downloads/moxie-desktop.exe" download class="dl-platform-btn download">Download</a>
<button class="dl-platform-btn agent" onclick="openDownloadModal()">Download Agent</button>
<span class="dl-platform-note">Internet required</span>
</div>
<a href="./downloads/moxie-desktop.exe" download class="dl-platform-btn download">Download
<span class="dl-btn-sub">Built-in Agent</span></a>
</div>
<!-- Ubuntu -->
@ -944,11 +926,8 @@
<div class="dl-platform-name">Ubuntu</div>
<div class="dl-platform-desc">Ubuntu 20.04+ (x64)</div>
</div>
<div class="dl-platform-actions">
<a href="./downloads/linux/moxie-desktop" download class="dl-platform-btn download">Download</a>
<button class="dl-platform-btn agent" onclick="openDownloadModal()">Download Agent</button>
<span class="dl-platform-note">Internet required</span>
</div>
<a href="./downloads/linux/moxie-desktop" download class="dl-platform-btn download">Download
<span class="dl-btn-sub">Built-in Agent</span></a>
</div>
<!-- macOS -->
@ -960,11 +939,8 @@
<div class="dl-platform-name">macOS</div>
<div class="dl-platform-desc">macOS 12+ (Apple Silicon)</div>
</div>
<div class="dl-platform-actions">
<a href="./downloads/darwin/moxie-desktop" download class="dl-platform-btn download">Download</a>
<button class="dl-platform-btn agent" onclick="openDownloadModal()">Download Agent</button>
<span class="dl-platform-note">Internet required</span>
</div>
<a href="./downloads/darwin/moxie-desktop" download class="dl-platform-btn download">Download
<span class="dl-btn-sub">Built-in Agent</span></a>
</div>
<!-- iOS -->