From 432fe58585579dd2becd6d8d090fa20b4958f7ac Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 21 Dec 2023 22:04:06 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=82=EF=B8=8F=20Added=20tab=20icons=20a?= =?UTF-8?q?nd=20styles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ComicDetail/ComicDetail.tsx | 25 ++++++++++++------- .../components/ComicDetail/TabControls.tsx | 7 +++--- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/client/components/ComicDetail/ComicDetail.tsx b/src/client/components/ComicDetail/ComicDetail.tsx index b499fe7..8ea2357 100644 --- a/src/client/components/ComicDetail/ComicDetail.tsx +++ b/src/client/components/ComicDetail/ComicDetail.tsx @@ -181,7 +181,9 @@ export const ComicDetail = (data: ComicDetailProps): ReactElement => { { id: 2, name: "ComicInfo.xml", - icon: , + icon: ( + + ), content: (
@@ -193,7 +195,9 @@ export const ComicDetail = (data: ComicDetailProps): ReactElement => { }, { id: 3, - icon: , + icon: ( + + ), name: "Archive Operations", content: <>, /* @@ -202,7 +206,9 @@ export const ComicDetail = (data: ComicDetailProps): ReactElement => { }, { id: 4, - icon: , + icon: ( + + ), name: "DC++ Search", content: ( { }, { id: 5, - icon: , + icon: ( + + ), name: "Torrent Search", content: <>Torrents, shouldShow: true, }, { id: 6, - icon: null, - name: !isEmpty(data.data) ? ( - Downloads - ) : ( - "Downloads" + icon: ( + ), + name: "Downloads", + content: !isNil(data.data) && !isEmpty(data.data) && ( { return ( <> -
+
-