<?php
$base_dir = __DIR__ . '/Base';
$static_url = '/Resido/assets'; // Ensure this is the correct path

// Include the common navlink content
ob_start();
include "$base_dir/navbar.php"; // This file contains the shared navlink content
$navlink_content = ob_get_clean(); // Capture the navlink content
$page= 'nav';
$fpage= 'foot';

// Optionally define the Hero block content
ob_start();
?>
			
<!-- ============================ Page Title Start================================== -->
<div class="page-title">
	<div class="container">
		<div class="row">
			<div class="col-lg-12 col-md-12">
				
				<h2 class="ipt-title">Our Articles</h2>
				<span class="ipn-subtitle">See Our Latest Articles & News</span>
				
			</div>
		</div>
	</div>
</div>
<!-- ============================ Page Title End ================================== -->

<!-- ============================ Blog List Start ================================== -->
<section class="gray-simple">

	<div class="container">
	
		<div class="row">
			<div class="col text-center">
				<div class="sec-heading center">
					<h2>Latest News</h2>
					<p>We post regulary most powerful articles for help and support.</p>
				</div>
			</div>
		</div>
	
		<!-- row Start -->
		<div class="row justify-content-center g-4">
			
			<!-- blog1 code  -->
			<?php
				include "$base_dir/Components/Pages/blog1.php";
			?>
			
		</div>
		<!-- /row -->

		<!-- Pagination -->
		<div class="row">
			<div class="col-lg-12 col-md-12 col-sm-12">
				<ul class="pagination p-center">
					<li class="page-item">
						<a class="page-link" href="#" aria-label="Previous">
						<i class="fa-solid fa-arrow-left-long"></i>
						<span class="sr-only">Previous</span>
						</a>
					</li>
					<li class="page-item"><a class="page-link" href="#">1</a></li>
					<li class="page-item"><a class="page-link" href="#">2</a></li>
					<li class="page-item active"><a class="page-link" href="#">3</a></li>
					<li class="page-item"><a class="page-link" href="#">...</a></li>
					<li class="page-item"><a class="page-link" href="#">18</a></li>
					<li class="page-item">
						<a class="page-link" href="#" aria-label="Next">
						<i class="fa-solid fa-arrow-right-long"></i>
						<span class="sr-only">Next</span>
						</a>
					</li>
				</ul>
			</div>
		</div>					
		
	</div>
			
</section>
<!-- ============================ Blog List End ================================== -->

<!-- ============================ Call To Action ================================== -->
<section class="bg-primary call-to-act-wrap">
	<div class="container">
		
		<!-- estate-agent code  -->
		<?php
			include "$base_dir/Components/Home/estate-agent.php";
		?>

	</div>
</section>
<!-- ============================ Call To Action End ================================== -->


			

<?php
$hero_content = ob_get_clean(); // Capture the hero content

// Include the base template
include "$base_dir/style/base.php";
?>