feat : update
This commit is contained in:
@@ -6,6 +6,7 @@ import { usePathname, useRouter } from "next/navigation";
|
||||
import {
|
||||
ExternalLinkIcon,
|
||||
LayoutDashboardIcon,
|
||||
BookOpenIcon,
|
||||
LogOutIcon,
|
||||
PlusIcon,
|
||||
UserPlusIcon,
|
||||
@@ -29,6 +30,15 @@ export function AdminHeader() {
|
||||
<span className="hidden sm:inline">ไกด์ช่องเกนชินไม่ใช่เกมมือถือ</span>
|
||||
</Link>
|
||||
<nav aria-label="Admin navigation" className="flex items-center gap-1">
|
||||
<Button
|
||||
variant={pathname === "/admin/glossary" ? "secondary" : "ghost"}
|
||||
size="sm"
|
||||
nativeButton={false}
|
||||
render={<Link href="/admin/glossary" />}
|
||||
>
|
||||
<BookOpenIcon data-icon="inline-start" />
|
||||
<span className="hidden sm:inline">Glossary</span>
|
||||
</Button>
|
||||
<Button
|
||||
variant={pathname === "/admin/register" ? "secondary" : "ghost"}
|
||||
size="sm"
|
||||
|
||||
Reference in New Issue
Block a user