| 1 |
<?php |
| 2 |
/** |
| 3 |
* Header: Simple header. |
| 4 |
* |
| 5 |
* @package WordPress |
| 6 |
*/ |
| 7 |
|
| 8 |
return array( |
| 9 |
'title' => _x( 'Simple header', 'Block pattern title', 'gutenberg' ), |
| 10 |
'blockTypes' => array( 'core/template-part/header' ), |
| 11 |
'categories' => array( 'header' ), |
| 12 |
'content' => '<!-- wp:group {"layout":{"inherit":true}} --> |
| 13 |
<div class="wp-block-group"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"1em","top":"1em"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> |
| 14 |
<div class="wp-block-group alignwide" style="padding-top:1em;padding-bottom:1em"><!-- wp:group {"layout":{"type":"flex"}} --> |
| 15 |
<div class="wp-block-group"><!-- wp:site-logo {"width":60} /--> |
| 16 |
|
| 17 |
<!-- wp:site-title /--></div> |
| 18 |
<!-- /wp:group --> |
| 19 |
|
| 20 |
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /--></div> |
| 21 |
<!-- /wp:group --></div> |
| 22 |
<!-- /wp:group -->', |
| 23 |
); |
| 24 |
|