import { CardBody } from '@elementor/app-ui';
import SiteTemplateThumbnail from './site-template-thumbnail';
import PreviewIFrame from '../atoms/preview-iframe';

export const SiteTemplateBody = ( props ) => {
	return (
		<CardBody>
			{
				props.extended
					? <PreviewIFrame src={ props.previewUrl } templateType={ props.type } />
					: (
						<SiteTemplateThumbnail
							id={ props.id }
							title={ props.title }
							type={ props.type }
							thumbnail={ props.thumbnail }
							placeholder={ props.placeholderUrl }
						/>
					)
			}
		</CardBody>
	);
};

SiteTemplateBody.propTypes = {
	extended: PropTypes.bool,
	id: PropTypes.number,
	title: PropTypes.string,
	thumbnail: PropTypes.string,
	placeholderUrl: PropTypes.string,
	type: PropTypes.string,
	previewUrl: PropTypes.string,
};
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//greenpondrealty.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://greenpondrealty.com/post-sitemap.xml</loc>
		<lastmod>2026-08-24T12:02:09+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://greenpondrealty.com/page-sitemap.xml</loc>
		<lastmod>2026-05-07T15:57:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://greenpondrealty.com/category-sitemap.xml</loc>
		<lastmod>2026-08-24T12:02:09+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://greenpondrealty.com/author-sitemap.xml</loc>
		<lastmod>2026-05-07T15:59:12+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->