[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> page-link-in-bio-with-tight-margins.php (source)

   1  <?php
   2  /**
   3   * Title: Link in bio with tight margins
   4   * Slug: twentytwentyfive/page-link-in-bio-with-tight-margins
   5   * Categories: twentytwentyfive_page, banner
   6   * Keywords: starter
   7   * Block Types: core/post-content
   8   * Post Types: page, wp_template
   9   * Viewport width: 1400
  10   * Description: A full-width, full-height link in bio section with an image, a paragraph and social links.
  11   *
  12   * @package WordPress
  13   * @subpackage Twenty_Twenty_Five
  14   * @since Twenty Twenty-Five 1.0
  15   */
  16  
  17  ?>
  18  <!-- wp:group {"align":"full","className":"is-style-section-5","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}},"dimensions":{"minHeight":"100vh"}},"layout":{"type":"default"}} -->
  19  <div class="wp-block-group alignfull is-style-section-5" style="min-height:100vh;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
  20      <!-- wp:columns {"align":"full","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"}}}} -->
  21      <div class="wp-block-columns alignfull">
  22          <!-- wp:column -->
  23          <div class="wp-block-column">
  24              <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/link-in-bio-image.webp","alt":"Black and white photo focusing on a woman and a child from afar.","dimRatio":0,"customOverlayColor":"#818181","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","isDark":false,"layout":{"type":"default"}} -->
  25              <div class="wp-block-cover is-light" style="min-height:100vh">
  26                  <span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#818181"></span>
  27                  <img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Black and white photo focusing on a woman and a child from afar.', 'twentytwentyfive' ); ?>" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/link-in-bio-image.webp" data-object-fit="cover"/><div class="wp-block-cover__inner-container">
  28  
  29                  <!-- wp:spacer {"height":"var:preset|spacing|20"} -->
  30                  <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div>
  31                  <!-- /wp:spacer -->
  32              </div></div>
  33              <!-- /wp:cover -->
  34          </div>
  35          <!-- /wp:column -->
  36  
  37          <!-- wp:column -->
  38          <div class="wp-block-column">
  39              <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","flexWrap":"nowrap","justifyContent":"stretch"}} -->
  40              <div class="wp-block-group" style="min-height:100%">
  41                  <!-- wp:paragraph {"align":"left","style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large"} -->
  42                  <p class="has-text-align-left has-x-large-font-size" style="line-height:1.2"><?php esc_html_e( 'I’m Asahachi Kōno, a Japanese photographer, a member of Los Angeles’s Japanese Camera Pictorialists of California. Before returning to Japan, I worked as a photo retoucher.', 'twentytwentyfive' ); ?></p>
  43                  <!-- /wp:paragraph -->
  44  
  45                  <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
  46                  <div class="wp-block-group">
  47                      <!-- wp:paragraph -->
  48                      <p><a href="#"><?php esc_html_e( 'Instagram', 'twentytwentyfive' ); ?></a></p>
  49                      <!-- /wp:paragraph -->
  50  
  51                      <!-- wp:paragraph -->
  52                      <p><a href="#"><?php echo esc_html_x( 'X', 'Refers to the social media platform formerly known as Twitter.', 'twentytwentyfive' ); ?></a></p>
  53                      <!-- /wp:paragraph -->
  54  
  55                      <!-- wp:paragraph -->
  56                      <p><a href="#"><?php esc_html_e( 'TikTok', 'twentytwentyfive' ); ?></a></p>
  57                      <!-- /wp:paragraph -->
  58                  </div>
  59                  <!-- /wp:group -->
  60              </div>
  61              <!-- /wp:group -->
  62          </div>
  63          <!-- /wp:column -->
  64      </div>
  65      <!-- /wp:columns -->
  66  </div>
  67  <!-- /wp:group -->


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref