Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern: social in content #208

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion term/CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
- [spencerravago](https://github.com/spencerravago)
- [celiarozalenm](https://github.com/celiarozalenm)
- [liviopv](https://github.com/liviopv)
- [mlaetitia](https://github.com/mlaetitia)
- [mlaetitia](https://github.com/mlaetitia)
- [tdrayson](https://github.com/tdrayson)
29 changes: 29 additions & 0 deletions term/patterns/social-in-content.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php
/**
* Title: Social in content
* Slug: term/social-in-content
* Categories: text, call-to-action
*/
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:0;padding-bottom:0"><!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0","left":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}}}} -->
<div class="wp-block-columns" style="margin-top:0;margin-bottom:0"><!-- wp:column {"width":"50px"} -->
<div class="wp-block-column" style="flex-basis:50px"><!-- wp:social-links {"iconColor":"custom-beige","iconColorValue":"var(--wp--preset--color--custom-beige)","iconBackgroundColor":"custom-black","iconBackgroundColorValue":"var(--wp--preset--color--black)","style":{"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":{"top":"var:preset|spacing|40"}}},"className":"is-style-social-rounded-icons is-style-default","layout":{"type":"flex","orientation":"vertical","justifyContent":"center","flexWrap":"nowrap"}} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color is-style-social-rounded-icons is-style-default" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:social-link {"url":"#","service":"facebook","label":"Facebook"} /-->

<!-- wp:social-link {"url":"#","service":"instagram","label":"Instagram"} /-->

<!-- wp:social-link {"url":"#","service":"twitter","label":"Twitter"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:column -->

<!-- wp:column {"width":"100%"} -->
<div class="wp-block-column" style="flex-basis:100%"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.7"}}} -->
<p style="line-height:1.7">It was a boring time. Mid-pandemic. I just wanted to know what would happen, you know? How much water was too much water? Turns out, that’s a very easy question to answer. At some point, too much water is definitely too much water. Your plants will die.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.7"}}} -->
<p style="line-height:1.7">You see, <a href="#">too much water ends up rotting your roots</a>. Your plants need their roots in order to live. That’s like... well, anything I’d write here would be a little bit too gruesome. Let’s just say it’s bad.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->
Loading