Automattic / blockpatterns

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

Link in Bio (Link Cloud) #252

Closed alaczek closed 2 years ago

alaczek commented 2 years ago

Frame 4624

<!-- wp:cover {"overlayColor":"background","minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","isDark":false,"align":"wide"} -->
<div class="wp-block-cover alignwide is-light" style="min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"inherit":false,"contentSize":"640px"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"align":"left","placeholder":"Write title…","style":{"color":{"text":"#00000099"}},"fontSize":"small"} -->
<p class="has-text-align-left has-text-color has-small-font-size" style="color:#00000099">I’m Matt, an artist living in New York City.</p>
<!-- /wp:paragraph -->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"#f85a9c"}}},"typography":{"fontSize":"4rem","letterSpacing":"-1px","lineHeight":"1.2"}}} -->
<p class="has-link-color" style="font-size:4rem;letter-spacing:-1px;line-height:1.2"><a href="#">Instagram.</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"#456eff"}}},"typography":{"fontSize":"4rem","letterSpacing":"-1px","lineHeight":"1.2"}}} -->
<p class="has-link-color" style="font-size:4rem;letter-spacing:-1px;line-height:1.2"><a href="#">Twitter.</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"#0833cd"}}},"typography":{"fontSize":"4rem","letterSpacing":"-1px","lineHeight":"1.2"}}} -->
<p class="has-link-color" style="font-size:4rem;letter-spacing:-1px;line-height:1.2"><a href="#">LinkedIn.</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"#848484"}}},"typography":{"fontSize":"4rem","letterSpacing":"-1px","lineHeight":"1.2"}}} -->
<p class="has-link-color" style="font-size:4rem;letter-spacing:-1px;line-height:1.2"><a href="#">Email.</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"4rem","letterSpacing":"-1px","lineHeight":"1.2"},"elements":{"link":{"color":{"text":"#e80fc5"}}}}} -->
<p class="has-link-color" style="font-size:4rem;letter-spacing:-1px;line-height:1.2"><a href="#">Dribble.</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"#e12a2a"}}},"typography":{"fontSize":"4rem","letterSpacing":"-1px","lineHeight":"1.2"}}} -->
<p class="has-link-color" style="font-size:4rem;letter-spacing:-1px;line-height:1.2"><a href="#">Soundcloud.</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"#0bb544"}}},"typography":{"fontSize":"4rem","letterSpacing":"-1px","lineHeight":"1.2"}}} -->
<p class="has-link-color" style="font-size:4rem;letter-spacing:-1px;line-height:1.2"><a href="#">Website.</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->

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

alaczek commented 2 years ago

The goal with this one is to display every link on a separate line on mobile. It's almost there, except for the Email link. I guess one way to do it would be to change the order and put email last...

onuro commented 2 years ago

I think this is straight up cool. Works fine with other themes in mobile as well. Agree w the email link to be the last

alaczek commented 2 years ago

Actually, when I preview on mobile each link does sit on the new line, so I'm going to publish as-is, and make changes later if needed.