interface DynamicHeroArticleProps { payload: any; } export default function DynamicHeroArticle({ payload }: DynamicHeroArticleProps) { const { title, subtitle, imageUrl, author, date, category } = payload || {}; return (
{imageUrl && (
{title
)}
{category && ( {category} )}

{title || 'Scent Guide Article'}

{subtitle && (

{subtitle}

)} {(author || date) && (
{author && By {author}} {author && date && •} {date && {date}}
)}
); }