webdev-service / app /admin /posts /page.tsx
underrate's picture
Initial commit
34ed5b1 verified
Raw
History Blame Contribute Delete
643 Bytes
"use client"
import { RoleGuard } from "@/components/auth/RoleGuard"
import { Role } from "@/types/auth"
export default function PostsPage() {
return (
<RoleGuard allowedRoles={[Role.SUPER_ADMIN, Role.EDITOR]}>
<div className="p-8">
<h1 className="text-3xl font-bold mb-4">Content Management</h1>
<div className="border p-4 rounded bg-background">
<p>Super Admins and Editors can manage content here.</p>
{/* Blog/Portfolio management UI would go here */}
</div>
</div>
</RoleGuard>
)
}