Automattic / blockpatterns

Repo of block patterns to work with
7 stars 2 forks source link

Link in Bio with yellow background #239

Closed alaczek closed 2 years ago

alaczek commented 2 years ago

Frame 2

<!-- wp:cover {"customOverlayColor":"#fff1b5","minHeight":100,"minHeightUnit":"vh","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"4vw","right":"4vw","bottom":"4vw","left":"4vw"}}}} -->
<div class="wp-block-cover alignfull is-light" style="padding-top:4vw;padding-right:4vw;padding-bottom:4vw;padding-left:4vw;min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim" style="background-color:#fff1b5"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"blockGap":"24px"}}} -->
<div class="wp-block-group"><!-- wp:image {"align":"center","id":5809,"width":122,"height":122,"sizeSlug":"large","linkDestination":"none","style":{"border":{"width":"2px"}},"className":"is-style-rounded"} -->
<figure class="wp-block-image aligncenter size-large is-resized has-custom-border is-style-rounded"><img src="https://dotcompatterns.files.wordpress.com/2022/08/tyler-nix-sh3lsnbyj7k-unsplash.jpg?w=489" alt="" class="wp-image-5809" style="border-width:2px" width="122" height="122"/></figure>
<!-- /wp:image -->

<!-- wp:heading {"textAlign":"center","style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"5rem"}},"fontFamily":"space-mono"} -->
<h2 class="has-text-align-center has-space-mono-font-family has-custom-font" style="font-size:5rem;font-style:normal;font-weight:700;font-family:space-mono">Zoe Clapman</h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">Hey! Thanks for stopping by. Check out my links to not miss an episode.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"60px","bottom":"60px"}}},"layout":{"inherit":true}} -->
<div class="wp-block-group" style="margin-top:60px;margin-bottom:60px"><!-- wp:buttons {"style":{"spacing":{"blockGap":"16px"}}} -->
<div class="wp-block-buttons"><!-- wp:button {"textColor":"black","width":75,"align":"center","style":{"color":{"background":"#9ce2fe"},"border":{"radius":"100px"}},"className":"is-style-outline","fontFamily":"space-mono"} -->
<div class="wp-block-button aligncenter has-custom-width wp-block-button__width-75 is-style-outline has-space-mono-font-family has-custom-font" style="font-family:space-mono"><a class="wp-block-button__link has-black-color has-text-color has-background wp-element-button" style="border-radius:100px;background-color:#9ce2fe">Ep.1 Sunny Side Up</a></div>
<!-- /wp:button -->

<!-- wp:button {"textColor":"black","width":75,"align":"center","style":{"color":{"background":"#ffafce"},"border":{"radius":"100px"}},"className":"is-style-outline","fontFamily":"space-mono"} -->
<div class="wp-block-button aligncenter has-custom-width wp-block-button__width-75 is-style-outline has-space-mono-font-family has-custom-font" style="font-family:space-mono"><a class="wp-block-button__link has-black-color has-text-color has-background wp-element-button" style="border-radius:100px;background-color:#ffafce">Ep.2 Happy Mondays</a></div>
<!-- /wp:button -->

<!-- wp:button {"textColor":"black","width":75,"align":"center","style":{"color":{"background":"#acf5c1"},"border":{"radius":"100px"}},"className":"is-style-outline","fontFamily":"space-mono"} -->
<div class="wp-block-button aligncenter has-custom-width wp-block-button__width-75 is-style-outline has-space-mono-font-family has-custom-font" style="font-family:space-mono"><a class="wp-block-button__link has-black-color has-text-color has-background wp-element-button" style="border-radius:100px;background-color:#acf5c1">Ep.3 New York Cheese Cake</a></div>
<!-- /wp:button -->

<!-- wp:button {"textColor":"black","width":75,"align":"center","style":{"color":{"background":"#bebefe"},"border":{"radius":"100px"}},"className":"is-style-outline","fontFamily":"space-mono"} -->
<div class="wp-block-button aligncenter has-custom-width wp-block-button__width-75 is-style-outline has-space-mono-font-family has-custom-font" style="font-family:space-mono"><a class="wp-block-button__link has-black-color has-text-color has-background wp-element-button" style="border-radius:100px;background-color:#bebefe">Ep.4 Rainy Clouds</a></div>
<!-- /wp:button -->

<!-- wp:button {"textColor":"black","width":75,"align":"center","style":{"color":{"background":"#fec997"},"border":{"radius":"100px"}},"className":"is-style-outline","fontFamily":"space-mono"} -->
<div class="wp-block-button aligncenter has-custom-width wp-block-button__width-75 is-style-outline has-space-mono-font-family has-custom-font" style="font-family:space-mono"><a class="wp-block-button__link has-black-color has-text-color has-background wp-element-button" style="border-radius:100px;background-color:#fec997">Ep.5 Over the Rainbow</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->

Preview: https://dotcompatterns.wordpress.com/?p=5805&preview=true

alaczek commented 2 years ago

Blockbase seems to have a bug where Space Mono font is not displaying on the front end, I'll open an issue for this in the themes repo.

alaczek commented 2 years ago

Here's the issue: https://github.com/Automattic/themes/issues/6369

onuro commented 2 years ago

Yep. Maybe we can set theme default for that heading?

alaczek commented 2 years ago

The pattern is not throwing any errors or anything, so I'm going to publish it as is, and see how it behaves.