diff --git a/packages/web/components/templates/NavigationLayout.tsx b/packages/web/components/templates/NavigationLayout.tsx
index cf053db7a..abfc74dcd 100644
--- a/packages/web/components/templates/NavigationLayout.tsx
+++ b/packages/web/components/templates/NavigationLayout.tsx
@@ -18,11 +18,6 @@ import { Button } from '../elements/Button'
import { List } from '@phosphor-icons/react'
import { LIBRARY_LEFT_MENU_WIDTH } from './navMenu/LibraryLegacyMenu'
import { AddLinkModal } from './AddLinkModal'
-import { v4 as uuidv4 } from 'uuid'
-import {
- showErrorToast,
- showSuccessToastWithAction,
-} from '../../lib/toastHelpers'
import useWindowDimensions from '../../lib/hooks/useGetWindowDimensions'
import { useAddItem } from '../../lib/networking/library_items/useLibraryItems'
import { useHandleAddUrl } from '../../lib/hooks/useHandleAddUrl'
@@ -39,6 +34,7 @@ export type NavigationSection =
type NavigationLayoutProps = {
children: ReactNode
rightPane?: ReactNode
+ title: string
section: NavigationSection
pageMetaDataProps?: PageMetaDataProps
@@ -115,10 +111,7 @@ export function NavigationLayout(props: NavigationLayoutProps): JSX.Element {
distribution="start"
alignment="start"
>
- {props.pageMetaDataProps ? (
-
- ) : null}
-
+
{
diff --git a/packages/web/pages/l/[section].tsx b/packages/web/pages/l/[section].tsx
index cb75330ec..d1e0935d8 100644
--- a/packages/web/pages/l/[section].tsx
+++ b/packages/web/pages/l/[section].tsx
@@ -127,9 +127,28 @@ export default function Home(): JSX.Element {
}
}
+ const sectionTitle = (section: NavigationSection | undefined) => {
+ switch (section) {
+ case 'home':
+ return 'Home'
+ case 'library':
+ return 'Library'
+ case 'subscriptions':
+ return 'Subscriptions'
+ case 'highlights':
+ return 'Highlights'
+ case 'archive':
+ return 'Archive'
+ case 'trash':
+ return 'Trash'
+ }
+ return ''
+ }
+
return (