import Link from "next/link"; import { AboutData } from "../../about/types"; interface AboutNewsProps { data: AboutData["news"]; } const AboutNews = ({ data }: AboutNewsProps) => { return (
{data.subheading}

{data.heading}

{data.ctaButton.label}
{data.items.map((item, index) => (
img {item.category}
Comment ({item.comments}) _ {item.date}

{item.title}

img By {item.author.name}
View Articles
))}
); }; export default AboutNews;