diff --git a/web/src/components/detail/IngredientTableView.astro b/web/src/components/detail/IngredientTableView.astro new file mode 100644 index 0000000..a82a5bd --- /dev/null +++ b/web/src/components/detail/IngredientTableView.astro @@ -0,0 +1,68 @@ +--- +// const { ingredients } = Astro.props + +const { class: className, ingredients } = Astro.props +const tableView = true +--- + +{!tableView && ( +
• {ing.quantity.value.value} {ing.unit || ''} {ing.name}
+| Quantity | +Unit | +Ingredient | +
|---|---|---|
| {ing.quantity.value.value} | +{ing.unit || ''} | +{ing.name} | +
Ingredients
- +