<?php
/**
 * Title: Mega Menu Category Links
 * Slug: informer/mega-category-links
 * Categories: informer
 * Inserter: yes
 */
$informer_mega_links = array(
	'mma'        => __( 'MMA', 'informer' ),
	'boxing'     => __( 'Boxing', 'informer' ),
	'kickboxing' => __( 'Kickboxing', 'informer' ),
);
?>
<!-- wp:group {"customId":"inf-ml-01","align":"wide","style":{"spacing":{"blockGap":"20px"},"typography":{"textTransform":"uppercase","fontSize":"14px","fontStyle":"normal","fontWeight":"700"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"center"}} -->
<div class="wp-block-group alignwide" style="font-size:14px;font-style:normal;font-weight:700;text-transform:uppercase">
<?php foreach ( $informer_mega_links as $informer_slug => $informer_label ) : ?>
<!-- wp:paragraph {"customId":"inf-ml-<?php echo esc_html( $informer_slug ); ?>","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
<p style="margin-top:0;margin-bottom:0"><a href="<?php echo esc_url( home_url( '/category/' . $informer_slug . '/' ) ); ?>"><?php echo esc_html( $informer_label ); ?></a></p>
<!-- /wp:paragraph -->
<?php endforeach; ?>
</div>
<!-- /wp:group -->
