From b21c709873544517d1da177d38f4aa86d4bc72f8 Mon Sep 17 00:00:00 2001 From: DrMint Date: Wed, 16 Feb 2022 17:12:34 +0100 Subject: [PATCH] Transfered Content to Library/Content --- src/components/Library/LibraryContentPreview.tsx | 2 +- src/pages/{ => library}/content/[slug]/index.tsx | 6 +++--- src/pages/{ => library}/content/[slug]/read.tsx | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename src/pages/{ => library}/content/[slug]/index.tsx (89%) rename src/pages/{ => library}/content/[slug]/read.tsx (100%) diff --git a/src/components/Library/LibraryContentPreview.tsx b/src/components/Library/LibraryContentPreview.tsx index 3501fb7..c273a32 100644 --- a/src/components/Library/LibraryContentPreview.tsx +++ b/src/components/Library/LibraryContentPreview.tsx @@ -17,7 +17,7 @@ export default function LibraryContentPreview( const item = props.item; return ( - +
{item.thumbnail.data ? ( {content.text_set.length > 0 ? ( - ) : ( @@ -38,7 +38,7 @@ export default function ContentIndex(props: ContentIndexProps): JSX.Element { )} {content.audio_set.length > 0 ? ( - ) : ( @@ -46,7 +46,7 @@ export default function ContentIndex(props: ContentIndexProps): JSX.Element { )} {content.video_set.length > 0 ? ( - ) : ( diff --git a/src/pages/content/[slug]/read.tsx b/src/pages/library/content/[slug]/read.tsx similarity index 100% rename from src/pages/content/[slug]/read.tsx rename to src/pages/library/content/[slug]/read.tsx