{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "recipe",
  "title": "Recipe",
  "description": "A recipe Open Graph image with a brand row, dish title, short description, and time and servings chips.",
  "registryDependencies": [
    "https://ogimagecn.com/r/badge.json",
    "https://ogimagecn.com/r/brand-mark.json"
  ],
  "files": [
    {
      "path": "registry/blocks/recipe/index.tsx",
      "content": "import { Badge } from \"@/components/og/badge\";\nimport { BrandMark } from \"@/components/og/brand-mark\";\n\nexport interface RecipeProps {\n  title: string;\n  description: string;\n  duration: string;\n  servings: string;\n  brand: string;\n  logo?: string;\n}\n\nexport const Recipe = ({\n  title,\n  description,\n  duration,\n  servings,\n  brand,\n  logo,\n}: RecipeProps) => (\n  <div\n    style={{\n      backgroundColor: \"#fffbf5\",\n      color: \"#1c1917\",\n      display: \"flex\",\n      flexDirection: \"column\",\n      height: \"100%\",\n      justifyContent: \"space-between\",\n      padding: \"80px\",\n      width: \"100%\",\n    }}\n  >\n    <div style={{ alignItems: \"center\", display: \"flex\", gap: \"12px\" }}>\n      <BrandMark background=\"#ea580c\" src={logo} />\n      <div style={{ display: \"flex\", fontSize: \"32px\", fontWeight: 700 }}>\n        {brand}\n      </div>\n    </div>\n\n    <div style={{ display: \"flex\", flexDirection: \"column\" }}>\n      <div\n        style={{\n          display: \"flex\",\n          fontSize: title.length > 40 ? 68 : 84,\n          fontWeight: 700,\n          letterSpacing: \"-0.03em\",\n          lineHeight: 1.05,\n          maxWidth: \"1000px\",\n        }}\n      >\n        {title}\n      </div>\n      <div\n        style={{\n          color: \"#57534e\",\n          display: \"flex\",\n          fontSize: \"34px\",\n          lineHeight: 1.4,\n          marginTop: \"28px\",\n          maxWidth: \"920px\",\n        }}\n      >\n        {description}\n      </div>\n    </div>\n\n    <div style={{ display: \"flex\", gap: \"16px\" }}>\n      <Badge background=\"rgba(234,88,12,0.12)\" color=\"#c2410c\">\n        {duration}\n      </Badge>\n      <Badge background=\"rgba(234,88,12,0.12)\" color=\"#c2410c\">\n        {servings}\n      </Badge>\n    </div>\n  </div>\n);\n",
      "type": "registry:component",
      "target": "components/og/recipe.tsx"
    }
  ],
  "categories": [
    "content"
  ],
  "type": "registry:block"
}