Skip to content

Build your personal knowledge base with Trilium Notes

feat(website): more options link in the hero section

Elian Doran7c30bc9c72ae
diff --git a/apps/website2/src/pages/Home/index.css b/apps/website2/src/pages/Home/index.css
index d40b4416a3..7b417fd0a1 100644
--- a/apps/website2/src/pages/Home/index.css
+++ b/apps/website2/src/pages/Home/index.css
@@ -63,11 +63,13 @@ section.hero-section > .content-wrapper {
section.hero-section .title-section {
flex-basis: 40%;
+ color: var(--muted-color);
}
section.hero-section .title-section h1 {
line-height: 1.1;
font-weight: 100;
+ color: var(--foreground-color);
}
section.hero-section .image,
@@ -77,6 +79,22 @@ section.hero-section .image img {
position: relative;
}
+section.hero-section .download-wrapper {
+ display: inline-flex;
+ flex-direction: column;
+}
+
+section.hero-section .download-button {
+ margin-bottom: 0.25em;
+}
+
+section.hero-section .more-download-options {
+ display: inline-block;
+ color: var(--brand-1);
+ font-size: 0.8em;
+ text-align: center;
+}
+
section:nth-of-type(2n+1) {
background: linear-gradient(135deg, rgba(228, 123, 25, 0.08), rgba(79, 165, 43, 0.08));
}
diff --git a/apps/website2/src/pages/Home/index.tsx b/apps/website2/src/pages/Home/index.tsx
index 9dca7dd9eb..fe2a03814a 100644
--- a/apps/website2/src/pages/Home/index.tsx
+++ b/apps/website2/src/pages/Home/index.tsx
@@ -22,7 +22,11 @@ function HeroSection() {
<div class="title-section">
<h1>Organize your thoughts. Build your personal knowledge base.</h1>
<p>Trilium is an open-source solution for note-taking and organizing a personal knowledge base. Use it locally on your desktop, or sync it with your self-hosted server to keep your notes everywhere you go.</p>
- <DownloadButton big />
+
+ <div className="download-wrapper">
+ <DownloadButton big />
+ <a class="more-download-options" href="./download">more options</a>
+ </div>
</div>
<figure class="image"><img src="./src/assets/screenshot_desktop_win.png" /></figure>