CoreFiles by mySites.guru
navigation-overlay.php19 lines, 1,248 bytes, from wordpress-7.0-beta2.zip
Raw History Compare with 7.0-beta1
md5
f069fbee1701316749bbc5c0a28fd515
sha1
85c6e4e7d2476d4f69f41355b6b8fb5f0807f735
sha256
00b7eb6418058a9ae6c6c5a79f823bc77020c6ba90050b947e54c494682f866a
<?php
/**
 * Navigation: Overlay.
 *
 * @package WordPress
 */

return array(
	'title'      => _x( 'Navigation Overlay', 'Block pattern title' ),
	'blockTypes' => array( 'core/template-part/navigation-overlay' ),
	'categories' => array( 'navigation' ),
	'content'    => '<!-- wp:group {"metadata":{"name":"' . esc_attr( __( 'Navigation Overlay' ) ) . '"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"white","layout":{"type":"default"}} -->
<div class="wp-block-group has-white-background-color has-background" style="min-height:100vh;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
<div class="wp-block-group alignwide"><!-- wp:navigation-overlay-close /--></div>
<!-- /wp:group -->

<!-- wp:navigation {"layout":{"type":"flex","orientation":"vertical"},"showSubmenuIcon":false,"submenuVisibility":"always"} /--></div>
<!-- /wp:group -->',
);

The same content is in 7 releases, WordPress 7.0-beta1 to 7.0-RC1. See them all, or every version of this file.