feat(website): display version to be downloaded

This commit is contained in:
Elian Doran
2025-09-27 22:16:07 +03:00
parent b8419604e5
commit 92e14159b9
3 changed files with 27 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ import Button, { Link } from "../../components/Button";
import Icon from "../../components/Icon";
import helpIcon from "../../assets/boxicons/bx-help-circle.svg?raw";
import "./get-started.css";
import packageJson from "../../../../../package.json" with { type: "json" };
export default function DownloadPage() {
const [ currentArch, setCurrentArch ] = useState(getArchitecture());
@@ -14,7 +15,7 @@ export default function DownloadPage() {
return (
<>
<Section title="Download the desktop application" className="fill accented">
<Section title={`Download the desktop application (v${packageJson.version})`} className="fill accented">
<div className="architecture-switch">
<span>Architecture:</span>