File size: 643 Bytes
34ed5b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"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>
    )
}