link-in-bio-background-image.php 2.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Title: Link in Bio with background image
  4. * Slug: lynx/link-in-bio-background-image
  5. * Inserter: yes
  6. * Categories: featured, link-in-bio
  7. */
  8. ?>
  9. <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ) . '/assets/images/mountain-sunrise.jpg'; ?>","id":5826,"hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","isDark":false,"align":"full"} -->
  10. <div class="wp-block-cover alignfull is-light has-parallax" style="min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div role="img" class="wp-block-cover__image-background wp-image-5826 has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_template_directory_uri() ) . '/assets/images/mountain-sunrise.jpg'; ?>)"></div><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"inherit":false,"contentSize":"440px","type":"constrained"},"style":{"border":{"radius":"8px"}}} -->
  11. <div class="wp-block-group" style="border-radius:8px"><!-- wp:group {"style":{"border":{"radius":"8px"},"color":{"text":"#082167"},"spacing":{"padding":{"top":"60px","right":"60px","bottom":"60px","left":"60px"}}},"backgroundColor":"white"} -->
  12. <div class="wp-block-group has-white-background-color has-text-color has-background" style="border-radius:8px;color:#082167;padding-top:60px;padding-right:60px;padding-bottom:60px;padding-left:60px"><!-- wp:site-logo {"align":"center","className":"is-style-rounded"} /-->
  13. <!-- wp:site-title {"textAlign":"center","isLink":false,"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"large"} /-->
  14. <!-- wp:site-tagline {"textAlign":"center","style":{"typography":{"fontSize":"1.125rem"}}} /-->
  15. <!-- wp:social-links {"customIconBackgroundColor":"#082167","iconBackgroundColorValue":"#082167","style":{"spacing":{"blockGap":{"top":"10px","left":"10px"}}},"className":"is-style-default","layout":{"type":"flex","justifyContent":"center"}} -->
  16. <ul class="wp-block-social-links has-icon-background-color is-style-default"><!-- wp:social-link {"url":"#","service":"facebook"} /-->
  17. <!-- wp:social-link {"url":"#","service":"instagram"} /-->
  18. <!-- wp:social-link {"url":"#","service":"tiktok"} /-->
  19. <!-- wp:social-link {"url":"#","service":"twitter"} /-->
  20. <!-- wp:social-link {"url":"#","service":"youtube"} /--></ul>
  21. <!-- /wp:social-links --></div>
  22. <!-- /wp:group --></div>
  23. <!-- /wp:group --></div></div>
  24. <!-- /wp:cover -->