<?php // phpcs:ignore
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Template for theme info page.
 *
 */

?>
<div id="welcome-panels" class="welcome-panel eco-green-hero ">
	<div class="welcome-panel-content eco-green-hero">
		<div class="welcome-panel-header eco-green-hero">
			<h2>
				<?php esc_html_e( 'Welcome to Eco Green', 'eco-green' ); ?>
			</h2>
			<p>
				<?php
				esc_html_e( 'Eco Green is designed to give your website a bold, elegant, and professional look—ready to launch in just a few clicks.', 'eco-green' );
				?>
			</p>




		<div class="not-link">
			<a href="https://www.thealphablocks.com/themes/nature-wordpress-theme/" target="_blank" rel="noopener noreferrer nofollow" class="eco-green-btn eco-green-btn-default button button-secodary button-hero ddd" >
				<?php esc_html_e( 'Buy Now', 'eco-green' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/themes/wordpress-theme-bundle/" target="_blank" rel="noopener noreferrer nofollow" class="eco-green-btn eco-green-btn-default button button-secodary button-hero bbb" target="_blank">
				<?php esc_html_e( 'Get All Themes', 'eco-green' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/demos/eco-green-pro/" target="_blank" rel="noopener noreferrer nofollow" class="eco-green-btn eco-green-btn-default button button-secodary button-hero ccc" target="_blank">
				<?php esc_html_e( 'Live Demo', 'eco-green' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/docs/eco-green-free/" target="_blank" rel="noopener noreferrer nofollow" class="eco-green-gsn-btn  eco-green-btn-outline button button-primary button-hero ghf eco-green-install-plugins"  target="_blank">
				<?php esc_html_e( 'Documentation', 'eco-green' ); ?>
			</a>
		</div>
		</div>

					<div class="bundle-img-wrap">
			            <img src="<?php echo esc_url( get_template_directory_uri() . '/images/main-banner.png' ); ?>">
			        </div>
		
	</div>
</div>

<div class="eco-green-main">
	<div class="row margin eco-green-main-wrp">
		<div class="col-lg-3">
			<div class="eco-green-main-sidebar">
				<div class="theme-screenshot-box">
					<div class="eco-green-card-header abc">
						<h4 class="eco-green-card-header-ttl">
							<?php esc_html_e( 'Premium Theme', 'eco-green' ); ?>
						</h4>
					</div>	
					<div class="screenshot-container" id="screenshotContainer">
						<img id="scrollImage" src="<?php echo esc_url( get_template_directory_uri() . '/images/screenshort-image.png' ); ?>">
					</div>
				</div>
			</div>
		</div>

		<div class="col-lg-6 alpha-right">
			<div class="eco-green-main-cont">
				<div class="row features">
					<div class="col-md-6 col-xl-3">
						<div class="eco-green-card">
							<div class="eco-green-card-header">
								<span class="dashicons dashicons-media-document"></span>
								<h4 class="eco-green-card-header-mmm">
									<?php esc_html_e( 'Responsive Design', 'eco-green' ); ?>
								</h4>
							</div>
							<div class="eco-green-card-body">
								<p class="margin">
									<?php esc_html_e( 'Your website adapts to all screen sizes for seamless viewing experience.', 'eco-green' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="eco-green-card">
							<div class="eco-green-card-header">
								<span class="dashicons dashicons-groups"></span>
									<h4 class="eco-green-card-header-mmm">
									<?php esc_html_e( 'Demo Import', 'eco-green' ); ?>
								</h4>
							</div>
							<div class="eco-green-card-body">
								<p class="margin">
									<?php esc_html_e( 'Our themes has one-click demo import making it easier to launch website.', 'eco-green' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="eco-green-card">
							<div class="eco-green-card-header">
								<span class="dashicons dashicons-backup"></span>
									<h4 class="eco-green-card-header-mmm">
									<?php esc_html_e( 'Cross Browser Compatible
									', 'eco-green' ); ?>
								</h4>
							</div>
							<div class="eco-green-card-body">
								<p class="margin">
									<?php esc_html_e( 'Runs smoothly across all major browsers for consistent site experience.', 'eco-green' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="eco-green-card">
							<div class="eco-green-card-header">
								<span class="dashicons dashicons-video-alt3"></span>
									<h4 class="eco-green-card-header-mmm">
									<?php esc_html_e( 'Easy Customization', 'eco-green' ); ?>
								</h4>
							</div>
							<div class="eco-green-card-body">
								<p class="margin">
									<?php esc_html_e( 'Quickly personalize fonts, colors, and layouts using simple customization panel.', 'eco-green' ); ?>
								</p>
								
							</div>
						</div>
					</div>
				</div>
				
					<div class="<?php echo esc_attr( $quick_links_col ); ?>">
						<div class="eco-green-card">
							<div class="eco-green-card-header justify-content ">
								<span class="dashicons dashicons-admin-links"></span>
								<h4 class="eco-green-card-header-ttl">
									<?php esc_html_e( 'Quick Links', 'eco-green' ); ?>
								</h4>
							</div>
							<div class="eco-green-card-body">
								<div class="eco-green-card-btn-grp rrr">
									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?categoryId=header&postType=wp_template_part' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Header', 'eco-green' ); ?>
									</a>
									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part&postId=' . ALPHA_ECO_NATURE_THEME_NAME . '%2F%2Ffooter&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Footer', 'eco-green' ); ?>
									</a>
									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part&postId=' . ALPHA_ECO_NATURE_THEME_NAME . '%2F%2Fsidebar&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Sidebar', 'eco-green' ); ?>
									</a>
									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col" 
										href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . ALPHA_ECO_NATURE_THEME_NAME . '%2F%2Findex&canvas=edit' ) ); ?>" 
										target="_blank">
										<?php esc_html_e( 'Edit Blog Home', 'eco-green' ); ?>
									</a>

									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part' ) ); ?>" target="_blank">
										<?php esc_html_e( 'All Template Parts', 'eco-green' ); ?>
									</a>
									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . ALPHA_ECO_NATURE_THEME_NAME . '%2F%2Ffront-page&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Frontpage', 'eco-green' ); ?>
									</a>
									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . ALPHA_ECO_NATURE_THEME_NAME . '%2F%2Farchive&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Archive Page', 'eco-green' ); ?>
									</a>
									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template' ) ); ?>" target="_blank">
										<?php esc_html_e( 'All Templates', 'eco-green' ); ?>
									</a>

									<a class="eco-green-btn eco-green-btn-primary-outline button button-hero btn-col visit-site" href="<?php echo esc_url( home_url( '/' ) ); ?>" target="_blank">
										<?php esc_html_e( 'VISIT SITE', 'eco-green' ); ?>
									</a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<?php
				$faqs = function_exists( 'eco_green_get_theme_faq' ) ? eco_green_get_theme_faq() : null;
				if ( $faqs ) {
					?>
						<div class="row">
							<div class="col-12">
								<div class="eco-green-card">
									<div class="eco-green-card-header">
										<span class="dashicons dashicons-format-chat"></span>
										<h4 class="eco-green-card-header-ttl">
											<?php esc_html_e( 'Frequently Asked Questions', 'eco-green' ); ?>
										</h4>
									</div>
									<div class="eco-green-card-body">
										<div class="eco-green-accordion">
									<div class="eco-green-accordion ">
									<?php foreach ( $faqs as $key => $faq ) : ?>
										<details class="eco-green-accordion-section ">
											<summary class="eco-green-accordion-section-title">
												<h4 class="eco-green-accordion-heading">
													<span class="dashicons dashicons-arrow-right"></span>
													<?php echo esc_html( $faq['q'] ); ?>
												</h4>
											</summary>
											<div id="eco-green-info-faq-<?php echo esc_attr( $key ); ?>" class="eco-green-accordion-section-content">
												<?php echo wp_kses_post( $faq['a'] ); ?>
											</div>
										</details>
									<?php endforeach; ?>
								</div>
								</div>

									</div>
								</div>
							</div>
						</div>
					<?php
				}
				?>
			</div>

		<div class="col-lg-3">
			<div class="eco-green-main-sidebar">
				
				<div class="eco-green-card">
					<div class="eco-green-card-header abc">
						<h4 class="eco-green-card-header-ttl">
							<?php esc_html_e( 'Buy Premium Theme', 'eco-green' ); ?>
						</h4>
					</div>

					<div class="bun-para">
						<p><?php esc_html_e( 'Our Premium WordPress Themes are crafted to deliver powerful design, seamless performance, and full customization options—perfect for building stunning, professional websites with ease.', 'eco-green' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/nature-wordpress-theme/" target="_blank" rel="noopener noreferrer nofollow" class="eco-green-btn eco-green-btn-default button button-secodary button-hero cba cbaa" target="_blank">
						<?php esc_html_e( 'Buy Now $40', 'eco-green' ); ?>
					</a>
			
				</div>

				<div class="eco-green-card">
					<div class="bundle-image-wrap">
			            <img src="<?php echo esc_url( get_template_directory_uri() . '/images/bundle-image.png' ); ?>">
			        </div>
					<div class="eco-green-card-header abc">
						<h4 class="eco-green-card-header-ttl">
							<?php esc_html_e( 'Get All Themes', 'eco-green' ); ?>
						</h4>
					</div>

					<div class="bun-para">
						<p><?php esc_html_e( 'Whether you need a website for a blog, business, portfolio, or online store, this WP Theme Bundle provides everything you need for a visually appealing and fully functional site.', 'eco-green' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/wordpress-theme-bundle/" target="_blank" rel="noopener noreferrer nofollow" class="eco-green-btn eco-green-btn-default button button-secodary button-hero cba" target="_blank">
						<?php esc_html_e( 'Get All Block Themes $59', 'eco-green' ); ?>
					</a>
			
				</div>

			</div>
			</div>

		</div>
	</div>
</div>

