footer, feedback, subscribe

This commit is contained in:
Schneider Roland
2025-01-21 23:19:02 +01:00
parent a068aeb375
commit 86dda89db9
43 changed files with 841 additions and 162 deletions

View File

@@ -0,0 +1,16 @@
import strapiApi from "@/app/api/strapi/strapi-api";
import clsx from "clsx";
export default async function BlogComponent({
params,
}: {
params: Promise<{ blogId: string }>
}){
const blogId = (await params).blogId
const blog = await strapiApi.getBlog(blogId);
return (
<div className={clsx("container", "text-primary")}>
<h1 className={clsx("container", "text-primary")}>{blog.header}</h1>
</div>
)
}

View File

@@ -0,0 +1,6 @@
export default function BlogListComponent(){
return (
<div>Blog list</div>
)
}