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): rephrase section titles and refine import/hero layout
Elian Doranecef7e5d0b66
diff --git a/apps/website/src/pages/Home/index.css b/apps/website/src/pages/Home/index.cssindex 4394860c7f..964646af47 100644--- a/apps/website/src/pages/Home/index.css+++ b/apps/website/src/pages/Home/index.css@@ -175,6 +175,11 @@ section.hero-section {}@media (min-width: 720px) {+ section.hero-section {+ /* Clip the screenshot where it bleeds past the right edge of the viewport */+ overflow: hidden;+ }+section.hero-section > .content-wrapper {flex-direction: row;flex-wrap: wrap;@@ -182,6 +187,13 @@ section.hero-section {padding: 3em;}+ /* Deep screenshot: enlarge the right column and let it run off the right+ edge of the viewport for an immersive, "spilling off the page" look. */+ section.hero-section .screenshot-container {+ flex: 1 1 55%;+ margin-right: calc(50% - 50vw - 3em);+ }+section.hero-section .hero-tagline {margin-top: 0;}@@ -304,14 +316,15 @@ section.import .bx svg {}section.import .import-logos {- margin-top: 2.5em;- text-align: center;+ margin-top: 1.25em;}section.import .import-logos-label {display: block;- margin-bottom: 1em;- font-size: 0.9em;+ margin-bottom: 0.6em;+ font-size: 0.75em;+ text-transform: uppercase;+ letter-spacing: 0.04em;color: var(--muted-color);}@@ -319,8 +332,7 @@ section.import .import-logos-row {display: flex;flex-wrap: wrap;align-items: center;- justify-content: center;- gap: 1.75em;+ gap: 1em;}section.import .import-logo {@@ -335,8 +347,8 @@ section.import .import-logo:hover {}section.import .import-logo .bx {- width: 2em;- height: 2em;+ width: 1.6em;+ height: 1.6em;}section.final-cta {diff --git a/apps/website/src/pages/Home/index.tsx b/apps/website/src/pages/Home/index.tsxindex e13edb5a1d..683840676d 100644--- a/apps/website/src/pages/Home/index.tsx+++ b/apps/website/src/pages/Home/index.tsx@@ -338,23 +338,24 @@ function ScriptingSection() {function ImportSection() {const { t } = useTranslation();return (- <Section className="benefits import accented" title={t("import.title")} subtitle={t("import.subtitle")} cta={{ text: t("import.learn_more"), href: "https://docs.triliumnotes.org/user-guide/concepts/import-export" }}>+ <Section className="benefits import accented" title={t("import.title")} subtitle={t("import.subtitle")}><div className="benefits-container grid-3-cols">- <Card iconSvg={importIcon} title={t("import.pillar_import_title")}>{t("import.pillar_import_description")}</Card>+ <Card iconSvg={importIcon} title={t("import.pillar_import_title")} moreInfoUrl="https://docs.triliumnotes.org/user-guide/concepts/import-export">+ {t("import.pillar_import_description")}+ <div className="import-logos">+ <span className="import-logos-label">{t("import.sources_label")}</span>+ <div className="import-logos-row">+ <span className="import-logo" title={t("import.onenote_title")}><Icon svg={oneNoteIcon} /></span>+ <span className="import-logo" title={t("import.notion_title")}><Icon svg={notionIcon} /></span>+ <span className="import-logo" title={t("import.keep_title")}><Icon svg={keepIcon} /></span>+ <span className="import-logo" title={t("import.evernote_title")}><Icon svg={evernoteIcon} /></span>+ <span className="import-logo" title={t("import.anytype_title")}><Icon svg={anytypeIcon} /></span>+ <span className="import-logo" title={t("import.obsidian_title")}><Icon svg={obsidianIcon} /></span>+ </div>+ </div>+ </Card><Card iconSvg={exportIcon} title={t("import.pillar_export_title")}>{t("import.pillar_export_description")}</Card>- <Card iconSvg={printerIcon} title={t("import.pillar_pdf_title")}>{t("import.pillar_pdf_description")}</Card>- </div>-- <div className="import-logos">- <span className="import-logos-label">{t("import.sources_label")}</span>- <div className="import-logos-row">- <span className="import-logo" title={t("import.onenote_title")}><Icon svg={oneNoteIcon} /></span>- <span className="import-logo" title={t("import.notion_title")}><Icon svg={notionIcon} /></span>- <span className="import-logo" title={t("import.keep_title")}><Icon svg={keepIcon} /></span>- <span className="import-logo" title={t("import.evernote_title")}><Icon svg={evernoteIcon} /></span>- <span className="import-logo" title={t("import.anytype_title")}><Icon svg={anytypeIcon} /></span>- <span className="import-logo" title={t("import.obsidian_title")}><Icon svg={obsidianIcon} /></span>- </div>+ <Card iconSvg={printerIcon} title={t("import.pillar_pdf_title")} moreInfoUrl="https://docs.triliumnotes.org/user-guide/note-types/file/pdf">{t("import.pillar_pdf_description")}</Card></div></Section>);diff --git a/apps/website/src/translations/en/translation.json b/apps/website/src/translations/en/translation.jsonindex 215d38a7c4..7836426dda 100644--- a/apps/website/src/translations/en/translation.json+++ b/apps/website/src/translations/en/translation.json@@ -18,7 +18,7 @@"screenshot_alt": "Screenshot of the Trilium Notes desktop application"},"organization_benefits": {- "title": "Organization",+ "title": "Structure your notes, your way","screenshot_alt": "Hierarchical note tree in Trilium","note_structure_title": "Note structure","note_structure_description": "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.",@@ -70,7 +70,7 @@"spreadsheet_description": "A fully-featured spreadsheet for tabular data, with formulas, conditional formatting, data validation, sorting and filtering. Import and export Excel (.xlsx) and CSV files."},"collections": {- "title": "Collections",+ "title": "See your notes from every angle","subtitle": "Collections give a group of notes a purpose-built view. Display the very same notes as a calendar, a table, a Kanban board, an interactive map and more, then switch between layouts whenever your needs change.","calendar_title": "Calendar","calendar_description": "Organize your personal or professional events using a calendar, with support for all-day and multi-day events. See your events at a glance with the week, month and year views. Easy interaction to add or drag events.",@@ -100,11 +100,10 @@"keep_title": "Google Keep","evernote_title": "Evernote","anytype_title": "Anytype",- "obsidian_title": "Obsidian",- "learn_more": "Learn more about import & export"+ "obsidian_title": "Obsidian"},"ai_integration": {- "title": "AI integration",+ "title": "AI on your terms","subtitle": "Optional, and entirely on your terms. AI features are opt-in and disabled by default: your notes are never sent anywhere unless you enable them and connect your own provider.","screenshot_alt": "The Trilium AI chat creating notes on your behalf through built-in tools","chat_title": "Chat with your notes",