import Link from "next/link"; import Image from "next/image"; import { ArrowUpRight } from "lucide-react"; import { SectionHeading } from "@/components/shared/SectionHeading"; import { resources } from "@/data/site-pages"; /** Cover images, paired to the insights in data/site-pages.ts by order. */ const coverImages = [ "/images/tenext/portrait-confident-man.jpg", "/images/tenext/Group-18301.jpg", "/images/tenext/3d-woman-shape-glowing-with-bright-holographic-colors-1-min.png", ]; const blogPosts = resources.map((resource, i) => ({ title: resource.title, description: resource.description, image: coverImages[i % coverImages.length], category: resource.category, link: `/resources#${resource.id}`, })); export function BlogSection() { return (
{blogPosts.map((post, index) => (
{post.title}
{post.category}

{post.title}

{post.description}

Learn more
))}
); }