Skip to content

Instantly share code, notes, and snippets.

@justintadlock
Created April 2, 2022 02:02
Show Gist options
  • Save justintadlock/86f0a4d532dfd420d1c198d967c18408 to your computer and use it in GitHub Desktop.
Save justintadlock/86f0a4d532dfd420d1c198d967c18408 to your computer and use it in GitHub Desktop.
Book review intro card using WordPress blocks.
<!-- wp:group {"align":"wide","style":{"color":{"background":"#384a5c"},"spacing":{"padding":{"top":"2rem","right":"2rem","bottom":"2rem","left":"2rem"}}},"textColor":"white"} -->
<div class="wp-block-group alignwide has-white-color has-text-color has-background" style="background-color:#384a5c;padding-top:2rem;padding-right:2rem;padding-bottom:2rem;padding-left:2rem"><!-- wp:media-text {"mediaId":6222,"mediaLink":"http://localhost/?attachment_id=6222","mediaType":"image","mediaWidth":40,"imageFill":false,"backgroundColor":"neutral-100"} -->
<div class="wp-block-media-text alignwide is-stacked-on-mobile has-neutral-100-background-color has-background" style="grid-template-columns:40% auto"><figure class="wp-block-media-text__media"><img src="http://localhost/wp-content/uploads/2021/06/ff-book-cover.jpg" alt="" class="wp-image-6222 size-full"/></figure><div class="wp-block-media-text__content"><!-- wp:group {"style":{"spacing":{"blockGap":{"top":"2rem","left":"2rem"}}}} -->
<div class="wp-block-group"><!-- wp:heading -->
<h2>Lightning Bugs</h2>
<!-- /wp:heading -->
<!-- wp:list -->
<ul><li>✍️ Written by Justin Tadlock</li><li>🔖 Tagged Adult Fiction</li><li>📚 Published by Words & Press</li><li>📅 Published on May 01, 2099</li><li>📃 599 Pages</li><li>⭐⭐⭐⭐⭐ / 5 Stars</li></ul>
<!-- /wp:list -->
<!-- wp:quote -->
<blockquote class="wp-block-quote"><p>"It's that--it's just that part of me thought that destroying something of yours would make us even. That top-siders could feel a fraction of what it's like to live in The Bunker. But, I look around here, and it makes me sad. What if the next bomb kills all the lightning bugs? They seem to be just going about their lives. Not a bother to anyone. You said you didn't know what their purpose was. I do. It's to bring beauty to a dying world."</p><cite>Alexa - Lightning Bugs</cite></blockquote>
<!-- /wp:quote --></div>
<!-- /wp:group --></div></div>
<!-- /wp:media-text --></div>
<!-- /wp:group -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment