import blogs from "@/utils/constants/blogs.json"; interface Props { params: { slug: string; }; } const BlogPage = ({ params }: Props) => { const blog = blogs.find((blog) => blog.slug === params.slug); return (
{blog?.description}