diff --git a/astro/src/components/web/TextWithImage.astro b/astro/src/components/web/TextWithImage.astro
new file mode 100644
index 0000000..35488e1
--- /dev/null
+++ b/astro/src/components/web/TextWithImage.astro
@@ -0,0 +1,33 @@
+---
+import { Image } from 'astro:assets';
+
+interface Props {
+ textWithImage: TextWithImageComponent;
+}
+
+const textWithImage = Astro.props.textWithImage;
+
+const imageSize = () => {
+ if (textWithImage.imageSize === "small") return "aspect-2/1";
+ else if (textWithImage.imageSize === "medium") return "aspect-26/17";
+ else return "aspect-39/29";
+}
+---
+
+
+
+
{textWithImage.title}
+ { textWithImage.text !== null && (
+
{textWithImage.text}
+ ) }
+
+
+
+
+
diff --git a/astro/src/components/webpage/Webpage.astro b/astro/src/components/webpage/Webpage.astro
index 983fe42..ec24e63 100644
--- a/astro/src/components/webpage/Webpage.astro
+++ b/astro/src/components/webpage/Webpage.astro
@@ -1,5 +1,6 @@
---
import Hero from '../web/Hero.astro';
+import TextWithImage from '../web/TextWithImage.astro';
interface Props {
webpage: WebpageComponent[];
@@ -14,6 +15,7 @@ console.log(Astro.props.webpage);
{ components.map((component) => (