Skip to content

Build your personal knowledge base with Trilium Notes

chore(website): rebrand download to get started

Elian Doran0b1d001c2046
diff --git a/apps/website/src/index.tsx b/apps/website/src/index.tsx
index d7cfa5bf63..72527f4dab 100644
--- a/apps/website/src/index.tsx
+++ b/apps/website/src/index.tsx
@@ -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>
diff --git a/apps/website/src/pages/Download/download.css b/apps/website/src/pages/GetStarted/get-started.css
similarity index 100%
rename from apps/website/src/pages/Download/download.css
rename to apps/website/src/pages/GetStarted/get-started.css
diff --git a/apps/website/src/pages/Download/download.tsx b/apps/website/src/pages/GetStarted/get-started.tsx
similarity index 99%
rename from apps/website/src/pages/Download/download.tsx
rename to apps/website/src/pages/GetStarted/get-started.tsx
index 484c096e05..d1dfe5a4db 100644
--- a/apps/website/src/pages/Download/download.tsx
+++ b/apps/website/src/pages/GetStarted/get-started.tsx
@@ -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());
diff --git a/apps/website/src/pages/Home/index.tsx b/apps/website/src/pages/Home/index.tsx
index afde95c36a..7ccff2b227 100644
--- a/apps/website/src/pages/Home/index.tsx
+++ b/apps/website/src/pages/Home/index.tsx
@@ -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 />