import type { ReactNode } from "react" import Link from "next/link" import { Button } from "@/components/ui/button" import { Breadcrumbs, type BreadcrumbItem } from "@/components/breadcrumbs" import { PublicInset, PublicPageHeader, PublicSurface, } from "@/components/public-surface" import { cn } from "@/lib/utils" type ShellAction = { label: string href: string variant?: "default" | "outline" } interface DropdownPageShellProps { breadcrumbs: BreadcrumbItem[] eyebrow?: string title: string description?: string headerContent?: ReactNode content: ReactNode contentClassName?: string contentSurfaceClassName?: string sections?: ReactNode cta?: { eyebrow?: string title: string description: string actions: ShellAction[] note?: ReactNode } className?: string } export function DropdownPageShell({ breadcrumbs, eyebrow, title, description, headerContent, content, contentClassName, contentSurfaceClassName, sections, cta, className, }: DropdownPageShellProps) { return (
{headerContent}
{content}
{sections ?
{sections}
: null} {cta ? (
{cta.eyebrow ? (

{cta.eyebrow}

) : null}

{cta.title}

{cta.description}

{cta.actions.map((action) => ( ))}
{cta.note ? ( {cta.note} ) : null}
) : null}
) }