<?php
/**
 * Title: Header Logo
 * Slug: nutrawell/header-logo
 * Categories: nutrawell
 * Description: Conditional logo - different logo for front page vs other pages. CSS controls visibility.
 * Inserter: no
 */
?>
<!-- wp:group {"className":"logo-wrapper","layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group logo-wrapper">
	<!-- wp:image {"width":170,"height":25,"linkDestination":"custom","href":"<?php echo esc_url( home_url( '/' ) ); ?>","className":"logo site-logo-default"} -->
	<figure class="wp-block-image is-resized logo site-logo-default">
		<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
			<img src="<?php echo esc_url( get_template_directory_uri() . '/assets/img/Logo1.png' ); ?>" alt="<?php echo esc_attr__( 'Nutrawell', 'nutrawell' ); ?>" width="170" height="25"/>
		</a>
	</figure>
	<!-- /wp:image -->

	<!-- wp:image {"width":170,"height":25,"linkDestination":"custom","href":"<?php echo esc_url( home_url( '/' ) ); ?>","className":"logo front-page-logo"} -->
	<figure class="wp-block-image is-resized logo front-page-logo">
		<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
			<img src="<?php echo esc_url( get_template_directory_uri() . '/assets/img/Logo.png' ); ?>" alt="<?php echo esc_attr__( 'Nutrawell', 'nutrawell' ); ?>" width="170" height="25"/>
		</a>
	</figure>
	<!-- /wp:image -->
</div>
<!-- /wp:group -->