import { Card, Typography } from "poyraz-ui/atoms"; import { NewsCard } from "poyraz-ui/molecules"; import { Link } from "@/i18n/routing"; import type { AnimationSource } from "@/data/animation-sources"; type AnimationSourcesContentProps = { sources: AnimationSource[]; labels: { title: string; description: string; empty: string; itemCount: string; }; }; export function AnimationSourcesContent({ sources, labels, }: AnimationSourcesContentProps) { return (
{labels.title} {labels.description}
{labels.itemCount}
{sources.length > 0 ? (
{sources.map((source) => ( ))}
) : ( {labels.empty} )}
); }