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

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

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




		<div class="not-link">
			<a href="https://www.thealphablocks.com/themes/deals-store-wordpress-theme" target="_blank" rel="noopener noreferrer nofollow" class="deals-store-btn deals-store-btn-default button button-secodary button-hero ddd" >
				<?php esc_html_e( 'Buy Now', 'deals-store' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/themes/wordpress-theme-bundle/" target="_blank" rel="noopener noreferrer nofollow" class="deals-store-btn deals-store-btn-default button button-secodary button-hero bbb" target="_blank">
				<?php esc_html_e( 'Get All Themes', 'deals-store' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/demos/deals-store-pro/" target="_blank" rel="noopener noreferrer nofollow" class="deals-store-btn deals-store-btn-default button button-secodary button-hero ccc" target="_blank">
				<?php esc_html_e( 'Live Demo', 'deals-store' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/docs/deals-store-free/" target="_blank" rel="noopener noreferrer nofollow" class="deals-store-gsn-btn  deals-store-btn-outline button button-primary button-hero ghf deals-store-install-plugins"  target="_blank">
				<?php esc_html_e( 'Documentation', 'deals-store' ); ?>
			</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="deals-store-main">
	<div class="row margin deals-store-main-wrp">
		<div class="col-lg-3">
			<div class="deals-store-main-sidebar">
				<div class="theme-screenshot-box">
					<div class="deals-store-card-header abc">
						<h4 class="deals-store-card-header-ttl">
							<?php esc_html_e( 'Premium Theme', 'deals-store' ); ?>
						</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="deals-store-main-cont">
				<div class="row features">
					<div class="col-md-6 col-xl-3">
						<div class="deals-store-card">
							<div class="deals-store-card-header">
								<span class="dashicons dashicons-media-document"></span>
								<h4 class="deals-store-card-header-mmm">
									<?php esc_html_e( 'Responsive Design', 'deals-store' ); ?>
								</h4>
							</div>
							<div class="deals-store-card-body">
								<p class="margin">
									<?php esc_html_e( 'Your website adapts to all screen sizes for seamless viewing experience.', 'deals-store' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="deals-store-card">
							<div class="deals-store-card-header">
								<span class="dashicons dashicons-groups"></span>
									<h4 class="deals-store-card-header-mmm">
									<?php esc_html_e( 'Demo Import', 'deals-store' ); ?>
								</h4>
							</div>
							<div class="deals-store-card-body">
								<p class="margin">
									<?php esc_html_e( 'Our themes has one-click demo import making it easier to launch website.', 'deals-store' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="deals-store-card">
							<div class="deals-store-card-header">
								<span class="dashicons dashicons-backup"></span>
									<h4 class="deals-store-card-header-mmm">
									<?php esc_html_e( 'Cross Browser Compatible
									', 'deals-store' ); ?>
								</h4>
							</div>
							<div class="deals-store-card-body">
								<p class="margin">
									<?php esc_html_e( 'Runs smoothly across all major browsers for consistent site experience.', 'deals-store' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="deals-store-card">
							<div class="deals-store-card-header">
								<span class="dashicons dashicons-video-alt3"></span>
									<h4 class="deals-store-card-header-mmm">
									<?php esc_html_e( 'Easy Customization', 'deals-store' ); ?>
								</h4>
							</div>
							<div class="deals-store-card-body">
								<p class="margin">
									<?php esc_html_e( 'Quickly personalize fonts, colors, and layouts using simple customization panel.', 'deals-store' ); ?>
								</p>
								
							</div>
						</div>
					</div>
				</div>
				
					<div class="<?php echo esc_attr( $quick_links_col ); ?>">
						<div class="deals-store-card">
							<div class="deals-store-card-header justify-content ">
								<span class="dashicons dashicons-admin-links"></span>
								<h4 class="deals-store-card-header-ttl">
									<?php esc_html_e( 'Quick Links', 'deals-store' ); ?>
								</h4>
							</div>
							<div class="deals-store-card-body">
								<div class="deals-store-card-btn-grp rrr">
									<a class="deals-store-btn deals-store-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', 'deals-store' ); ?>
									</a>
									<a class="deals-store-btn deals-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part&postId=' . DEALS_STORE_THEME_NAME . '%2F%2Ffooter&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Footer', 'deals-store' ); ?>
									</a>
									<a class="deals-store-btn deals-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part&postId=' . DEALS_STORE_THEME_NAME . '%2F%2Fsidebar&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Sidebar', 'deals-store' ); ?>
									</a>
									<a class="deals-store-btn deals-store-btn-primary-outline button button-hero btn-col" 
										href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . DEALS_STORE_THEME_NAME . '%2F%2Fhome&canvas=edit' ) ); ?>" 
										target="_blank">
										<?php esc_html_e( 'Edit Blog Home', 'deals-store' ); ?>
									</a>

									<a class="deals-store-btn deals-store-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', 'deals-store' ); ?>
									</a>
									<a class="deals-store-btn deals-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . DEALS_STORE_THEME_NAME . '%2F%2Ffront-page&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Frontpage', 'deals-store' ); ?>
									</a>
									<a class="deals-store-btn deals-store-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . DEALS_STORE_THEME_NAME . '%2F%2Farchive&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Archive Page', 'deals-store' ); ?>
									</a>
									<a class="deals-store-btn deals-store-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', 'deals-store' ); ?>
									</a>

									<a class="deals-store-btn deals-store-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', 'deals-store' ); ?>
									</a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<?php
				$faqs = function_exists( 'deals_store_get_theme_faq' ) ? deals_store_get_theme_faq() : null;
				if ( $faqs ) {
					?>
						<div class="row">
							<div class="col-12">
								<div class="deals-store-card">
									<div class="deals-store-card-header">
										<span class="dashicons dashicons-format-chat"></span>
										<h4 class="deals-store-card-header-ttl">
											<?php esc_html_e( 'Frequently Asked Questions', 'deals-store' ); ?>
										</h4>
									</div>
									<div class="deals-store-card-body">
										<div class="deals-store-accordion">
									<div class="deals-store-accordion ">
									<?php foreach ( $faqs as $key => $faq ) : ?>
										<details class="deals-store-accordion-section ">
											<summary class="deals-store-accordion-section-title">
												<h4 class="deals-store-accordion-heading">
													<span class="dashicons dashicons-arrow-right"></span>
													<?php echo esc_html( $faq['q'] ); ?>
												</h4>
											</summary>
											<div id="deals-store-info-faq-<?php echo esc_attr( $key ); ?>" class="deals-store-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="deals-store-main-sidebar">
				
				<div class="deals-store-card">
					<div class="deals-store-card-header abc">
						<h4 class="deals-store-card-header-ttl">
							<?php esc_html_e( 'Buy Premium Theme', 'deals-store' ); ?>
						</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.', 'deals-store' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/deals-store-wordpress-theme" target="_blank" rel="noopener noreferrer nofollow" class="deals-store-btn deals-store-btn-default button button-secodary button-hero cba cbaa" target="_blank">
						<?php esc_html_e( 'Buy Now $40', 'deals-store' ); ?>
					</a>
			
				</div>

				<div class="deals-store-card">
					<div class="bundle-image-wrap">
			            <img src="<?php echo esc_url( get_template_directory_uri() . '/images/bundle-image.png' ); ?>">
			        </div>
					<div class="deals-store-card-header abc">
						<h4 class="deals-store-card-header-ttl">
							<?php esc_html_e( 'Get All Themes', 'deals-store' ); ?>
						</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.', 'deals-store' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/wordpress-theme-bundle/" target="_blank" rel="noopener noreferrer nofollow" class="deals-store-btn deals-store-btn-default button button-secodary button-hero cba" target="_blank">
						<?php esc_html_e( 'Get All Block Themes $59', 'deals-store' ); ?>
					</a>
			
				</div>

			</div>
			</div>

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

