<!--
Layout For Tutorial Page of Feedzy RSS Feeds

@since    ?
@package  feedzy-rss-feeds
-->
<?php
$is_pro = feedzy_is_pro();

$settings_link     = add_query_arg(
	[
		'page' => 'feedzy-settings',
	],
	admin_url( 'admin.php' )
);
$feed_imports_link = add_query_arg(
	[
		'post_type' => 'feedzy_imports',
	],
	admin_url( 'edit.php' )
);
$logs_link         = add_query_arg(
	[
		'tab' => 'logs',
	],
	$settings_link
);

?>
<div class="support-box-list">
	<ul>
		<li>
			<div class="support-box welcome-box">
				<h3 class="h3">
					<?php esc_html_e( 'Welcome to Feedzy!', 'feedzy-rss-feeds' ); ?>
				</h3>
				<p>
					<?php esc_html_e( 'Collect the Best Content, Automatically Add It to Your WordPress Site. Grow your site with features like:', 'feedzy-rss-feeds' ); ?>
				</p>
				<ul>
					<li>- <?php esc_html_e( 'Display or Import content from RSS feeds.', 'feedzy-rss-feeds' ); ?></li>
					<li>- <?php esc_html_e( 'Get full content from your RSS feeds.', 'feedzy-rss-feeds' ); ?></li>
					<li>- <?php esc_html_e( 'Paraphrase content before import.', 'feedzy-rss-feeds' ); ?></li>
					<li>- <?php esc_html_e( 'Automatically add referral links.', 'feedzy-rss-feeds' ); ?></li>
					<li>- <?php esc_html_e( 'Pagebuilders integration.', 'feedzy-rss-feeds' ); ?></li>
					<li>- <?php esc_html_e( 'Translate content automatically on import.', 'feedzy-rss-feeds' ); ?></li>
				</ul>
				<br/>
				<div>
					<a href="<?php echo esc_url( add_query_arg( 'post_type', 'feedzy_imports', admin_url( 'post-new.php' ) ) ); ?>" class="btn btn-outline-primary">
						<?php esc_html_e( 'Import your first feed', 'feedzy-rss-feeds' ); ?>
					</a>
				</div> 
			</div>
		</li>
		<li>
			<div class="support-box quick-links-box">
				<h3 class="h3">
					<?php esc_html_e( 'Quick Links', 'feedzy-rss-feeds' ); ?>
				</h3>
				<div class="fz-quick-link-actions">
					<a
						href="<?php echo esc_url( $settings_link ); ?>"
						class="btn btn-primary"
					>
						<span class="dashicons dashicons-admin-generic"></span>
						<?php esc_html_e( 'Settings', 'feedzy-rss-feeds' ); ?>
					</a>
					<a
						href="<?php echo esc_url( $feed_imports_link ); ?>"
						class="btn btn-primary"
					>
						<span class="dashicons dashicons-rss"></span>
						<?php esc_html_e( 'Import Posts', 'feedzy-rss-feeds' ); ?>
					</a>
					<a
						href="<?php echo esc_url( $logs_link ); ?>"
						class="btn btn-primary"
					>
						<span class="dashicons dashicons-edit"></span>
						<?php esc_html_e( 'Logs', 'feedzy-rss-feeds' ); ?>
					</a>
				</div>
				<p>
					<?php esc_html_e( 'New here? Learn how to use Feedzy by following our tips and tricks:', 'feedzy-rss-feeds' ); ?>
				</p>
				<div class="quick-link-list">
					<ul>
						<li><a href="https://docs.themeisle.com/category/712-feedzy" target="_blank"><?php esc_html_e( 'General Guide', 'feedzy-rss-feeds' ); ?></a></li>
						<li><a href="https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy" target="_blank"><?php esc_html_e( 'How to use Feed to post', 'feedzy-rss-feeds' ); ?></a></li>
						<li><a href="https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation#widget" target="_blank"><?php esc_html_e( 'Feedzy Widget', 'feedzy-rss-feeds' ); ?></a></li>
					</ul>
					<ul>
						<li><a href="https://docs.themeisle.com/article/1155-feedzy-troubleshooting-guide	" target="_blank"><?php esc_html_e( 'Troubleshooting Guide', 'feedzy-rss-feeds' ); ?></a></li>
						<li><a href="https://docs.themeisle.com/article/540-what-actions-and-filters-are-available-in-feedzy" target="_blank"><?php esc_html_e( 'Customizing Feedzy', 'feedzy-rss-feeds' ); ?></a></li>
						<li><a href="https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation#categories" target="_blank"><?php esc_html_e( 'Organize feeds in Categories', 'feedzy-rss-feeds' ); ?></a></li>
					</ul>
				</div>
			</div>
		</li>
		<li>
			<div class="support-box">
				<h3 class="h3"><?php esc_html_e( 'Shortcode', 'feedzy-rss-feeds' ); ?></h3>
				<p>
					<?php
					printf(
						/* translators: %s: [feedzy-rss] */
						esc_html__( 'Display feed items using %s shortcode. The advantage of this approach is that it can be used with any WordPress theme or page builder.', 'feedzy-rss-feeds' ),
						'[feedzy-rss]'
					);
					?>
				</p>
				<div>
					<a href="https://docs.themeisle.com/feedzy-rss-feeds/how-to-use-feedzy-with-a-shortcode" class="btn btn-outline-primary" target="_blank">
						<?php esc_html_e( 'Learn more', 'feedzy-rss-feeds' ); ?>
					</a>
				</div>
			</div>
		</li>
		<li>
			<div class="support-box">
				<h3 class="h3"><?php esc_html_e( 'Pagebuilders integration', 'feedzy-rss-feeds' ); ?></h3>
				<p><?php esc_html_e( 'Feedzy is compatible with most popular page builders, so you can easily configure your feed imports directly in Elementor & Gutenberg.', 'feedzy-rss-feeds' ); ?></p>
				<div>
					<a href="https://docs.themeisle.com/feedzy-rss-feeds/feedzy-rss-feeds-documentation#integration-with-the-wordpress-editor" class="btn btn-outline-primary" target="_blank">
						<?php esc_html_e( 'Learn more', 'feedzy-rss-feeds' ); ?>
					</a>
				</div>
			</div>
		</li>
		<li>
			<div class="support-box">
				<h3 class="h3"><?php esc_html_e( 'Referral Links', 'feedzy-rss-feeds' ); ?><?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
				<p><?php esc_html_e( 'Automatically add referral parameters, and Feedzy will automatically configure affiliate links for each item in the feed.', 'feedzy-rss-feeds' ); ?></p>
				<div>	
					<a href="https://docs.themeisle.com/article/715-feedzy-how-to-add-affiliate-referrals-to-feed-urls" class="btn btn-outline-primary" target="_blank">
						<?php esc_html_e( 'Learn more', 'feedzy-rss-feeds' ); ?>
					</a>
				</div>
			</div>
		</li>
		<li>
			<div class="support-box">
				<h3 class="h3"><?php esc_html_e( 'Full text import', 'feedzy-rss-feeds' ); ?><?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
				<p><?php esc_html_e( 'Get full content of posts/articles from your RSS feeds.', 'feedzy-rss-feeds' ); ?></p>
				<div>	
					<a href="https://docs.themeisle.com/article/1389-whats-the-difference-between-feedzy-content-and-full-post-content#full-content" class="btn btn-outline-primary" target="_blank">
						<?php esc_html_e( 'Learn more', 'feedzy-rss-feeds' ); ?>
					</a>
				</div>
			</div>
		</li>
		<li>
			<div class="support-box">
				<h3 class="h3"><?php esc_html_e( 'Paraphrase & Translate Content', 'feedzy-rss-feeds' ); ?><?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
				<p><?php esc_html_e( 'Automatically paraphrase or translate content on import.', 'feedzy-rss-feeds' ); ?></p>
				<div>
					<a href="https://docs.themeisle.com/article/1690-how-to-use-the-translating-service-in-feedzy" class="btn btn-outline-primary" target="_blank">
						<?php esc_html_e( 'Learn more', 'feedzy-rss-feeds' ); ?>
					</a>
				</div>
			</div>
		</li>
		<li>
			<div class="support-box">
				<h3 class="h3"><?php esc_html_e( 'Spintax Text', 'feedzy-rss-feeds' ); ?><?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
				<p><?php esc_html_e( 'The Spintax service is very useful for blogs, as it is easily configurable and a time saver.', 'feedzy-rss-feeds' ); ?></p>
				<div>
					<a href="https://docs.themeisle.com/article/1689-how-to-use-the-spintax-service-in-feedzy" class="btn btn-outline-primary" target="_blank">
						<?php esc_html_e( 'Learn more', 'feedzy-rss-feeds' ); ?>
					</a>
				</div>
			</div>
		</li>
		<li>
			<div class="support-box">
				<h3 class="h3"><?php esc_html_e( 'Enhanced Elementor support', 'feedzy-rss-feeds' ); ?><?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
				<p><?php esc_html_e( 'Advanced Elementor template builder integration to build content areas directly from feeds.', 'feedzy-rss-feeds' ); ?></p>
				<div>
					<a href="https://docs.themeisle.com/article/1396-elementor-compatibility-in-feedzy" class="btn btn-outline-primary" target="_blank"><?php esc_html_e( 'Learn more', 'feedzy-rss-feeds' ); ?></a>
				</div>
			</div>
		</li>
		<li>
			<div class="support-box">
				<h3 class="h3"><?php esc_html_e( 'Keyword Filtering', 'feedzy-rss-feeds' ); ?><?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
				<p><?php esc_html_e( 'Filter feed items, and Display or Exclude items if the title or content contains specific keyword(s).', 'feedzy-rss-feeds' ); ?></p>
				<div>	
					<a href="https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy#filters" class="btn btn-outline-primary" target="_blank">
						<?php esc_html_e( 'Learn more', 'feedzy-rss-feeds' ); ?>
					</a>
				</div>
			</div>
		</li>
	</ul>
	<?php if ( ! $is_pro ) : ?>
		<div class="cta">
			<a href="<?php echo esc_url_raw( tsdk_translate_link( tsdk_utmify( FEEDZY_UPSELL_LINK, 'viewall', 'tutorial' ) ) ); ?>#pro-features" class="btn btn-ghost" target="_blank">
				<?php esc_html_e( 'View all Premium features', 'feedzy-rss-feeds' ); ?>
			</a>
		</div>
	<?php endif; ?>
</div>
