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): switch assets to webp
Elian Dorane52eb9bcb05b
diff --git a/apps/website/public/collection_board.png b/apps/website/public/collection_board.pngdeleted file mode 100644index 8cbc1a72c9..0000000000Binary files a/apps/website/public/collection_board.png and /dev/null differdiff --git a/apps/website/public/collection_board.webp b/apps/website/public/collection_board.webpnew file mode 100644index 0000000000..6ed49dd449Binary files /dev/null and b/apps/website/public/collection_board.webp differdiff --git a/apps/website/public/collection_calendar.png b/apps/website/public/collection_calendar.pngdeleted file mode 100644index 0d6a4fa815..0000000000Binary files a/apps/website/public/collection_calendar.png and /dev/null differdiff --git a/apps/website/public/collection_calendar.webp b/apps/website/public/collection_calendar.webpnew file mode 100644index 0000000000..34b7961e0fBinary files /dev/null and b/apps/website/public/collection_calendar.webp differdiff --git a/apps/website/public/collection_geomap.png b/apps/website/public/collection_geomap.pngdeleted file mode 100644index cd891b6465..0000000000Binary files a/apps/website/public/collection_geomap.png and /dev/null differdiff --git a/apps/website/public/collection_geomap.webp b/apps/website/public/collection_geomap.webpnew file mode 100644index 0000000000..e564fbfc6fBinary files /dev/null and b/apps/website/public/collection_geomap.webp differdiff --git a/apps/website/public/collection_table.png b/apps/website/public/collection_table.pngdeleted file mode 100644index b23b4c4685..0000000000Binary files a/apps/website/public/collection_table.png and /dev/null differdiff --git a/apps/website/public/collection_table.webp b/apps/website/public/collection_table.webpnew file mode 100644index 0000000000..2113caf65fBinary files /dev/null and b/apps/website/public/collection_table.webp differdiff --git a/apps/website/public/screenshot_desktop_mac_dark.png b/apps/website/public/screenshot_desktop_mac_dark.pngdeleted file mode 100644index 2eae66f18a..0000000000Binary files a/apps/website/public/screenshot_desktop_mac_dark.png and /dev/null differdiff --git a/apps/website/public/screenshot_desktop_mac_dark.webp b/apps/website/public/screenshot_desktop_mac_dark.webpnew file mode 100644index 0000000000..347838682fBinary files /dev/null and b/apps/website/public/screenshot_desktop_mac_dark.webp differdiff --git a/apps/website/public/screenshot_desktop_mac_light.png b/apps/website/public/screenshot_desktop_mac_light.pngdeleted file mode 100644index a2b64b7fba..0000000000Binary files a/apps/website/public/screenshot_desktop_mac_light.png and /dev/null differdiff --git a/apps/website/public/screenshot_desktop_mac_light.webp b/apps/website/public/screenshot_desktop_mac_light.webpnew file mode 100644index 0000000000..2415bbd3ffBinary files /dev/null and b/apps/website/public/screenshot_desktop_mac_light.webp differdiff --git a/apps/website/public/screenshot_desktop_win_dark.png b/apps/website/public/screenshot_desktop_win_dark.pngdeleted file mode 100644index c35e2a8b54..0000000000Binary files a/apps/website/public/screenshot_desktop_win_dark.png and /dev/null differdiff --git a/apps/website/public/screenshot_desktop_win_dark.webp b/apps/website/public/screenshot_desktop_win_dark.webpnew file mode 100644index 0000000000..051d8f1c22Binary files /dev/null and b/apps/website/public/screenshot_desktop_win_dark.webp differdiff --git a/apps/website/public/screenshot_desktop_win_light.png b/apps/website/public/screenshot_desktop_win_light.pngdeleted file mode 100644index fa4e225f0a..0000000000Binary files a/apps/website/public/screenshot_desktop_win_light.png and /dev/null differdiff --git a/apps/website/public/screenshot_desktop_win_light.webp b/apps/website/public/screenshot_desktop_win_light.webpnew file mode 100644index 0000000000..a44801ea3bBinary files /dev/null and b/apps/website/public/screenshot_desktop_win_light.webp differdiff --git a/apps/website/public/type_canvas.png b/apps/website/public/type_canvas.pngdeleted file mode 100644index ad5c74b363..0000000000Binary files a/apps/website/public/type_canvas.png and /dev/null differdiff --git a/apps/website/public/type_canvas.webp b/apps/website/public/type_canvas.webpnew file mode 100644index 0000000000..839818606aBinary files /dev/null and b/apps/website/public/type_canvas.webp differdiff --git a/apps/website/public/type_code.png b/apps/website/public/type_code.pngdeleted file mode 100644index 89841cdeb5..0000000000Binary files a/apps/website/public/type_code.png and /dev/null differdiff --git a/apps/website/public/type_code.webp b/apps/website/public/type_code.webpnew file mode 100644index 0000000000..91816541a7Binary files /dev/null and b/apps/website/public/type_code.webp differdiff --git a/apps/website/public/type_file.png b/apps/website/public/type_file.pngdeleted file mode 100644index e57ba1c4d3..0000000000Binary files a/apps/website/public/type_file.png and /dev/null differdiff --git a/apps/website/public/type_file.webp b/apps/website/public/type_file.webpnew file mode 100644index 0000000000..6423d4fc43Binary files /dev/null and b/apps/website/public/type_file.webp differdiff --git a/apps/website/public/type_mermaid.png b/apps/website/public/type_mermaid.pngdeleted file mode 100644index 1e8bd73866..0000000000Binary files a/apps/website/public/type_mermaid.png and /dev/null differdiff --git a/apps/website/public/type_mermaid.webp b/apps/website/public/type_mermaid.webpnew file mode 100644index 0000000000..c7c7eb3c6eBinary files /dev/null and b/apps/website/public/type_mermaid.webp differdiff --git a/apps/website/public/type_mindmap.png b/apps/website/public/type_mindmap.pngdeleted file mode 100644index a970d485ff..0000000000Binary files a/apps/website/public/type_mindmap.png and /dev/null differdiff --git a/apps/website/public/type_mindmap.webp b/apps/website/public/type_mindmap.webpnew file mode 100644index 0000000000..23addc0658Binary files /dev/null and b/apps/website/public/type_mindmap.webp differdiff --git a/apps/website/public/type_text.png b/apps/website/public/type_text.pngdeleted file mode 100644index a6708c3cf6..0000000000Binary files a/apps/website/public/type_text.png and /dev/null differdiff --git a/apps/website/public/type_text.webp b/apps/website/public/type_text.webpnew file mode 100644index 0000000000..dd897dbca4Binary files /dev/null and b/apps/website/public/type_text.webp differdiff --git a/apps/website/src/pages/Home/index.tsx b/apps/website/src/pages/Home/index.tsxindex 47c933a5d3..2302a32b40 100644--- a/apps/website/src/pages/Home/index.tsx+++ b/apps/website/src/pages/Home/index.tsx@@ -56,13 +56,13 @@ function HeroSection() {switch (platform) {case "macos":- screenshotUrl = `/screenshot_desktop_mac_${colorScheme}.png`;+ screenshotUrl = `/screenshot_desktop_mac_${colorScheme}.webp`;break;case "linux":break;case "windows":default:- screenshotUrl = `/screenshot_desktop_win_${colorScheme}.png`;+ screenshotUrl = `/screenshot_desktop_win_${colorScheme}.webp`;break;}@@ -126,42 +126,42 @@ function NoteTypesSection() {<ListWithScreenshot horizontal items={[{title: "Text notes",- imageUrl: "/type_text.png",+ imageUrl: "/type_text.webp",iconSvg: textNoteIcon,moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Text/index.html",description: "The notes are edited using a visual (WYSIWYG) editor, with support for tables, images, math expressions, code blocks with syntax highlighting. Quickly format the text using Markdown-like syntax or using slash commands."},{title: "Code notes",- imageUrl: "/type_code.png",+ imageUrl: "/type_code.webp",iconSvg: codeIcon,moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Code.html",description: "Large samples of source code or scripts use a dedicated editor, with syntax highlighting for many programming languages and with various color themes."},{title: "File notes",- imageUrl: "/type_file.png",+ imageUrl: "/type_file.webp",iconSvg: fileIcon,moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/File.html",description: "Embed multimedia files such as PDFs, images, videos with an in-application preview."},{title: "Canvas",- imageUrl: "/type_canvas.png",+ imageUrl: "/type_canvas.webp",iconSvg: canvasIcon,moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Canvas.html",description: "Arrange shapes, images and text across an infinite canvas, using the same technology behind excalidraw.com. Ideal for diagrams, sketches and visual planning."},{title: "Mermaid diagrams",- imageUrl: "/type_mermaid.png",+ imageUrl: "/type_mermaid.webp",iconSvg: mermaidIcon,moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Mermaid%20Diagrams/index.html",description: "Create diagrams such as flowcharts, class & sequence diagrams, Gantt charts and many more, using the Mermaid syntax."},{title: "Mindmap",- imageUrl: "/type_mindmap.png",+ imageUrl: "/type_mindmap.webp",iconSvg: mindmapIcon,moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Mind%20Map.html",description: "Organize your thoughts visually or do a brainstorming session."@@ -200,7 +200,7 @@ function CollectionsSection() {<ListWithScreenshot items={[{title: "Calendar",- imageUrl: "/collection_calendar.png",+ imageUrl: "/collection_calendar.webp",iconSvg: calendarIcon,moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Calendar%20View.html",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."@@ -208,20 +208,20 @@ function CollectionsSection() {{title: "Table",iconSvg: tableIcon,- imageUrl: "/collection_table.png",+ imageUrl: "/collection_table.webp",moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Table%20View.html",description: "Display and edit information about notes in a tabular structure, with various column types such as text, number, check boxes, date & time, links and colors and support for relations. Optionally, display the notes within a tree hierarchy inside the table." },{title: "Board",iconSvg: boardIcon,- imageUrl: "/collection_board.png",+ imageUrl: "/collection_board.webp",moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Board%20View.html",description: "Organize your tasks or project status into a Kanban board with an easy way to create new items and columns and simply changing their status by dragging across the board."},{title: "Geomap",iconSvg: geomapIcon,- imageUrl: "/collection_geomap.png",+ imageUrl: "/collection_geomap.webp",moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Geo%20Map%20View.html",description: "Plan your vacations or mark your points of interest directly on a geographical map using customizable markers. Display recorded GPX tracks to track itineraries."}