import { redirect } from "next/navigation" import Link from "next/link" import { getArtistSession } from "@/lib/auth" import { Button } from "@/components/ui/button" import { Home, User, Image, LogOut } from "lucide-react" export default async function ArtistDashboardLayout({ children, }: { children: React.ReactNode }) { const artistSession = await getArtistSession() if (!artistSession) { redirect("/auth/signin") } const { artist, user } = artistSession return (
{/* Header */}

Artist Dashboard

Welcome back, {artist.name}

{/* Sidebar Navigation */} {/* Main Content Area */}
{children}
) }