From 24043611c367f0a41f61361171229816ed523122 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 27 Sep 2025 19:20:03 +0300 Subject: [PATCH] feat(website): split REST API into separate entry --- apps/website/src/assets/boxicons/bx-code.svg | 1 + apps/website/src/pages/Home/index.tsx | 20 +++++++++++--------- apps/website/src/style.css | 6 ++++++ 3 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 apps/website/src/assets/boxicons/bx-code.svg diff --git a/apps/website/src/assets/boxicons/bx-code.svg b/apps/website/src/assets/boxicons/bx-code.svg new file mode 100644 index 000000000..56dfdf85b --- /dev/null +++ b/apps/website/src/assets/boxicons/bx-code.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/website/src/pages/Home/index.tsx b/apps/website/src/pages/Home/index.tsx index 9c558d309..fce8f61b4 100644 --- a/apps/website/src/pages/Home/index.tsx +++ b/apps/website/src/pages/Home/index.tsx @@ -18,7 +18,8 @@ import searchIcon from "../../assets/boxicons/bx-search.svg?raw"; import webClipperIcon from "../../assets/boxicons/bx-paperclip.svg?raw"; import importExportIcon from "../../assets/boxicons/bx-swap-horizontal.svg?raw"; import shareIcon from "../../assets/boxicons/bx-globe.svg?raw"; -import scriptingAndApiIcon from "../../assets/boxicons/bx-extension.svg?raw"; +import scriptingIcon from "../../assets/boxicons/bx-code.svg?raw"; +import restApiIcon from "../../assets/boxicons/bx-extension.svg?raw"; import { getPlatform } from '../../download-helper'; import { useState } from 'preact/hooks'; @@ -83,27 +84,28 @@ function BenefitsSection() {
Notes can be arranged hierarchically. There's no need for folders, since each note can contain sub-notes. A single note can be added in multiple places in the hierarchy. - Define relations between notes or add labels for easy categorization. Using promoted attributes, there's an easy way to enter structured information about the notes which can later be displayed in other formats such as a table. + Use relations between notes or add labels for easy categorization. Use promoted attributes to enter structured information which can be used in tables, boards. Easily separate your personal and work notes by grouping them under a workspace, which focuses your note tree to only show a specific set of notes.
- Notes are periodically saved in the background and revisions can be used to check the old content of a note or delete accidental changes. Revisions can also be created on-demand. - Use a self-hosted or cloud instance to easily synchronize your notes across multiple devices, and to access it from your mobile phone using a PWA (progressive web application). + Notes are periodically saved in the background and revisions can be used for review or to undo accidental changes. Revisions can also be created on-demand. + Use a self-hosted or cloud instance to easily synchronize your notes across multiple devices, and to access it from your mobile phone using a PWA. Protect sensitive personal information by encrypting the notes and locking them behind a password-protected session. - Jump quickly to notes across the hierarchy by searching for their title, with fuzzy matching to account for typos or slight differences. Or search through all the various commands of the application. + Jump quickly to notes or UI commands across the hierarchy by searching for their title, with fuzzy matching to account for typos or slight differences. Or search for text inside notes and narrow down the search by filtering by the parent note, or by depth. Grab web pages (or screenshots) and place them directly into Trilium using the web clipper browser extension.
-
- Easily import Markdown and ENEX formats from other note-taking applications, or export to Markdown or HTML. - If you have a server instance, you can easily use it to share a subset of your notes with other people. - Create your own integrations within Trilium by writing custom widgets, or custom-server side logic. Interact externally with the Trilium database by using the built-in REST API. +
+ Easily interact with other applications using Markdown, ENEX, OML formats. + If you have a server, it can be used to share a subset of your notes with other people. + Build your own integrations within Trilium with custom widgets, or server-side logic. + Interact with Trilium programatically using its builtin REST API.
diff --git a/apps/website/src/style.css b/apps/website/src/style.css index 09969b95a..847756d71 100644 --- a/apps/website/src/style.css +++ b/apps/website/src/style.css @@ -149,6 +149,12 @@ img { margin-bottom: 2em; } + .grid-4-cols { + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr; + gap: 1em; + } + .grid-3-cols { display: grid; grid-template-columns: 1fr 1fr 1fr;