diff --git a/public/paper.webp b/public/paper.webp new file mode 100644 index 0000000..acf3d72 Binary files /dev/null and b/public/paper.webp differ diff --git a/public/paper_white.webp b/public/paper_white.webp deleted file mode 100644 index 29afab9..0000000 Binary files a/public/paper_white.webp and /dev/null differ diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 64a6a79..772dd0e 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -9,11 +9,7 @@ type ButtonProps = { export default function Button(props: ButtonProps): JSX.Element { const button = (
{props.children}
diff --git a/src/components/PanelComponents/NavOption.tsx b/src/components/PanelComponents/NavOption.tsx index 545f5c8..898baf5 100644 --- a/src/components/PanelComponents/NavOption.tsx +++ b/src/components/PanelComponents/NavOption.tsx @@ -12,9 +12,10 @@ type NavOptionProps = { export default function NavOption(props: NavOptionProps): JSX.Element { const router = useRouter(); const isActive = router.asPath.startsWith(props.url); - const divActive = "bg-mid"; - const border = "border-2 border-mid"; - const divCommon = `gap-x-5 w-full rounded-2xl cursor-pointer p-4 hover:bg-mid transition-colors ${ + const divActive = "bg-mid shadow-inner-sm shadow-dark"; + const border = + "outline outline-mid outline-2 outline-offset-[-2px] hover:outline-[transparent]"; + const divCommon = `gap-x-5 w-full rounded-2xl cursor-pointer p-4 hover:bg-mid hover:shadow-inner-sm hover:shadow-dark active:shadow-inner active:shadow-dark transition-all ${ props.border ? border : "" } ${isActive ? divActive : ""}`; diff --git a/src/pages/library/items/[slug].tsx b/src/pages/library/items/[slug].tsx index 3b37b1d..dfce15a 100644 --- a/src/pages/library/items/[slug].tsx +++ b/src/pages/library/items/[slug].tsx @@ -126,7 +126,7 @@ export default function LibrarySlug(props: LibrarySlugProps): JSX.Element {
{item.subitem_of.data.length > 0 ? ( @@ -190,7 +190,7 @@ export default function LibrarySlug(props: LibrarySlugProps): JSX.Element {