diff --git a/src/app/_components/header.tsx b/src/app/_components/header.tsx
index 93b02c7..9a8ff3a 100644
--- a/src/app/_components/header.tsx
+++ b/src/app/_components/header.tsx
@@ -8,12 +8,11 @@ import {
DropdownMenuItem,
DropdownMenuTrigger,
} from '@/components/ui/dropdown-menu'
-import { auth } from '@/server/auth'
import { ThemeToggle } from 'fumadocs-ui/components/layout/theme-toggle'
import type { HomeLayoutProps } from 'fumadocs-ui/layouts/home'
import type { LinkItemType } from 'fumadocs-ui/layouts/links'
import { replaceOrDefault } from 'fumadocs-ui/layouts/shared'
-import { LogIn, LogOut, Settings, Tv, User } from 'lucide-react'
+import { LogIn, LogOut, Settings, Shield, Tv, User } from 'lucide-react'
import { signIn, signOut, useSession } from 'next-auth/react'
import Link from 'next/link'
import { Fragment } from 'react'
@@ -37,6 +36,7 @@ export function Header({
}) {
const { data: session, status } = useSession()
const isAuthenticated = status === 'authenticated'
+ const isAdmin = isAuthenticated && session?.user?.role === 'admin'
const navItems = finalLinks.filter((item) =>
['nav', 'all'].includes(item.on ?? 'all')
)
@@ -59,6 +59,36 @@ export function Header({
.map((item, i) => (
Logs
+ View and manage logs
+ Releases
+ Manage releases
+ OBS Control Panel
+ Stream widget controls
+