<?php

// Home Page Customizer panel.
$wp_customize->add_panel(
	'nice_blog_frontpage_panel',
	array(
		'title'    => esc_html__( 'Frontpage Sections', 'nice-blog' ),
		'priority' => 140,
	)
);

$customizer_settings = array( 'banner', 'categories', 'posts-grid' );

foreach ( $customizer_settings as $customizer ) {

	require get_template_directory() . '/inc/customizer/frontpage-customizer/' . $customizer . '.php';

}
