Skip to content

Commit

Permalink
Add locale suggestion banner (#2535)
Browse files Browse the repository at this point in the history
* Add to header template.

* Add to front page header pattern.
  • Loading branch information
renintw authored Jun 17, 2024
1 parent 6e0cc7b commit cc5a0f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wp-content/themes/pub/wporg-learn-2024/parts/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@
<!-- wp:navigation {"menuSlug":"learn","icon":"menu","overlayBackgroundColor":"charcoal-2","overlayTextColor":"white","layout":{"type":"flex","orientation":"horizontal"},"fontSize":"small"} /-->

<!-- /wp:wporg/local-navigation-bar -->

<!-- wp:wporg/language-suggest {"align":"full","style":{"color":{"background":"#ebebeb"}}} -->
<div class="wp-block-wporg-language-suggest alignfull has-background" style="background-color:#ebebeb"></div>
<!-- /wp:wporg/language-suggest -->
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@
</div>
<!-- /wp:group -->

<!-- wp:wporg/language-suggest {"align":"full","style":{"color":{"background":"#ebebeb"}}} -->
<div class="wp-block-wporg-language-suggest alignfull has-background" style="background-color:#ebebeb"></div>
<!-- /wp:wporg/language-suggest -->

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

0 comments on commit cc5a0f3

Please sign in to comment.