import { cookies } from "next/headers"; import Topbar from "../components/topbar"; export default async function Home() { const cookieStore = await cookies(); const username = cookieStore.get("next_username")?.value; return (
This is a protected page that only authenticated users can access.
In a real application, you would display important data and admin controls here.
Manage user accounts and permissions.
Edit website content and media files.
Configure system settings and preferences.