---
import { getCollection, render } from "astro:content";
import Base from "../../layouts/Base.astro";
import Cover from "../../components/Cover.astro";
import RobotScore from "../../components/RobotScore.astro";
export async function getStaticPaths() {
const all = await getCollection("reviews");
return all.map((entry) => ({
params: { slug: entry.id },
props: { entry },
}));
}
const { entry } = Astro.props;
const { Content } = await render(entry);
const d = entry.data;
const dateFormatter = new Intl.DateTimeFormat("nl-NL", {
day: "numeric",
month: "long",
year: "numeric",
});
---
← Alle reviews
{d.title}
- Voor wie
- {d.for_who}
Vanaf
{d.price_from}
Hosting
{d.hosting}