Add Moxie-Lite edition: download modal toggle + system requirements pop-up

This commit is contained in:
Z User 2026-10-23 20:13:49 +00:00
parent f77fd745cf
commit a91a0194dd

View File

@ -49,7 +49,18 @@
"url": "https://moxiegen.com", "url": "https://moxiegen.com",
"applicationCategory": "AIApplication", "applicationCategory": "AIApplication",
"operatingSystem": ["Windows 10+", "Ubuntu 20.04+", "macOS 12+ (Apple Silicon)"], "operatingSystem": ["Windows 10+", "Ubuntu 20.04+", "macOS 12+ (Apple Silicon)"],
"description": "A hybrid AI agent using on-device inference for lightweight tasks and Moxie-Server for heavy tasks.", "description": "A hybrid AI agent using on-device inference for lightweight tasks and Moxie-Server for heavy tasks. Full edition with multimedia: requires 32 GB RAM and an NVIDIA RTX 3060 or newer GPU (8 GB VRAM for 720p output, 12 GB recommended for 1080p).",
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD", "availability": "https://schema.org/InStock" },
"isAccessibleForFree": true,
"softwareVersion": "Public Beta"
},
{
"@type": "SoftwareApplication",
"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.",
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD", "availability": "https://schema.org/InStock" }, "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD", "availability": "https://schema.org/InStock" },
"isAccessibleForFree": true, "isAccessibleForFree": true,
"softwareVersion": "Public Beta" "softwareVersion": "Public Beta"
@ -593,6 +604,186 @@
text-decoration: none; text-decoration: none;
} }
/* EDITION TOGGLE (Moxie Desktop / Moxie-Lite) */
.dl-editions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.625rem;
margin-bottom: 0.875rem;
}
.dl-edition-btn {
text-align: left;
padding: 0.9rem 1.1rem;
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(148, 163, 184, 0.15);
border-radius: 1.25rem;
cursor: pointer;
transition: all 200ms ease;
font-family: inherit;
}
.dl-edition-btn:hover {
border-color: rgba(52, 211, 153, 0.35);
}
.dl-edition-btn.active {
border-color: rgba(52, 211, 153, 0.6);
background: rgba(52, 211, 153, 0.08);
box-shadow: 0 0 18px rgba(52, 211, 153, 0.12);
}
.dl-edition-name {
display: block;
font-size: 0.95rem;
font-weight: 600;
color: #f8fafc;
}
.dl-edition-btn.active .dl-edition-name {
color: #6ee7b7;
}
.dl-edition-desc {
display: block;
font-size: 0.72rem;
color: #64748b;
margin-top: 3px;
}
.dl-req-strip {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.35rem 0.6rem;
font-size: 0.75rem;
color: #94a3b8;
margin: 0 0 1rem;
padding: 0.55rem 0.9rem;
background: rgba(148, 163, 184, 0.06);
border: 1px solid rgba(148, 163, 184, 0.1);
border-radius: 0.9rem;
}
.dl-req-link {
color: #34d399;
font-weight: 600;
text-decoration: none;
border-bottom: 1px dotted rgba(52, 211, 153, 0.5);
cursor: pointer;
white-space: nowrap;
}
.dl-req-link:hover {
color: #6ee7b7;
}
/* REQUIREMENTS MODAL */
.req-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.875rem;
}
.req-card {
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(148, 163, 184, 0.12);
border-radius: 1.25rem;
padding: 1.25rem 1.35rem;
}
.req-card.featured {
border-color: rgba(52, 211, 153, 0.4);
}
.req-card-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
margin-bottom: 0.9rem;
}
.req-card-title {
font-family: 'Space Grotesk', sans-serif;
font-size: 1.1rem;
font-weight: 600;
color: #f8fafc;
}
.req-chip {
font-size: 0.6rem;
font-weight: 600;
letter-spacing: 0.05em;
padding: 0.2em 0.7em;
border-radius: 9999px;
white-space: nowrap;
}
.req-chip.full {
border: 1px solid rgba(52, 211, 153, 0.3);
background: rgba(52, 211, 153, 0.1);
color: #6ee7b7;
}
.req-chip.lite {
border: 1px solid rgba(148, 163, 184, 0.3);
background: rgba(148, 163, 184, 0.1);
color: #cbd5e1;
}
.req-row {
display: flex;
gap: 0.6rem;
padding: 0.55rem 0;
border-top: 1px solid rgba(148, 163, 184, 0.1);
font-size: 0.82rem;
line-height: 1.5;
}
.req-row:first-of-type {
border-top: none;
}
.req-label {
color: #64748b;
width: 86px;
flex-shrink: 0;
font-weight: 600;
}
.req-value {
color: #e2e8f0;
flex: 1;
}
.req-value em {
color: #94a3b8;
font-style: normal;
font-size: 0.78rem;
}
.req-note {
margin-top: 1rem;
font-size: 0.8rem;
color: #94a3b8;
line-height: 1.6;
background: rgba(52, 211, 153, 0.05);
border: 1px solid rgba(52, 211, 153, 0.15);
border-radius: 0.9rem;
padding: 0.8rem 1rem;
}
@media (max-width: 640px) {
.req-grid {
grid-template-columns: 1fr;
}
.req-label {
width: 88px;
}
}
.dl-eula-divider { .dl-eula-divider {
border: none; border: none;
border-top: 1px solid rgba(148, 163, 184, 0.15); border-top: 1px solid rgba(148, 163, 184, 0.15);
@ -1189,6 +1380,81 @@
</div> </div>
</div> </div>
<!-- SYSTEM REQUIREMENTS MODAL -->
<div id="requirementsModal" class="dl-modal-overlay" style="z-index:110;" onclick="if(event.target===this)closeRequirementsModal()">
<div class="dl-modal-card" style="max-width: 640px;">
<div class="dl-modal-header">
<div>
<h2
style="font-family:'Space Grotesk',sans-serif; font-size:1.65rem; font-weight:600; color:#f8fafc; margin:0; line-height:1.3;">
System requirements</h2>
<p style="color:#6ee7b7; font-size:0.9rem; margin-top:0.4rem;">Two editions, one app — pick what
fits your machine.</p>
</div>
<button class="dl-modal-close" onclick="closeRequirementsModal()" aria-label="Close">&times;</button>
</div>
<div class="dl-modal-body">
<div class="req-grid">
<div class="req-card featured">
<div class="req-card-head">
<span class="req-card-title">Moxie Desktop</span>
<span class="req-chip full">FULL EDITION</span>
</div>
<div class="req-row">
<span class="req-label">Memory</span>
<span class="req-value">32 GB RAM</span>
</div>
<div class="req-row">
<span class="req-label">Graphics</span>
<span class="req-value">NVIDIA RTX 3060 or newer <em>— required for the multimedia
section</em>
</span>
</div>
<div class="req-row">
<span class="req-label">Multimedia</span>
<span class="req-value">Included&ensp;&bull;&ensp;8 GB VRAM: output up to 720p&ensp;&bull;&ensp;12
GB VRAM recommended for 1080p</span>
</div>
<div class="req-row">
<span class="req-label">Best for</span>
<span class="req-value">Full experience with image &amp; video generation on GPU-equipped
machines</span>
</div>
</div>
<div class="req-card">
<div class="req-card-head">
<span class="req-card-title">Moxie-Lite</span>
<span class="req-chip lite">LIGHTWEIGHT</span>
</div>
<div class="req-row">
<span class="req-label">Memory</span>
<span class="req-value">16 GB RAM</span>
</div>
<div class="req-row">
<span class="req-label">Graphics</span>
<span class="req-value">No GPU required</span>
</div>
<div class="req-row">
<span class="req-label">Multimedia</span>
<span class="req-value">Not included <em>— the multimedia section is simply absent</em></span>
</div>
<div class="req-row">
<span class="req-label">Best for</span>
<span class="req-value">The same Moxie Desktop app on machines without a big GPU —
everything else works identically</span>
</div>
</div>
</div>
<div class="req-note">
Both editions include the built-in Moxie agent and run entirely on your machine — your data never
leaves it. Not sure which to pick? If your machine doesn't have an NVIDIA RTX 3060 or newer, choose
<strong style="color:#6ee7b7;">Moxie-Lite</strong>. Windows 10/11, Ubuntu 20.04+ and macOS 12+
(Apple Silicon) are supported on both.
</div>
</div>
</div>
</div>
<!-- DOWNLOAD MODAL --> <!-- DOWNLOAD MODAL -->
<div id="downloadModal" class="dl-modal-overlay" onclick="if(event.target===this)closeDownloadModal()"> <div id="downloadModal" class="dl-modal-overlay" onclick="if(event.target===this)closeDownloadModal()">
<div class="dl-modal-card"> <div class="dl-modal-card">
@ -1205,6 +1471,23 @@
<button class="dl-modal-close" onclick="closeDownloadModal()" aria-label="Close">&times;</button> <button class="dl-modal-close" onclick="closeDownloadModal()" aria-label="Close">&times;</button>
</div> </div>
<div class="dl-modal-body"> <div class="dl-modal-body">
<div class="dl-editions" role="tablist" aria-label="Choose edition">
<button type="button" id="edBtnDesktop" class="dl-edition-btn active" role="tab"
aria-selected="true" onclick="switchEdition('desktop')">
<span class="dl-edition-name">Moxie Desktop</span>
<span class="dl-edition-desc">Full experience &middot; multimedia &middot; 32 GB RAM</span>
</button>
<button type="button" id="edBtnLite" class="dl-edition-btn" role="tab"
aria-selected="false" onclick="switchEdition('lite')">
<span class="dl-edition-name">Moxie-Lite</span>
<span class="dl-edition-desc">Same app &middot; no multimedia &middot; 16 GB RAM</span>
</button>
</div>
<div class="dl-req-strip">
<span id="edReqText">Requires 32 GB RAM &middot; NVIDIA RTX 3060 or newer for the multimedia
section</span>
<a class="dl-req-link" onclick="openRequirementsModal()">View system requirements</a>
</div>
<div class="dl-platforms"> <div class="dl-platforms">
<div class="dl-platform-row"> <div class="dl-platform-row">
<div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor"> <div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor">
@ -1215,8 +1498,9 @@
<div class="dl-platform-name">Windows</div> <div class="dl-platform-name">Windows</div>
<div class="dl-platform-desc">Windows 10 / 11 (x64)</div> <div class="dl-platform-desc">Windows 10 / 11 (x64)</div>
</div> </div>
<a href="./downloads/windows/moxie-desktop.exe" download <a href="./downloads/windows/moxie-desktop.exe" data-desktop="./downloads/windows/moxie-desktop.exe"
class="dl-platform-btn download">Download<span class="dl-btn-sub">Built-in Agent</span></a> data-lite="./downloads/windows/moxie-lite.exe" download
class="dl-platform-btn download">Download<span class="dl-btn-sub">With multimedia</span></a>
</div> </div>
<div class="dl-platform-row"> <div class="dl-platform-row">
<div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor"> <div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor">
@ -1230,8 +1514,9 @@
<div class="dl-platform-name">Ubuntu</div> <div class="dl-platform-name">Ubuntu</div>
<div class="dl-platform-desc">Ubuntu 20.04+ (x64)</div> <div class="dl-platform-desc">Ubuntu 20.04+ (x64)</div>
</div> </div>
<a href="./downloads/linux/moxie-desktop" download <a href="./downloads/linux/moxie-desktop" data-desktop="./downloads/linux/moxie-desktop"
class="dl-platform-btn download">Download<span class="dl-btn-sub">Built-in Agent</span></a> data-lite="./downloads/linux/moxie-lite" download
class="dl-platform-btn download">Download<span class="dl-btn-sub">With multimedia</span></a>
</div> </div>
<div class="dl-platform-row"> <div class="dl-platform-row">
<div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor"> <div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor">
@ -1242,8 +1527,9 @@
<div class="dl-platform-name">macOS</div> <div class="dl-platform-name">macOS</div>
<div class="dl-platform-desc">macOS 12+ (Apple Silicon)</div> <div class="dl-platform-desc">macOS 12+ (Apple Silicon)</div>
</div> </div>
<a href="./downloads/darwin/moxie-desktop" download <a href="./downloads/darwin/moxie-desktop" data-desktop="./downloads/darwin/moxie-desktop"
class="dl-platform-btn download">Download<span class="dl-btn-sub">Built-in Agent</span></a> data-lite="./downloads/darwin/moxie-lite" download
class="dl-platform-btn download">Download<span class="dl-btn-sub">With multimedia</span></a>
</div> </div>
<div class="dl-platform-row"> <div class="dl-platform-row">
<div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor"> <div class="dl-platform-icon"><svg viewBox="0 0 24 24" fill="currentColor">
@ -2120,6 +2406,47 @@
document.body.style.overflow = ''; document.body.style.overflow = '';
} }
// Edition switcher: swaps download links + requirement hint between
// Moxie Desktop (full, multimedia) and Moxie-Lite (no multimedia).
const EDITIONS = {
desktop: {
reqText: 'Requires 32 GB RAM \u00b7 NVIDIA RTX 3060 or newer for the multimedia section',
btnSub: 'With multimedia'
},
lite: {
reqText: 'Requires 16 GB RAM \u00b7 no GPU needed \u00b7 multimedia not included',
btnSub: 'No multimedia'
}
};
function switchEdition(edition) {
const conf = EDITIONS[edition];
if (!conf) return;
document.querySelectorAll('#downloadModal .dl-edition-btn').forEach(btn => {
const active = btn.id === (edition === 'desktop' ? 'edBtnDesktop' : 'edBtnLite');
btn.classList.toggle('active', active);
btn.setAttribute('aria-selected', active ? 'true' : 'false');
});
document.querySelectorAll('#downloadModal .dl-platform-btn.download').forEach(btn => {
const target = btn.dataset[edition];
if (target) btn.href = target;
const sub = btn.querySelector('.dl-btn-sub');
if (sub) sub.textContent = conf.btnSub;
});
document.getElementById('edReqText').textContent = conf.reqText;
}
function openRequirementsModal() {
document.getElementById('requirementsModal').classList.add('active');
document.body.style.overflow = 'hidden';
}
function closeRequirementsModal() {
document.getElementById('requirementsModal').classList.remove('active');
// keep the page locked if the download modal underneath is still open
if (!document.getElementById('downloadModal').classList.contains('active')) {
document.body.style.overflow = '';
}
}
function openWhitepaper() { function openWhitepaper() {
const modal = document.getElementById('whitepaperModal'); const modal = document.getElementById('whitepaperModal');
modal.classList.add('active'); modal.classList.add('active');
@ -2141,8 +2468,12 @@
document.body.style.overflow = ''; document.body.style.overflow = '';
} }
// Escape closes only the topmost modal (requirements sits above download)
document.addEventListener('keydown', (e) => { document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') { closeWhitepaper(); closeDownloadModal(); } if (e.key !== 'Escape') return;
if (document.getElementById('requirementsModal').classList.contains('active')) { closeRequirementsModal(); return; }
if (document.getElementById('downloadModal').classList.contains('active')) { closeDownloadModal(); return; }
if (document.getElementById('whitepaperModal').classList.contains('active')) { closeWhitepaper(); }
}); });
async function initAuth() { async function initAuth() {