mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
feat(website): display version to be downloaded
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user