import { memo } from "react"; import type { ContentContainerViewProps } from "./ContentContainer.types"; function ContentContainerView({ post, width, size, iconImage, iconAlt, containerClasses, contentGapClasses, textGapClasses, titleClasses, descriptionClasses, authorClasses, dateClasses, formattedDate, }: ContentContainerViewProps) { return (
{/* Content Container - gap between icon and text */}
{/* Icon */}
{/* eslint-disable-next-line @next/next/no-img-element */} {iconAlt}
{/* Text Container */}
{/* Title */}

{post.frontmatter.title}

{/* Description */}

{post.frontmatter.description}

{/* Metadata Container - horizontal with 8px gap */}
{/* Author Name */} {post.frontmatter.author} {/* Date */} {formattedDate}
); } ContentContainerView.displayName = "ContentContainerView"; export default memo(ContentContainerView);