-
-
{post.data.title}
+
+
{GhostPost.posts[0].title}
- {new Date(post.data.date).toLocaleDateString()}
+ {new Date(GhostPost.posts[0].published_at).toLocaleDateString()}
-
+
@@ -83,6 +81,7 @@ export const prerender = true;
display: block;
width: 100% !important;
max-width: 100% !important;
+ height: fit-content;
}
}
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro
index 23a631d..4df69f1 100644
--- a/src/pages/blog/index.astro
+++ b/src/pages/blog/index.astro
@@ -1,22 +1,91 @@
---
// Layout
-import Default from "@layouts/Default.astro"
+import Default from "@layouts/Default.astro";
// Components
-import Posts from "@components/blog/posts.astro"
+import Hero from "@components/Hero.astro";
+import Heading from "@components/Heading.astro";
+import Posts from "@components/blog/posts.astro";
+import LargeCard from "@components/Feature.astro";
+import {Zorn} from "@minpluto/zorn"
// List Posts
-import { getCollection } from "astro:content"
-const posts = await getCollection("posts")
+const GhostFetch = 'https://blog.ghost.sudovanilla.org/ghost/api/content/posts/?key=bef2ed15d9e38f7703be9412b3'
+const GhostResponse = await fetch(GhostFetch);
+const Ghost = await GhostResponse.json();
+
+// Icons
+import { BookmarkBook, ReportColumns } from "@iconoir/vue";
---
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 47e7410..9e62450 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -10,8 +10,9 @@ import LargeCard from "@components/Feature.astro";
import {Zorn} from "@minpluto/zorn"
// List Posts
-import { getCollection } from "astro:content";
-const posts = await getCollection("posts");
+const GhostFetch = 'https://blog.ghost.sudovanilla.org/ghost/api/content/posts/?key=bef2ed15d9e38f7703be9412b3'
+const GhostResponse = await fetch(GhostFetch);
+const Ghost = await GhostResponse.json();
// Icons
import { BookmarkBook, ReportColumns } from "@iconoir/vue";
@@ -31,7 +32,18 @@ import { BookmarkBook, ReportColumns } from "@iconoir/vue";
-
+
@@ -78,4 +90,60 @@ import { BookmarkBook, ReportColumns } from "@iconoir/vue";
CTA_Primary_Link="/docs/penpot-desktop/introduction/"
/>
-
\ No newline at end of file
+
+
+
+
\ No newline at end of file