chore: navigate to pages and disable topic for now

This commit is contained in:
Aslam H
2024-09-09 18:10:19 +07:00
parent 84ee3d0517
commit 407ef129e3
2 changed files with 5 additions and 4 deletions

View File

@@ -78,15 +78,16 @@ const PageSectionHeader: React.FC<PageSectionHeaderProps> = ({ pageCount }) => (
<div
className={cn("flex min-h-[30px] items-center gap-px rounded-md", "hover:bg-accent hover:text-accent-foreground")}
>
<Button
variant="ghost"
<Link
href="/pages"
className="size-6 flex-1 items-center justify-start rounded-md px-2 py-1 focus-visible:outline-none focus-visible:ring-0"
>
<p className="flex items-center text-xs font-medium">
Pages
{pageCount > 0 && <span className="text-muted-foreground ml-1">{pageCount}</span>}
</p>
</Button>
</Link>
<div className={cn("flex items-center gap-px pr-2")}>
<ShowAllForm />
<NewPageButton />