Edit sidebar

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-04-28 21:49:57 +02:00
parent 761e8a20cb
commit eea8c3e9be
4 changed files with 160 additions and 118 deletions
+2 -1
View File
@@ -3,7 +3,7 @@ import { getCollection, render } from "astro:content";
import Layout from "../../layouts/Layout.astro";
import { List, PanelRight } from "@lucide/astro";
import NoteTOC from "../../components/NoteTOC.astro";
import NoteNavSidebar from "../../components/NoteNavSidebar.astro";
import NoteNavSidebar from "../../components/NoteNavSidebar.svelte";
import NoteGraphSidebar from "../../components/NoteGraphSidebar.astro";
import NoteVars from "../../components/NoteVars.svelte";
import {
@@ -199,6 +199,7 @@ const headings = extractHeadings(entry.body ?? "");
class="drawer-overlay"
></label>
<NoteNavSidebar
client:load
notes={sortedNotes}
currentEntry={entry}
categories={categories}