import { FeaturedSidebar } from "@blog";
import { blogConfig } from "@/lib/blog-config";
import type { Category } from "@/content/blog/posts";

interface FeaturedProps {
  postCategories: Category[];
  excludeHrefs?: string[];
  variant?: "default" | "sidebar";
  afterHeading?: React.ReactNode;
}

export default function Featured({
  postCategories,
  excludeHrefs,
  afterHeading,
}: FeaturedProps) {
  return (
    <FeaturedSidebar
      config={blogConfig}
      postCategories={postCategories}
      excludeHrefs={excludeHrefs}
      afterHeading={afterHeading}
    />
  );
}
