+function Platform({icon,name,detail,store,mac,primary,others,requirements,tip}:{icon:React.ReactNode;name:string;detail:string;store?:string;mac?:{intel:Link};primary:Link;others:Link[];requirements:string[];tip?:React.ReactNode}){
+ return
{icon}{name}
{detail}
- {store?Get it fromMicrosoft Store
+ {mac?:store?Get it fromMicrosoft Store
:{primary.href?primary.label+mb(primary.size):'See all downloads'}}
{store&&{primary.href?primary.label+mb(primary.size):'Direct download'}}
{requirements.map(item=>{item})}
+ {tip&&{tip}
}
;
}
@@ -39,7 +46,8 @@ export default async function DownloadPage(){
{release?`VERSION ${release.version}`:'PUBLIC PREVIEW'}Meet your new workspace.
Veyra runs natively on Windows, macOS and Linux, and keeps itself up to date automatically.
{downloads>=SHOW_INSTALLS_FROM&&
{compact(downloads)} downloads of Veyra Studio
}
} name="Windows" detail="Windows 10 and 11 · 64-bit" store={MS_STORE_URL} primary={{label:'Download installer (.exe)',...asset(files.windows)}} others={[{label:'MSI package',...asset(files.windowsMsi)}]} requirements={['Windows 10 or newer','WebView2 (installed automatically)']}/>
-
} name="macOS" detail="Apple silicon and Intel" primary={{label:'Apple silicon (.dmg)',...asset(files.macArm)}} others={[{label:'Intel Mac (.dmg)',...asset(files.macIntel)}]} requirements={['macOS 11 or newer']}/>
+
} name="macOS" detail="Apple silicon and Intel Macs" mac={{intel:{label:'Intel Mac (.dmg)',...asset(files.macIntel)}}} primary={{label:'Apple silicon (.dmg)',...asset(files.macArm)}} others={[]} requirements={['Notarized by Apple: opens without warnings','macOS 11 or newer']}
+ tip={<>Not sure which Mac you have? Open the Apple menu → About This Mac: Chip: Apple M… means Apple silicon, Processor: Intel means Intel.>}/>
} name="Linux" detail="64-bit distributions" primary={{label:'AppImage',...asset(files.appImage)}} others={[{label:'Debian / Ubuntu (.deb)',...asset(files.deb)},{label:'Fedora (.rpm)',...asset(files.rpm)}]} requirements={['WebKitGTK 4.1','glibc 2.35 or newer']}/>
diff --git a/website/app/pages.css b/website/app/pages.css
index 958a4a5..014bb89 100644
--- a/website/app/pages.css
+++ b/website/app/pages.css
@@ -32,5 +32,19 @@
.store-button small{font-size:10.5px;font-weight:400;opacity:.8}
.platform-card .alt-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-top:10px;font-size:13px;color:#c5d0db;text-decoration:underline;text-underline-offset:3px}
+/* Download for Mac: black Apple-logo buttons, like the Microsoft Store one */
+.mac-logo{display:inline-grid;place-items:center;color:var(--mint,#68f4d1)}
+.mac-buttons{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%;margin-top:auto}
+.platform-card .mac-button{display:flex;align-items:center;gap:14px;width:100%;max-width:300px;padding:12px 18px;border-radius:14px;background:#0b0b0b;color:#fff;border:1px solid #ffffff3a;box-shadow:0 10px 30px #0006;text-decoration:none;transition:background .15s,border-color .15s,transform .15s}
+.platform-card .mac-button:hover{background:#171717;border-color:#ffffff73;transform:translateY(-1px)}
+.platform-card .mac-button.primary{margin-top:0;background:linear-gradient(180deg,#1c1c1e,#050505);border-color:#ffffff59}
+.mac-button span{display:grid;text-align:left;line-height:1.15;font-size:17px;font-weight:700;letter-spacing:-.2px}
+.mac-button small{font-size:11px;font-weight:500;opacity:.75;letter-spacing:0}
+.mac-button em{font-style:normal;font-size:11.5px;font-weight:500;opacity:.6;margin-top:2px}
+.platform-card .mac-button.intel{padding:9px 16px;background:transparent;box-shadow:none}
+.mac-button.intel span{font-size:14px}
+.platform-tip{margin:12px 0 0;text-align:left;font-size:12px;line-height:1.55;color:var(--muted,#8997a5)}
+.platform-tip b{color:#d5dee6;font-weight:600}
+
/* Veyra Studio's real download count on the Download page. */
.page-head .download-count{display:inline-flex;align-items:center;gap:6px;margin-top:14px;padding:4px 12px;border-radius:999px;color:var(--mint,#68f4d1);background:#68f4d114;border:1px solid #68f4d133;font:700 12px var(--font-mono,monospace);letter-spacing:.3px}