import { NavLink, Outlet } from "react-router-dom" import { cn } from "../../lib/utils" const tabs = [ { label: "Overview", to: "/content" }, { label: "Courses", to: "/content/courses" }, { label: "Flows", to: "/content/flows" }, { label: "Speaking", to: "/content/speaking" }, { label: "Practice", to: "/content/practices" }, { label: "Questions", to: "/content/questions" }, ] export function ContentManagementLayout() { return (
{/* Header */}

Content Management

Manage courses, speaking exercises, practices, and questions

{/* Tab bar */}
{tabs.map((t) => ( cn( "relative whitespace-nowrap rounded-xl px-5 py-2 text-sm font-semibold transition-all duration-200 ease-in-out", "text-grayScale-500 hover:bg-white/80 hover:text-brand-600 hover:shadow-sm", isActive && "bg-brand-500 text-white shadow-md shadow-brand-500/25 hover:bg-brand-600 hover:text-white", ) } > {t.label} ))}
{/* Page content */}
) }