mirror of
https://github.com/linsa-io/linsa.git
synced 2026-04-21 07:51:38 +02:00
chore: navigate to pages and disable topic for now
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user