chore(website): rebrand download to get started

This commit is contained in:
Elian Doran 2025-09-27 17:01:54 +03:00
parent cb63e88cdc
commit 0b1d001c20
No known key found for this signature in database
4 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ import { Home } from './pages/Home/index.jsx';
import { NotFound } from './pages/_404.jsx';
import './style.css';
import Footer from './components/Footer.js';
import Download from './pages/Download/download.js';
import GetStarted from './pages/GetStarted/get-started.js';
import Donate from './pages/Donate/Donate.js';
export function App() {
@ -16,7 +16,7 @@ export function App() {
<Router>
<Route path="/" component={Home} />
<Route default component={NotFound} />
<Route path="/download" component={Download} />
<Route path="/get-started" component={GetStarted} />
<Route path="/donate" component={Donate} />
</Router>
</main>

View File

@ -2,11 +2,11 @@ import { useState } from "preact/hooks";
import Card from "../../components/Card";
import Section from "../../components/Section";
import { App, Architecture, buildDownloadUrl, downloadMatrix, DownloadMatrixEntry, getArchitecture, Platform } from "../../download-helper";
import "./download.css";
import { usePageTitle } from "../../hooks";
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";
export default function DownloadPage() {
const [ currentArch, setCurrentArch ] = useState(getArchitecture());

View File

@ -48,8 +48,8 @@ function HeroSection() {
<div className="download-wrapper">
<DownloadButton big />
<a class="more-download-options desktop-only" href="./download">See all download options</a>
<Button href="./download" className="mobile-only" text="See download options" />
<a class="more-download-options desktop-only" href="./get-started/">See all download options</a>
<Button href="./get-started/" className="mobile-only" text="See download options" />
<div className="additional-options">
<Button iconSvg={gitHubIcon} outline text="GitHub" href="https://github.com/TriliumNext/Trilium/" openExternally />
<Button iconSvg={dockerIcon} outline text="Docker Hub" href="https://hub.docker.com/r/triliumnext/trilium" openExternally />