Add project posts to the website
This commit is contained in:
@@ -9,6 +9,7 @@ import BlogIndex from "@/components/blogs/BlogIndex.astro";
|
||||
import ProjectIndex from "@/components/projects/ProjectIndex.astro";
|
||||
import Webpage from "@/components/webpage/Webpage.astro";
|
||||
import BlogPost from "@/components/blogs/BlogPost.astro";
|
||||
import ProjectPost from "@/components/projects/ProjectPost.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const settings = await getSettings();
|
||||
@@ -135,7 +136,7 @@ console.log(page);
|
||||
tags: []
|
||||
}}>
|
||||
<Fragment slot="content">
|
||||
<div>ProjectPost</div>
|
||||
<ProjectPost project={page.page} />
|
||||
</Fragment>
|
||||
</ProjectLayout>
|
||||
) }
|
||||
|
||||
Reference in New Issue
Block a user