diff --git a/public/paper_white.webp b/public/paper_white.webp new file mode 100644 index 0000000..29afab9 Binary files /dev/null and b/public/paper_white.webp differ diff --git a/src/components/AppLayout.tsx b/src/components/AppLayout.tsx index 3d15ca0..b11b12f 100644 --- a/src/components/AppLayout.tsx +++ b/src/components/AppLayout.tsx @@ -63,7 +63,7 @@ export default function AppLayout(props: AppLayoutProps): JSX.Element { {/* Navbar */} -
+
{props.contentPanel}
) : ( -
+
-
+

Select one of the options in the sidebar @@ -122,7 +122,7 @@ export default function AppLayout(props: AppLayoutProps): JSX.Element { {/* Sub panel */} {props.subPanel ? (

diff --git a/src/components/Library/LibraryContentPreview.tsx b/src/components/Library/LibraryContentPreview.tsx index 7486d85..858bc9a 100644 --- a/src/components/Library/LibraryContentPreview.tsx +++ b/src/components/Library/LibraryContentPreview.tsx @@ -33,7 +33,7 @@ export default function LibraryContentPreview( ) : (
)} -
+
{item.type ? ( diff --git a/src/components/Library/LibraryItemsPreview.tsx b/src/components/Library/LibraryItemsPreview.tsx index 7fcf31d..d301cae 100644 --- a/src/components/Library/LibraryItemsPreview.tsx +++ b/src/components/Library/LibraryItemsPreview.tsx @@ -48,7 +48,7 @@ export default function LibraryItemsPreview(
)} -
+
{item.metadata && item.metadata.length > 0 ? (
{prettyItemSubType(item.metadata[0])} diff --git a/src/components/Markdown/Markdawn.tsx b/src/components/Markdown/Markdawn.tsx index 0d85fda..8b5259d 100644 --- a/src/components/Markdown/Markdawn.tsx +++ b/src/components/Markdown/Markdawn.tsx @@ -9,7 +9,7 @@ type ScenBreakProps = { export default function Markdawn(props: ScenBreakProps): JSX.Element { return ( -
+
{props.children}
diff --git a/src/pages/library/items/[slug].tsx b/src/pages/library/items/[slug].tsx index c488bab..3b37b1d 100644 --- a/src/pages/library/items/[slug].tsx +++ b/src/pages/library/items/[slug].tsx @@ -154,7 +154,7 @@ export default function LibrarySlug(props: LibrarySlugProps): JSX.Element { )}
{item.descriptions.length > 0 ? ( -

{item.descriptions[0].description}

+

{item.descriptions[0].description}

) : ( "" )} @@ -190,7 +190,7 @@ export default function LibrarySlug(props: LibrarySlugProps): JSX.Element {

@@ -271,12 +271,12 @@ export default function LibrarySlug(props: LibrarySlugProps): JSX.Element {
{item.metadata[0].__typename === "ComponentMetadataBooks" ? ( <> -
+

{langui.global_pages}:

{item.metadata[0].page_count}

-
+

{langui.global_binding}:

{item.metadata[0].binding_type === @@ -289,7 +289,7 @@ export default function LibrarySlug(props: LibrarySlugProps): JSX.Element {

-
+

{langui.global_page_order}:

{item.metadata[0].page_order === @@ -302,7 +302,7 @@ export default function LibrarySlug(props: LibrarySlugProps): JSX.Element {

-
+

{langui.global_languages}:

{item.metadata[0].languages.data.map((lang) => (

@@ -323,7 +323,7 @@ export default function LibrarySlug(props: LibrarySlugProps): JSX.Element { ) : item.metadata[0].__typename === "ComponentMetadataOther" ? ( <> -

+ diff --git a/tailwind.config.js b/tailwind.config.js index ce47d6c..85723e2 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -21,6 +21,9 @@ module.exports = { coarse: { raw: "(pointer: coarse)" }, fine: { raw: "(pointer: fine)" }, }, + backgroundImage: { + paper: "url('/paper_white.webp')", + } }, plugins: [ require("@tailwindcss/typography"),