Moxie-Lite: Windows available now, Ubuntu/macOS marked Coming Soon
This commit is contained in:
parent
a91a0194dd
commit
436f8e8dc1
27
index.html
27
index.html
@ -59,8 +59,8 @@
|
||||
"name": "Moxie-Lite",
|
||||
"url": "https://moxiegen.com",
|
||||
"applicationCategory": "AIApplication",
|
||||
"operatingSystem": ["Windows 10+", "Ubuntu 20.04+", "macOS 12+ (Apple Silicon)"],
|
||||
"description": "The same Moxie Desktop app without the multimedia section. Requires 16 GB RAM; no GPU needed.",
|
||||
"operatingSystem": ["Windows 10+"],
|
||||
"description": "The same Moxie Desktop app without the multimedia section. Requires 16 GB RAM; no GPU needed. Windows version available now, Ubuntu and macOS coming soon.",
|
||||
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD", "availability": "https://schema.org/InStock" },
|
||||
"isAccessibleForFree": true,
|
||||
"softwareVersion": "Public Beta"
|
||||
@ -1498,7 +1498,8 @@
|
||||
<div class="dl-platform-name">Windows</div>
|
||||
<div class="dl-platform-desc">Windows 10 / 11 (x64)</div>
|
||||
</div>
|
||||
<a href="./downloads/windows/moxie-desktop.exe" data-desktop="./downloads/windows/moxie-desktop.exe"
|
||||
<a href="./downloads/windows/moxie-desktop.exe" data-editions="desktop,lite"
|
||||
data-desktop="./downloads/windows/moxie-desktop.exe"
|
||||
data-lite="./downloads/windows/moxie-lite.exe" download
|
||||
class="dl-platform-btn download">Download<span class="dl-btn-sub">With multimedia</span></a>
|
||||
</div>
|
||||
@ -1514,9 +1515,12 @@
|
||||
<div class="dl-platform-name">Ubuntu</div>
|
||||
<div class="dl-platform-desc">Ubuntu 20.04+ (x64)</div>
|
||||
</div>
|
||||
<a href="./downloads/linux/moxie-desktop" data-desktop="./downloads/linux/moxie-desktop"
|
||||
<a href="./downloads/linux/moxie-desktop" data-editions="desktop"
|
||||
data-desktop="./downloads/linux/moxie-desktop"
|
||||
data-lite="./downloads/linux/moxie-lite" download
|
||||
class="dl-platform-btn download">Download<span class="dl-btn-sub">With multimedia</span></a>
|
||||
<button type="button" class="dl-platform-btn coming-soon dl-coming-soon-alt"
|
||||
style="display:none;">Coming Soon</button>
|
||||
</div>
|
||||
<div class="dl-platform-row">
|
||||
<div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor">
|
||||
@ -1527,9 +1531,12 @@
|
||||
<div class="dl-platform-name">macOS</div>
|
||||
<div class="dl-platform-desc">macOS 12+ (Apple Silicon)</div>
|
||||
</div>
|
||||
<a href="./downloads/darwin/moxie-desktop" data-desktop="./downloads/darwin/moxie-desktop"
|
||||
<a href="./downloads/darwin/moxie-desktop" data-editions="desktop"
|
||||
data-desktop="./downloads/darwin/moxie-desktop"
|
||||
data-lite="./downloads/darwin/moxie-lite" download
|
||||
class="dl-platform-btn download">Download<span class="dl-btn-sub">With multimedia</span></a>
|
||||
<button type="button" class="dl-platform-btn coming-soon dl-coming-soon-alt"
|
||||
style="display:none;">Coming Soon</button>
|
||||
</div>
|
||||
<div class="dl-platform-row">
|
||||
<div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor">
|
||||
@ -2427,10 +2434,20 @@
|
||||
btn.setAttribute('aria-selected', active ? 'true' : 'false');
|
||||
});
|
||||
document.querySelectorAll('#downloadModal .dl-platform-btn.download').forEach(btn => {
|
||||
// platforms not shipped for this edition hide their download
|
||||
// button and reveal their "Coming Soon" placeholder instead
|
||||
const editions = (btn.dataset.editions || 'desktop,lite').split(',');
|
||||
const supported = editions.includes(edition);
|
||||
btn.style.display = supported ? '' : 'none';
|
||||
if (supported) {
|
||||
const target = btn.dataset[edition];
|
||||
if (target) btn.href = target;
|
||||
const sub = btn.querySelector('.dl-btn-sub');
|
||||
if (sub) sub.textContent = conf.btnSub;
|
||||
}
|
||||
const row = btn.closest('.dl-platform-row');
|
||||
const alt = row ? row.querySelector('.dl-coming-soon-alt') : null;
|
||||
if (alt) alt.style.display = supported ? 'none' : '';
|
||||
});
|
||||
document.getElementById('edReqText').textContent = conf.reqText;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user