Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

feat: show logo in top-left corner of sidebar, same size as nav buttons

nash_sua7206c740f73
diff --git a/src/assets/logo.jpg b/src/assets/logo.jpg
new file mode 100644
index 00000000..2510fe28
Binary files /dev/null and b/src/assets/logo.jpg differ
diff --git a/src/components/layout/icon-sidebar.tsx b/src/components/layout/icon-sidebar.tsx
index 60459535..c0ccdab7 100644
--- a/src/components/layout/icon-sidebar.tsx
+++ b/src/components/layout/icon-sidebar.tsx
@@ -6,6 +6,7 @@ import { useWikiStore } from "@/stores/wiki-store"
import { useReviewStore } from "@/stores/review-store"
import { useResearchStore } from "@/stores/research-store"
import { useTranslation } from "react-i18next"
+import logoImg from "@/assets/logo.jpg"
import type { WikiState } from "@/stores/wiki-store"
type NavView = WikiState["activeView"]
@@ -35,6 +36,14 @@ export function IconSidebar({ onSwitchProject }: IconSidebarProps) {
return (
<TooltipProvider delayDuration={300}>
<div className="flex h-full w-12 flex-col items-center border-r bg-muted/50 py-2">
+ {/* Logo */}
+ <div className="mb-2 flex items-center justify-center">
+ <img
+ src={logoImg}
+ alt="LLM Wiki"
+ className="h-8 w-8 rounded-[22%]"
+ />
+ </div>
{/* Top: main nav items + Deep Research */}
<div className="flex flex-1 flex-col items-center gap-1">
{NAV_ITEMS.map(({ view, icon: Icon, labelKey }) => (