<?php
/**
 * Block Name: Buttons
 *
 * This is the template that renders the Buttons block.
 *
 * @package CWC
 */

namespace CWC;

$ibClasses = 'flex flex-wrap gap-4 w-full justify-center sm:justify-start';

$classes = 'align-with-content my-[1.2em]';
$wrapper = blockWrapperAttributes( $classes, $is_preview );
?>

<div id="<?php echo esc_attr( $block['id'] ); ?>" <?php echo wp_kses_post( $wrapper ); ?>>
	<InnerBlocks className="<?php echo esc_attr( $ibClasses ); ?>" />
</div>
