From 0129d966a1b99b7bdf2bcbc27fdd381457d20ff5 Mon Sep 17 00:00:00 2001 From: Ayan Choudhury <113258225+Ayan-Choudhury-dev@users.noreply.github.com> Date: Sat, 26 Oct 2024 16:13:38 +0530 Subject: [PATCH] Update astro-images.mdoc Corrected typo on line 90: "compopnent" to "component". --- docs/src/content/pages/recipes/astro-images.mdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/content/pages/recipes/astro-images.mdoc b/docs/src/content/pages/recipes/astro-images.mdoc index 324101c34..c8fe13d2e 100644 --- a/docs/src/content/pages/recipes/astro-images.mdoc +++ b/docs/src/content/pages/recipes/astro-images.mdoc @@ -87,7 +87,7 @@ Just like standalone image fields, you will need to configure the Zod schema wit Using Astro assets within [content components](/docs/content-components) is a little more complicated. -Since the image is not stored in the frontmatter data but directly within the content body, you'll need to dynamically import the image inside the compopnent you're using to render that content component. +Since the image is not stored in the frontmatter data but directly within the content body, you'll need to dynamically import the image inside the component you're using to render that content component. {% aside icon="⚠️" %} The `publicPath` for those images must start with `/src/assets` for the dynamic import to work in Astro 😅 @@ -113,4 +113,4 @@ captionImage: block({ }) ``` -Read the [Astro guide on dynamic image imports](https://docs.astro.build/en/recipes/dynamically-importing-images/) for details on the implementation. \ No newline at end of file +Read the [Astro guide on dynamic image imports](https://docs.astro.build/en/recipes/dynamically-importing-images/) for details on the implementation.