Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(website/resources): add intro blurb for icon packs
Elian Doran1797e3398949
diff --git a/apps/website/src/pages/Resources/Resources.tsx b/apps/website/src/pages/Resources/Resources.tsxindex e40124f971..9f19f13af1 100644--- a/apps/website/src/pages/Resources/Resources.tsx+++ b/apps/website/src/pages/Resources/Resources.tsx@@ -1,6 +1,6 @@import "./Resources.css";-import { useTranslation } from "react-i18next";+import { Trans, useTranslation } from "react-i18next";import Button, { Link } from "../../components/Button";import Card from "../../components/Card";@@ -19,6 +19,15 @@ export default function Resources() {<Section className="icon-packs"><h2>{t("resources.icon_packs")}</h2>+ <p>+ <Trans+ i18nKey="resources.icon_packs_intro"+ components={{+ DocumentationLink: <Link href="https://docs.triliumnotes.org/user-guide/concepts/themes/icon-packs" />+ }}+ />+ </p>+<div className="grid-3-cols">{iconPacksMeta.map(meta => (<Carddiff --git a/apps/website/src/translations/en/translation.json b/apps/website/src/translations/en/translation.jsonindex dcd5035088..adcf2902cf 100644--- a/apps/website/src/translations/en/translation.json+++ b/apps/website/src/translations/en/translation.json@@ -199,6 +199,7 @@},"resources": {"title": "Resources",- "icon_packs": "Icon packs"+ "icon_packs": "Icon packs",+ "icon_packs_intro": "Expand the selection of available icons for your notes by using an icon pack. For more information about icon packs, see the <DocumentationLink>official documentation</DocumentationLink>."}}