<?php echo view ('header.php') ?>
    <main class="pt-28">
        <div class="max-w-7xl mx-auto px-4 py-8">
            <!-- Page Header -->
             <?php
             if(!empty($page)){
                ?>
                <?php echo $page['section1']?>
                <!-- Content Area -->
                <?php echo $page['section2']?>
                <?php
             }
             ?>
              
        </div>
    </main>
    
<?php echo view ('footer.php') ?>