From 56b8381680bdfa0ac51242cf0ec50f97a5a16476 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 15 Oct 2025 19:10:50 +0300 Subject: [PATCH] chore(collection/presentation): prepare structure for Reveal.js --- .../collections/presentation/index.tsx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsx index 8fd856acd..ae2c64586 100644 --- a/apps/client/src/widgets/collections/presentation/index.tsx +++ b/apps/client/src/widgets/collections/presentation/index.tsx @@ -15,11 +15,22 @@ function Presentation({ note }: { note: FNote }) { note.getChildNotes().then(setSlides); }, [ note ]); - return (slides && slides?.map(slide => ( - - ))); + return ( +
+
+ {slides && slides?.map(slide => ( + + ))} +
+
+ ) + } function Slide({ note }: { note: FNote }) { - return

{note.title}

+ return ( +
+

{note.title}

+
+ ); }