Skip to content

Commit a1a4d6c

Browse files
author
Ariel Jolo
committed
Adding patterns
1 parent e06b47d commit a1a4d6c

File tree

1 file changed

+29
-31
lines changed

1 file changed

+29
-31
lines changed

themes/osi/inc/block-patterns.php

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,38 @@ function register_osi_patterns() {
1616
'description' => __('Reusable header for AI template.', 'osi'),
1717
'categories' => ['ai'],
1818
'content' => <<<HTML
19-
<!-- wp:group {"align":"full"} -->
19+
<!-- wp:group {"align":"full","className":"header-header-two"} -->
2020
<div class="wp-block-group alignfull header-header-two">
21-
<!-- wp:html -->
22-
<div class="header-two-solari header-top">
23-
<div class="container">
24-
<div class="row">
25-
<div class="col-lg-12">
26-
<div class="header-top-m">
27-
<div class="left">
28-
<nav>
29-
<ul>
30-
<li><a href="https://opensource.org/about">About</a></li>
31-
<li><a href="https://opensource.org/osd">Open Source Definition</a></li>
32-
<li><a href="https://opensource.org/licenses">Licenses</a></li>
33-
<li><a href="https://opensource.org/blog">Blog</a></li>
34-
<li><a href="https://opensource.org/programs">Programs</a></li>
35-
<li><a href="https://members.opensource.org/join/">Join</a></li>
36-
</ul>
37-
</nav>
38-
</div>
39-
<div class="right">
40-
<ul class="social-header-top-h2">
41-
<li><a href="https://go.opensource.org/mastodon"><i class="fa-brands fa-mastodon"></i></a></li>
42-
<li><a href="https://bsky.app/profile/opensource.org"><i class="fa-brands fa-bluesky"></i></a></li>
43-
<li><a href="https://www.linkedin.com/company/open-source-initiative-osi-"><i class="fa-brands fa-linkedin-in"></i></a></li>
44-
<li><a href="https://www.reddit.com/user/opensourceinitiative/"><i class="fa-brands fa-reddit"></i></a></li>
45-
</ul>
46-
</div>
47-
</div>
48-
</div>
49-
</div>
21+
<!-- wp:columns {"className":"header-top"} -->
22+
<div class="wp-block-columns header-top">
23+
<!-- wp:column -->
24+
<div class="wp-block-column">
25+
<!-- wp:navigation {"orientation":"horizontal"} -->
26+
<ul class="wp-block-navigation">
27+
<!-- wp:navigation-link {"label":"About","url":"https://opensource.org/about"} /-->
28+
<!-- wp:navigation-link {"label":"Open Source Definition","url":"https://opensource.org/osd"} /-->
29+
<!-- wp:navigation-link {"label":"Licenses","url":"https://opensource.org/licenses"} /-->
30+
<!-- wp:navigation-link {"label":"Blog","url":"https://opensource.org/blog"} /-->
31+
<!-- wp:navigation-link {"label":"Programs","url":"https://opensource.org/programs"} /-->
32+
<!-- wp:navigation-link {"label":"Join","url":"https://members.opensource.org/join/"} /-->
33+
</ul>
34+
<!-- /wp:navigation -->
35+
</div>
36+
<!-- /wp:column -->
37+
<!-- wp:column -->
38+
<div class="wp-block-column">
39+
<!-- wp:social-links {"iconColor":"primary","iconBackgroundColor":"background","className":"social-header-top-h2"} -->
40+
<ul class="wp-block-social-links social-header-top-h2">
41+
<!-- wp:social-link {"url":"https://go.opensource.org/mastodon","service":"mastodon"} /-->
42+
<!-- wp:social-link {"url":"https://bsky.app/profile/opensource.org","service":"bluesky"} /-->
43+
<!-- wp:social-link {"url":"https://www.linkedin.com/company/open-source-initiative-osi-","service":"linkedin"} /-->
44+
<!-- wp:social-link {"url":"https://www.reddit.com/user/opensourceinitiative/","service":"reddit"} /-->
45+
</ul>
46+
<!-- /wp:social-links -->
5047
</div>
48+
<!-- /wp:column -->
5149
</div>
52-
<!-- /wp:html -->
50+
<!-- /wp:columns -->
5351
</div>
5452
<!-- /wp:group -->
5553
HTML,

0 commit comments

Comments
 (0)