<?php
/**
 * Title: Sidebar
 * Slug: larder/sidebar-default
 * Categories: larder
 * Description: Default sidebar with search, recent posts, categories, and tags.
 * Keywords: sidebar
 * Inserter: false
 */

?>
<!-- wp:group {"className":"larder-sidebar","style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
<div class="wp-block-group larder-sidebar">

	<!-- wp:group {"layout":{"type":"default"}} -->
	<div class="wp-block-group">
		<!-- wp:heading {"level":3,"style":{"typography":{"textTransform":"uppercase","letterSpacing":"1px","fontSize":"1.2em","fontWeight":"900"}},"fontFamily":"body"} -->
		<h3 class="wp-block-heading has-body-font-family" style="font-size:1.2em;font-weight:900;letter-spacing:1px;text-transform:uppercase"><?php esc_html_e( 'Search', 'larder' ); ?></h3>
		<!-- /wp:heading -->

		<!-- wp:search {"label":"<?php esc_attr_e( 'Search', 'larder' ); ?>","showLabel":false,"placeholder":"<?php esc_attr_e( 'Search...', 'larder' ); ?>","buttonText":"<?php esc_attr_e( 'Search', 'larder' ); ?>","buttonUseIcon":true} /-->
	</div>
	<!-- /wp:group -->

	<!-- wp:group {"layout":{"type":"default"}} -->
	<div class="wp-block-group">
		<!-- wp:heading {"level":3,"style":{"typography":{"textTransform":"uppercase","letterSpacing":"1px","fontSize":"1.2em","fontWeight":"900"}},"fontFamily":"body"} -->
		<h3 class="wp-block-heading has-body-font-family" style="font-size:1.2em;font-weight:900;letter-spacing:1px;text-transform:uppercase"><?php esc_html_e( 'Recent posts', 'larder' ); ?></h3>
		<!-- /wp:heading -->

		<!-- wp:latest-posts {"postsToShow":5,"displayPostDate":true,"displayFeaturedImage":false,"fontSize":"small"} /-->
	</div>
	<!-- /wp:group -->

	<!-- wp:group {"layout":{"type":"default"}} -->
	<div class="wp-block-group">
		<!-- wp:heading {"level":3,"style":{"typography":{"textTransform":"uppercase","letterSpacing":"1px","fontSize":"1.2em","fontWeight":"900"}},"fontFamily":"body"} -->
		<h3 class="wp-block-heading has-body-font-family" style="font-size:1.2em;font-weight:900;letter-spacing:1px;text-transform:uppercase"><?php esc_html_e( 'Categories', 'larder' ); ?></h3>
		<!-- /wp:heading -->

		<!-- wp:categories {"fontSize":"small"} /-->
	</div>
	<!-- /wp:group -->

	<!-- wp:group {"layout":{"type":"default"}} -->
	<div class="wp-block-group">
		<!-- wp:heading {"level":3,"style":{"typography":{"textTransform":"uppercase","letterSpacing":"1px","fontSize":"1.2em","fontWeight":"900"}},"fontFamily":"body"} -->
		<h3 class="wp-block-heading has-body-font-family" style="font-size:1.2em;font-weight:900;letter-spacing:1px;text-transform:uppercase"><?php esc_html_e( 'Tags', 'larder' ); ?></h3>
		<!-- /wp:heading -->

		<!-- wp:tag-cloud {"numberOfTags":20,"showTagCounts":false,"smallestFontSize":"0.875rem","largestFontSize":"1rem"} /-->
	</div>
	<!-- /wp:group -->

</div>
<!-- /wp:group -->
