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

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

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




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

									<a class="charity-trust-btn charity-trust-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', 'charity-trust' ); ?>
									</a>
									<a class="charity-trust-btn charity-trust-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . CHARITY_TRUST_THEME_NAME . '%2F%2Ffront-page&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Frontpage', 'charity-trust' ); ?>
									</a>
									<a class="charity-trust-btn charity-trust-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . CHARITY_TRUST_THEME_NAME . '%2F%2Farchive&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Archive Page', 'charity-trust' ); ?>
									</a>
									<a class="charity-trust-btn charity-trust-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', 'charity-trust' ); ?>
									</a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<?php
				$faqs = function_exists( 'charity_trust_get_theme_faq' ) ? charity_trust_get_theme_faq() : null;
				if ( $faqs ) {
					?>
						<div class="row">
							<div class="col-12">
								<div class="charity-trust-card">
									<div class="charity-trust-card-header">
										<span class="dashicons dashicons-format-chat"></span>
										<h4 class="charity-trust-card-header-ttl">
											<?php esc_html_e( 'Frequently Asked Questions', 'charity-trust' ); ?>
										</h4>
									</div>
									<div class="charity-trust-card-body">
										<div class="charity-trust-accordion">
									<div class="charity-trust-accordion ">
									<?php foreach ( $faqs as $key => $faq ) : ?>
										<details class="charity-trust-accordion-section ">
											<summary class="charity-trust-accordion-section-title">
												<h4 class="charity-trust-accordion-heading">
													<span class="dashicons dashicons-arrow-right"></span>
													<?php echo esc_html( $faq['q'] ); ?>
												</h4>
											</summary>
											<div id="charity-trust-info-faq-<?php echo esc_attr( $key ); ?>" class="charity-trust-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="charity-trust-main-sidebar">
				
				<div class="charity-trust-card">
					<div class="charity-trust-card-header abc">
						<h4 class="charity-trust-card-header-ttl">
							<?php esc_html_e( 'Buy Premium Theme', 'charity-trust' ); ?>
						</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.', 'charity-trust' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/charity-trust-wordpress-theme/" target="_blank" rel="noopener noreferrer nofollow" class="charity-trust-btn charity-trust-btn-default button button-secodary button-hero cba cbaa" target="_blank">
						<?php esc_html_e( 'Buy Now $40', 'charity-trust' ); ?>
					</a>
			
				</div>

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

			</div>
			</div>

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

