mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-31 07:49:38 +01:00
35 lines
1.4 KiB
PHP
35 lines
1.4 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Title: Header with columns
|
||
|
* Slug: twentytwentyfive/header-columns
|
||
|
* Categories: header
|
||
|
* Block Types: core/template-part/header
|
||
|
* Description: Header with site title and navigation in columns.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Twenty_Twenty_Five
|
||
|
* @since Twenty Twenty-Five 1.0
|
||
|
*/
|
||
|
|
||
|
?>
|
||
|
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||
|
<div class="wp-block-group">
|
||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
|
||
|
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--60)">
|
||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20","padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"layout":{"type":"constrained"}} -->
|
||
|
<div class="wp-block-group" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||
|
<!-- wp:site-title {"level":0} /-->
|
||
|
<!-- wp:site-tagline /-->
|
||
|
</div>
|
||
|
<!-- /wp:group -->
|
||
|
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
|
||
|
<div class="wp-block-group">
|
||
|
<!-- wp:navigation {"layout":{"type":"flex","orientation":"vertical"}} /-->
|
||
|
</div>
|
||
|
<!-- /wp:group -->
|
||
|
<!-- wp:site-logo /-->
|
||
|
</div>
|
||
|
<!-- /wp:group -->
|
||
|
</div>
|
||
|
<!-- /wp:group -->
|