- Fuzzy ingredient matching for bar inventory against recipes - AI photo identification API for bottles/labels (drink + bar context) - Barcode scanner with photo toggle for My Bar - Barcode scan + photo ID buttons on Add Drink form - Auto-pull product images from Open Food Facts barcode lookup - Recipes section on drink detail pages with bar availability - Dedicated Recipes page in sidebar navigation - Bar item image support (schema, upload, display) - Drink detail image upload component - MinIO image proxy through Next.js rewrites (fixes broken image links) - Improved category mapping (energy drinks → Mixers, not Spirits) - Re-process saved recipe ingredients against current bar inventory Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
490 B
TypeScript
23 lines
490 B
TypeScript
"use client"
|
|
|
|
import { RecipeCard } from "@/components/bartender/recipe-card"
|
|
import type { RecipeCardData } from "@/components/bartender/recipe-card"
|
|
|
|
interface DrinkRecipesListProps {
|
|
recipes: RecipeCardData[]
|
|
}
|
|
|
|
export function DrinkRecipesList({ recipes }: DrinkRecipesListProps) {
|
|
return (
|
|
<div className="space-y-4">
|
|
{recipes.map((recipe) => (
|
|
<RecipeCard
|
|
key={recipe.id}
|
|
recipe={recipe}
|
|
saved
|
|
/>
|
|
))}
|
|
</div>
|
|
)
|
|
}
|