From 89c04bb909f3a4a1a60e575ef3809b1ca7456886 Mon Sep 17 00:00:00 2001 From: june Date: Thu, 14 Aug 2025 18:29:39 +1200 Subject: [PATCH] Add ingredients as rows to the column, and reset the form --- src/pages/recipe/new.astro | 40 ++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/src/pages/recipe/new.astro b/src/pages/recipe/new.astro index 2d3dbe3..9829263 100644 --- a/src/pages/recipe/new.astro +++ b/src/pages/recipe/new.astro @@ -1,10 +1,5 @@ --- -import client from "@/data/pocketbase"; import SiteLayout from "@/layouts/base"; -import ImageCarousel from "@/components/Detail/ImageCarousel"; -import IngredientTableView from "@/components/Detail/IngredientTableView"; -import StepView from "@/components/Detail/StepView"; -import InfoView from "@/components/Detail/InfoView"; const { recipeid } = Astro.params; @@ -17,6 +12,8 @@ async function submitRecipe() { @@ -82,7 +91,7 @@ async function submitRecipe() { - + @@ -96,7 +105,8 @@ async function submitRecipe() {
QuantityQty Unit Ingredient
-