diff --git a/astro/src/components/Author.astro b/astro/src/components/Author.astro
new file mode 100644
index 0000000..8e72f66
--- /dev/null
+++ b/astro/src/components/Author.astro
@@ -0,0 +1,27 @@
+---
+import { Image } from "@astrojs/image/components";
+import type { Author } from "@/types/payload-types";
+
+interface Props {
+ author: Author;
+}
+
+const { author } = Astro.props;
+---
+{ (author) &&
+
+ {(typeof author.avatar === 'object') &&
+
+ }
+
+
{author.name}
+
{author.bio}
+
+
+}
\ No newline at end of file
diff --git a/astro/src/pages/posts/[id].astro b/astro/src/pages/posts/[id].astro
index 8e65a1d..f82f93e 100644
--- a/astro/src/pages/posts/[id].astro
+++ b/astro/src/pages/posts/[id].astro
@@ -1,8 +1,9 @@
---
import ContentLayout from "@/layouts/ContentLayout.astro";
import Content from "@/components/Content.astro";
-import type { Post } from "@/types";
+import type { Post } from "@/types/payload-types";
import { getPost, getPosts } from "@/utils/payload";
+import Author from "@/components/Author.astro";
export async function getStaticPaths() {
const posts = await getPosts();
@@ -18,11 +19,15 @@ const post = id && (await getPost(id));
{
post ? (
-