diff --git a/src/components/SiteFooter.astro b/src/components/SiteFooter.astro index f81d813..aea3292 100644 --- a/src/components/SiteFooter.astro +++ b/src/components/SiteFooter.astro @@ -8,6 +8,7 @@
Product Overview + Downloads Connect Connect beta waitlist Security diff --git a/src/components/SiteHeader.astro b/src/components/SiteHeader.astro index ee3a409..749e354 100644 --- a/src/components/SiteHeader.astro +++ b/src/components/SiteHeader.astro @@ -2,12 +2,13 @@ import BrandMark from "./BrandMark.astro"; interface Props { - current?: "home" | "connect" | "sdk" | "runtime" | "spec"; + current?: "home" | "downloads" | "connect" | "sdk" | "runtime" | "spec"; } const { current } = Astro.props; const links = [ { href: "/", label: "Overview", key: "home" }, + { href: "/downloads/", label: "Download", key: "downloads" }, { href: "/connect/", label: "Connect", key: "connect" }, { href: "/sdk/", label: "Developers", key: "sdk" }, { href: "/spec/", label: "Specification", key: "spec" } diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index b5795de..f345912 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -12,7 +12,7 @@ import ThemeControlScript from "../components/ThemeControlScript.astro"; interface Props { title: string; description: string; - current?: "home" | "connect" | "sdk" | "runtime" | "spec"; + current?: "home" | "downloads" | "connect" | "sdk" | "runtime" | "spec"; noIndex?: boolean; } diff --git a/src/pages/downloads/index.astro b/src/pages/downloads/index.astro new file mode 100644 index 0000000..3dcdf1d --- /dev/null +++ b/src/pages/downloads/index.astro @@ -0,0 +1,185 @@ +--- +import BaseLayout from "../../layouts/BaseLayout.astro"; + +const version = "0.1.0-beta.46"; +const tag = `v${version}`; +const releaseBase = `https://github.com/mdbase-dev/mdbase-connect/releases/download/${tag}`; +const releasePage = `https://github.com/mdbase-dev/mdbase-connect/releases/tag/${tag}`; + +const desktopDownloads = [ + { + platform: "macOS", + detail: "Apple Silicon", + note: "Beta preview · DMG · 131 MB", + file: `mdbase-connect-${version}-macos-arm64.dmg`, + label: "Download for Apple Silicon" + }, + { + platform: "macOS", + detail: "Intel", + note: "Beta preview · DMG · 135 MB", + file: `mdbase-connect-${version}-macos-x64.dmg`, + label: "Download for Intel" + }, + { + platform: "Windows", + detail: "64-bit", + note: "Unsigned beta preview · installer · 149 MB", + file: `mdbase-connect-${version}-windows-x64-UNSIGNED-Setup.exe`, + label: "Download for Windows" + }, + { + platform: "Linux", + detail: "64-bit Debian or Ubuntu", + note: "DEB package · 103 MB", + file: `mdbase-connect-${version}-linux-x64.deb`, + label: "Download DEB" + }, + { + platform: "Linux", + detail: "64-bit Fedora, RHEL, or compatible", + note: "RPM package · 108 MB", + file: `mdbase-connect-${version}-linux-x64.rpm`, + label: "Download RPM" + } +]; + +const cliDownloads = [ + { + platform: "macOS", + detail: "Apple Silicon", + note: "Beta preview · tar.gz · 12 MB", + file: `mdbase-cli-${version}-macos-arm64.tar.gz`, + label: "Download CLI for Apple Silicon" + }, + { + platform: "macOS", + detail: "Intel", + note: "Beta preview · tar.gz · 13 MB", + file: `mdbase-cli-${version}-macos-x64.tar.gz`, + label: "Download CLI for Intel" + }, + { + platform: "Windows", + detail: "64-bit", + note: "Unsigned beta preview · tar.gz · 12 MB", + file: `mdbase-cli-${version}-windows-x64-UNSIGNED.tar.gz`, + label: "Download CLI for Windows" + }, + { + platform: "Linux", + detail: "64-bit", + note: "tar.gz · 14 MB", + file: `mdbase-cli-${version}-linux-x64.tar.gz`, + label: "Download CLI for Linux" + } +]; +--- + + +
+
+
+

Download mdbase Connect

+
+
+

+ The desktop app includes the local connector, background service, + and command line tools. The mdbase editor is available online. These + builds are public beta releases; hosted collections still require a + beta account. +

+
+ Version {version} + Published +
+
+
+
+ +
+

Desktop app

+

+ Choose the package for your computer. The app can open local mdbase + collections immediately; Connect service features require a beta account. +

+ +
+ macOS builds are not notarized; Windows builds are unsigned previews. +

+ Windows may show an Unknown Publisher or SmartScreen warning. macOS + requires a manual Privacy & Security override and the app has not + been notarized. The release includes checksums and Sigstore provenance. +

+
+ +
+ { + desktopDownloads.map((download) => ( + + )) + } +
+

+ Portable Windows and macOS ZIP builds are available on the + release page. +

+
+ +
+

Command line

+

+ The standalone archive contains the unified mdbase CLI and + Connect background service. It does not include the desktop interface. +

+
+ { + cliDownloads.map((download) => ( + + )) + } +
+

+ Follow the headless installation guide + to verify, install, and run the service. +

+
+ +
+

Release details

+

+ The GitHub release contains SHA-256 checksums, Sigstore bundles, portable + packages, release notes, and the complete artifact list. +

+ +
+
diff --git a/src/styles/global.css b/src/styles/global.css index ec7647d..3c3e620 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -504,6 +504,78 @@ main[tabindex="-1"]:focus { font-weight: 700; } +.download-summary { + display: flex; + margin-top: 1rem; + flex-wrap: wrap; + gap: 0.45rem 1.25rem; + color: var(--ink-muted); + font: 500 0.64rem/1.5 var(--mono); +} + +.download-summary strong { + color: var(--ink); + font-weight: 500; +} + +.download-list { + margin-top: 2rem; + border-top: 1px solid var(--line-strong); +} + +.download-option { + display: grid; + max-width: none; + padding: 1.2rem 0; + align-items: start; + grid-template-columns: minmax(9rem, 0.28fr) minmax(0, 1fr) auto; + gap: 1rem; + border-bottom: 1px solid var(--line); +} + +.download-option h3 { + font-size: 0.95rem; +} + +.download-option__detail p { + color: var(--ink-soft); + font-size: 0.84rem; +} + +.download-option__detail code { + display: block; + margin-top: 0.3rem; + color: var(--ink-muted); + font-size: 0.68rem; +} + +.download-option__actions { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + gap: 0.5rem; +} + +.download-note { + margin-top: 1.25rem; + color: var(--ink-muted); + font-size: 0.78rem; +} + +.download-release-actions { + margin-top: 1.25rem; +} + +@media (max-width: 48rem) { + .download-option { + grid-template-columns: 1fr; + } + + .download-option__actions { + justify-content: flex-start; + } +} + .docs-shell { display: grid; width: min(100% - 2rem, 96rem);