|
1 | 1 | <script> |
2 | 2 | import DownloadNow from "./download-now.svelte"; |
| 3 | + import FeatureBlock from "./feature-block.svelte"; |
3 | 4 | </script> |
4 | 5 |
|
5 | | -<section class="relative overflow-hidden bg-gradient-to-br from-white to-violet-50"> |
| 6 | +<svelte:head> |
| 7 | + <title>Trilium Notes</title> |
| 8 | + <!-- TODO: description? |
| 9 | + <meta name="description" content="This is where the description goes for search engines" /> |
| 10 | + --> |
| 11 | +</svelte:head> |
| 12 | + |
| 13 | +<section class="relative overflow-hidden bg-gradient-to-br from-white dark:from-black to-violet-50 dark:to-violet-900"> |
6 | 14 | <!-- Bokeh background circles --> |
7 | 15 | <div class="absolute inset-0 pointer-events-none z-0"> |
8 | 16 | <div class="absolute w-72 h-72 bg-violet-300 opacity-30 rounded-full blur-3xl top-[-50px] left-[-80px]"></div> |
|
15 | 23 |
|
16 | 24 | <!-- Left: Text Content --> |
17 | 25 | <div class="md:w-1/3"> |
18 | | - <h2 class="text-4xl font-bold mb-4 text-gray-900">Organize Your Thoughts.<br/> Build Your Knowledge.</h2> |
19 | | - <p class="text-lg mb-6 text-gray-700"> |
| 26 | + <h2 class="text-4xl font-bold mb-4 text-gray-900 dark:text-white">Organize Your Thoughts.<br/> Build Your Knowledge.</h2> |
| 27 | + <p class="text-lg mb-6 text-gray-700 dark:text-gray-300"> |
20 | 28 | Trilium Notes helps you build and organize complex personal knowledge bases effortlessly. |
21 | 29 | Its unique tree structure, rich editing tools, and powerful search features make managing your information intuitive and flexible. |
| 30 | + <!-- TODO: remove the squiggly autocorrect lines in the screenshot!! --> |
| 31 | + <!-- TODO: dark mode screenshot --> |
22 | 32 | </p> |
23 | 33 | <div class="flex items-center gap-6"> |
24 | 34 | <DownloadNow big /> |
|
40 | 50 | <h2 class="text-3xl font-bold text-center mb-12">Beyond Text: Smarter Note Types</h2> |
41 | 51 |
|
42 | 52 | <div class="grid md:grid-cols-2 gap-10"> |
43 | | - <!-- Canvas Notes --> |
44 | | - <div class="bg-white rounded-xl shadow overflow-hidden"> |
45 | | - <img src="/note-types/canvas.png" alt="Canvas Note Screenshot" class="w-full h-56 object-cover object-top"> |
46 | | - <div class="p-6"> |
47 | | - <h3 class="text-xl font-semibold mb-2">Canvas Notes</h3> |
48 | | - <p class="text-gray-600">Draw and arrange elements freely using an Excalidraw-powered canvas — ideal for diagrams, sketches, and visual planning.</p> |
49 | | - </div> |
50 | | - </div> |
51 | | - |
52 | | - <!-- Mermaid Diagrams --> |
53 | | - <div class="bg-white rounded-xl shadow overflow-hidden"> |
54 | | - <img src="/note-types/mermaid.png" alt="Mermaid Diagram Screenshot" class="w-full h-56 object-cover object-top"> |
55 | | - <div class="p-6"> |
56 | | - <h3 class="text-xl font-semibold mb-2">Mermaid Diagrams</h3> |
57 | | - <p class="text-gray-600">Render flowcharts, Gantt charts, and sequence diagrams with Mermaid markdown syntax directly in your notes.</p> |
58 | | - </div> |
59 | | - </div> |
| 53 | + <FeatureBlock |
| 54 | + imgSrc="/note-types/canvas.png" |
| 55 | + imgAlt="Canvas Note Screenshot" |
| 56 | + title="Canvas Notes" |
| 57 | + text="Draw and arrange elements freely using an Excalidraw-powered canvas — ideal for diagrams, sketches, and visual planning." |
| 58 | + /> |
| 59 | + |
| 60 | + <FeatureBlock |
| 61 | + imgSrc="/note-types/mermaid.png" |
| 62 | + imgAlt="Mermaid Diagram Screenshot" |
| 63 | + title="Mermaid Diagrams" |
| 64 | + text="Render flowcharts, Gantt charts, and sequence diagrams with Mermaid markdown syntax directly in your notes." |
| 65 | + /> |
| 66 | + |
| 67 | + <FeatureBlock |
| 68 | + imgSrc="/note-types/geo-map.png" |
| 69 | + imgAlt="Geo Map Screenshot" |
| 70 | + title="Geo Maps" |
| 71 | + text="Plot locations and GPX tracks to visualize geography-linked notes and movement patterns on interactive maps." |
| 72 | + /> |
| 73 | + |
| 74 | + <FeatureBlock |
| 75 | + imgSrc="/note-types/mind-map.png" |
| 76 | + imgAlt="Mind Map Screenshot" |
| 77 | + title="Mind Maps" |
| 78 | + text="Organize ideas visually using a drag-and-drop mind map editor powered by Mind Elixir." |
| 79 | + /> |
| 80 | + </div> |
60 | 81 |
|
61 | | - <!-- Geo Maps --> |
62 | | - <div class="bg-white rounded-xl shadow overflow-hidden"> |
63 | | - <img src="/note-types/geo-map.png" alt="Geo Map Screenshot" class="w-full h-56 object-cover"> |
64 | | - <div class="p-6"> |
65 | | - <h3 class="text-xl font-semibold mb-2">Geo Maps</h3> |
66 | | - <p class="text-gray-600">Plot locations and GPX tracks to visualize geography-linked notes and movement patterns on interactive maps.</p> |
67 | | - </div> |
68 | | - </div> |
| 82 | + <h2 class="text-3xl font-bold text-center mb-12">Technical Features</h2> |
69 | 83 |
|
70 | | - <!-- Mind Maps --> |
71 | | - <div class="bg-white rounded-xl shadow overflow-hidden"> |
72 | | - <img src="/note-types/mind-map.png" alt="Mind Map Screenshot" class="w-full h-56 object-cover"> |
73 | | - <div class="p-6"> |
74 | | - <h3 class="text-xl font-semibold mb-2">Mind Maps</h3> |
75 | | - <p class="text-gray-600">Organize ideas visually using a drag-and-drop mind map editor powered by Mind Elixir.</p> |
76 | | - </div> |
77 | | - </div> |
| 84 | + <div class="grid md:grid-cols-2 gap-10"> |
| 85 | + <FeatureBlock |
| 86 | + imgSrc="/technical-features/sync-server.png" |
| 87 | + imgAlt="TODO" |
| 88 | + title="Synchronization Server" |
| 89 | + text="Seamless mirroring of changes acroll all devices." |
| 90 | + /> |
| 91 | + |
| 92 | + <FeatureBlock |
| 93 | + imgSrc="/technical-features/cross-platform.png" |
| 94 | + imgAlt="TODO, maybe some icons" |
| 95 | + title="Cross-platform App + Web UI" |
| 96 | + text="Use as Electron application or in your browser." |
| 97 | + /> |
| 98 | + |
| 99 | + <FeatureBlock |
| 100 | + imgSrc="/technical-features/scripting.png" |
| 101 | + imgAlt="TODO" |
| 102 | + title="Scripting" |
| 103 | + text="Custom UI widgets and a REST API for automation." |
| 104 | + /> |
| 105 | + |
| 106 | + <FeatureBlock |
| 107 | + imgSrc="/technical-features/grafana-metrics.png" |
| 108 | + imgAlt="Mind Map Screenshot" |
| 109 | + title="Grafana Metrics" |
| 110 | + text="Measure database metrics over time." |
| 111 | + /> |
78 | 112 | </div> |
79 | 113 | </section> |
80 | 114 |
|
81 | 115 | <section class="mt-20 max-w-6xl mx-auto px-4"> |
82 | 116 | <h2 class="text-3xl font-bold text-center mb-12">Feature Highlights</h2> |
83 | 117 |
|
84 | | - <div class="grid gap-12 md:grid-cols-2 max-w-4xl mx-auto text-gray-700"> |
| 118 | + <div class="grid gap-12 md:grid-cols-2 max-w-4xl mx-auto text-gray-700 dark:text-gray-300"> |
85 | 119 | <!-- Organization & Navigation --> |
86 | 120 | <div> |
87 | 121 | <h3 class="flex items-center text-xl font-semibold mb-6 text-violet-700">Organization & Navigation</h3> |
|
109 | 143 | <h3 class="flex items-center text-xl font-semibold mb-6 text-violet-700">Security & Sync</h3> |
110 | 144 | <ul class="list-disc list-inside space-y-3"> |
111 | 145 | <li>Direct OpenID and TOTP integration for secure login.</li> |
112 | | - <li>Synchronization with self-hosted and third-party servers.</li> |
113 | 146 | <li>Strong note encryption with per-note granularity.</li> |
114 | 147 | <li>Sharing notes publicly on the internet.</li> |
115 | 148 | </ul> |
|
120 | 153 | <h3 class="flex items-center text-xl font-semibold mb-6 text-violet-700">Advanced & Customization</h3> |
121 | 154 | <ul class="list-disc list-inside space-y-3"> |
122 | 155 | <li>Relation maps and link maps to visualize notes.</li> |
123 | | - <li>Scripting support and REST API for automation.</li> |
124 | 156 | <li>Touch-optimized mobile frontend and dark/user themes.</li> |
125 | 157 | <li>Customizable UI with sidebar buttons and user widgets.</li> |
126 | | - <li>Metrics with Grafana dashboard integration.</li> |
127 | 158 | <li>Scales efficiently beyond 100,000 notes.</li> |
128 | 159 | </ul> |
129 | 160 | </div> |
130 | 161 | </div> |
131 | 162 | </section> |
132 | 163 |
|
133 | 164 |
|
134 | | -<section class="bg-violet-50 py-16 mt-24"> |
| 165 | +<section class="bg-violet-50 dark:bg-black py-16 mt-24"> |
135 | 166 | <div class="container mx-auto text-center px-4"> |
136 | 167 | <h2 class="text-3xl font-bold mb-4">Ready to get started with Trilium Notes?</h2> |
137 | | - <p class="text-lg text-gray-700 mb-8">Build your personal knowledge base with powerful features and full privacy.</p> |
| 168 | + <p class="text-lg text-gray-700 dark:text-gray-200 mb-8">Build your personal knowledge base with powerful features and full privacy.</p> |
138 | 169 |
|
139 | 170 | <div class="flex justify-center gap-6"> |
140 | | - <a href="#" class="py-3 px-6 bg-violet-600 text-white font-semibold rounded-full shadow hover:bg-violet-700 focus:outline-none focus:ring focus:ring-violet-400 focus:ring-opacity-75"> |
| 171 | + <a href="download" class="py-3 px-6 bg-violet-600 text-white font-semibold rounded-full shadow hover:bg-violet-700 focus:outline-none focus:ring focus:ring-violet-400 focus:ring-opacity-75"> |
141 | 172 | Download Now |
142 | 173 | </a> |
143 | 174 | </div> |
|
0 commit comments