diff --git a/src/content/food/_food.md b/src/content/food/_food.md index 76fcb57..cf07530 100644 --- a/src/content/food/_food.md +++ b/src/content/food/_food.md @@ -1,11 +1,11 @@ --- title: Food meta_title: Food -author: Reed Nelson -draft: true description: recipe. -cover: "@assets/food/.jpg" +draft: true +cover: "@assets/food/.jpg" +author: Reed Nelson prep_time: 0 servings: 0 diff --git a/src/content/food/bruchetta.md b/src/content/food/bruchetta.md new file mode 100644 index 0000000..cc15d10 --- /dev/null +++ b/src/content/food/bruchetta.md @@ -0,0 +1,23 @@ +--- +title: Bruchetta +meta_title: Bruchetta +description: Bruchetta recipe. +draft: true + +cover: "@assets/food/placeholder.jpg" +author: Reed Nelson +prep_time: 30 +servings: 3 + +ingredients: + list: + - Ingredient + qty: + - qty + +instructions: + - Step + +notes: + - Note +--- diff --git a/src/content/food/fish-tacos.md b/src/content/food/fish-tacos.md new file mode 100644 index 0000000..b2a7e15 --- /dev/null +++ b/src/content/food/fish-tacos.md @@ -0,0 +1,23 @@ +--- +title: Fish Tacos +meta_title: Fish Tacos +description: Fish Taco recipe. +draft: true + +cover: "@assets/food/placeholder.jpg" +author: Ben Cartford +prep_time: 60 +servings: 4 + +ingredients: + list: + - Ingredient + qty: + - qty + +instructions: + - Step + +notes: + - Note +--- diff --git a/src/content/food/pad-thai.md b/src/content/food/pad-thai.md index cb81a73..3fb9047 100644 --- a/src/content/food/pad-thai.md +++ b/src/content/food/pad-thai.md @@ -1,11 +1,11 @@ --- title: Pad Thai meta_title: Pad Thai -author: Reed Nelson draft: false description: Pad Thai recipe. -cover: "@assets/food/pad-thai.jpg" +cover: "@assets/food/pad-thai.jpg" +author: Reed Nelson prep_time: 45 servings: 4 diff --git a/src/layouts/FoodSingle.astro b/src/layouts/FoodSingle.astro index 067b66e..0ef9539 100644 --- a/src/layouts/FoodSingle.astro +++ b/src/layouts/FoodSingle.astro @@ -2,6 +2,13 @@ import Share from "@/components/Share.astro"; import config from "@/config/config.json"; import { Image } from "astro:assets"; +import { humanize, markdownify } from "@/lib/utils/textConverter"; + +import { + FaRegClock, + FaRegUserCircle, + FaUtensils, +} from "react-icons/fa/index.js"; interface Recipe { ingredients: { @@ -25,6 +32,7 @@ const { ingredients, instructions, notes }: Recipe = post.data;