feat(website): add link to older versions

This commit is contained in:
Elian Doran 2025-09-27 22:23:10 +03:00
parent 1f71ceb611
commit f991276152
No known key found for this signature in database
2 changed files with 15 additions and 1 deletions

View File

@ -83,6 +83,16 @@
.download-card:first-of-type { --accent-color: var(--brand-1); }
.download-card:nth-of-type(2) { --accent-color: var(--brand-2); }
.download-card:last-of-type { --accent-color: var(--brand-3); }
.download-footer {
text-align: center;
margin-top: 1em;
font-size: 0.9em;
a {
color: var(--muted-color);
}
}
}
.download-server .download-card {

View File

@ -15,7 +15,7 @@ export default function DownloadPage() {
return (
<>
<Section title={`Download the desktop application (v${packageJson.version})`} className="fill accented">
<Section title={`Download the desktop application (v${packageJson.version})`} className="fill accented download-desktop">
<div className="architecture-switch">
<span>Architecture:</span>
@ -33,6 +33,10 @@ export default function DownloadPage() {
<div className="grid-3-cols download-desktop">
{Object.entries(downloadMatrix.desktop).map(entry => <DownloadCard app="desktop" arch={currentArch} entry={entry} />)}
</div>
<div class="download-footer">
<Link href="https://github.com/TriliumNext/Trilium/releases/" openExternally>See older releases</Link>
</div>
</Section>
<Section title="Set up a server for access on multiple devices">