diff --git a/astro/src/components/web/TextWithImage.astro b/astro/src/components/web/TextWithImage.astro index 35488e1..98ee1eb 100644 --- a/astro/src/components/web/TextWithImage.astro +++ b/astro/src/components/web/TextWithImage.astro @@ -1,4 +1,5 @@ --- +import { markdownToHtml } from '@/lib/markdown'; import { Image } from 'astro:assets'; interface Props { @@ -14,11 +15,11 @@ const imageSize = () => { } --- -
+

{textWithImage.title}

{ textWithImage.text !== null && ( -
{textWithImage.text}
+
) }