From c0229f28a97b5a1c1cb4f6e1ad460736cc9d60cd Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Tue, 31 Mar 2026 02:27:13 +0200 Subject: [PATCH] feat: add showProgress prop to Window with reading progress strip --- components/window.tsx | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/components/window.tsx b/components/window.tsx index a137868..97e1b87 100644 --- a/components/window.tsx +++ b/components/window.tsx @@ -1,6 +1,7 @@ import Link from "next/link"; import React from "react"; import RSSIcon from "./rss-icon"; +import ReadingProgress from "./reading-progress"; const CloseIcon = () => ( -
-
- {title} - - - -
-
-
- +
+
+
+ {title} + + +
-
- +
+
+ +
+
+ +
+ + +
- - -
+ {showProgress && }
{children}