<?php get_header(); ?>

<div id="homeIntroImg">
	<img src="<?php echo get_site_url(); ?>/wp-content/uploads/2016/09/introLogo.png" />
</div>

<?php
	$thepages = get_pages( array( 'child_of' => $post->ID, 'sort_column' => 'menu_order', 'sort_order' => 'asc' ) );
	$count = 0;
	foreach( $thepages as $page ) {	
		$count++;	
		$content = $page->post_content;

		$content = apply_filters( 'the_content', $content );
	?>
        <div class="wrapper section section<?php echo $count;?>">	
            <div class="mainContent">
                <?php echo $content; ?>
                <div style="clear:both;"></div>
            </div>
            
        </div>
	<?php
	}	
	?>	
<?php get_footer(); ?>