<?php
/**
 * Title: Author Links
 * Slug: monowp/author-links
 * Inserter: false
 */
$author_email = get_the_author_meta( 'user_email' );
$author_url   = get_the_author_meta( 'user_url' );
?>

<!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#010101","openInNewTab":true,"className":"is-style-logos-only","layout":{"type":"flex","justifyContent":"center"}} -->
<ul class="wp-block-social-links has-icon-color is-style-logos-only">
<?php echo '<!-- wp:social-link {"url":"mailto:' . esc_attr( $author_email ) . '","service":"mail"} /-->'; ?>
<?php echo '<!-- wp:social-link {"url":"' . esc_attr( $author_url ) . '","service":"chain"} /-->'; ?>
</ul>
<!-- /wp:social-links -->
