import { memo } from "react";
import Link from "next/link";
import ContentContainer from "../ContentContainer";
import type { ContentThumbnailTemplateViewProps } from "./ContentThumbnailTemplate.types";
function ContentThumbnailTemplateView({
post,
className,
variant,
backgroundImage,
}: ContentThumbnailTemplateViewProps) {
if (variant === "vertical") {
return (
{/* Background SVG - fills container with maintained aspect */}
{/* eslint-disable-next-line @next/next/no-img-element */}
{/* Gradient overlay for better text readability */}
{/* Content Section - positioned within the padding constraints */}
);
}
// Horizontal variant
return (
{/* Background SVG - sized to fit the 320x225.5 container exactly */}