[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/patterns/ -> gallery-project-layout.php (source)

   1  <?php
   2  /**
   3   * Title: Project layout
   4   * Slug: twentytwentyfour/gallery-project-layout
   5   * Categories: gallery, featured, portfolio
   6   * Viewport width: 1600
   7   * Description: A gallery section with a project layout with 2 images.
   8   */
   9  ?>
  10  
  11  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","right":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}}},"backgroundColor":"contrast","textColor":"base-2","layout":{"type":"constrained"}} -->
  12  <div class="wp-block-group alignfull has-base-2-color has-contrast-background-color has-text-color has-background has-link-color" style="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)">
  13      <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|60"}}}} -->
  14      <div class="wp-block-columns alignwide">
  15          <!-- wp:column {"verticalAlignment":"stretch","width":"60%","style":{"spacing":{"padding":{"right":"0"}}}} -->
  16          <div class="wp-block-column is-vertically-aligned-stretch" style="padding-right:0;flex-basis:60%">
  17              <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","justifyContent":"stretch"}} -->
  18              <div class="wp-block-group" style="min-height:100%">
  19                  <!-- wp:image {"aspectRatio":"9/16","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
  20                  <figure class="wp-block-image size-large is-style-rounded">
  21                      <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/angular-roof.webp" alt="<?php esc_attr_e( 'An empty staircase under an angular roof in Darling Harbour, Sydney, Australia', 'twentytwentyfour' ); ?>" style="aspect-ratio:9/16;object-fit:cover" />
  22                  </figure>
  23                  <!-- /wp:image -->
  24  
  25                  <!-- wp:paragraph {"fontSize":"medium"} -->
  26                  <p class="has-medium-font-size"><?php echo esc_html_x( '1. Through Études, we aspire to redefine architectural boundaries and usher in a new era of design excellence that leaves an indelible mark on the built environment.', 'Sample text for the feature area', 'twentytwentyfour' ); ?></p>
  27                  <!-- /wp:paragraph -->
  28              </div>
  29              <!-- /wp:group -->
  30          </div>
  31          <!-- /wp:column -->
  32  
  33          <!-- wp:column {"width":"40%"} -->
  34          <div class="wp-block-column" style="flex-basis:40%">
  35              <!-- wp:group {"layout":{"type":"constrained"}} -->
  36              <div class="wp-block-group">
  37                  <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2","fontStyle":"normal","fontWeight":"500"}},"fontSize":"large"} -->
  38                  <p class="has-large-font-size" style="font-style:normal;font-weight:500;line-height:1.2"><?php echo esc_html_x( 'Our comprehensive suite of professional services caters to a diverse clientele, ranging from homeowners to commercial developers. With a commitment to innovation and sustainability, Études is the bridge that transforms architectural dreams into remarkable built realities.', 'Sample text for the feature area', 'twentytwentyfour' ); ?></p>
  39                  <!-- /wp:paragraph -->
  40  
  41                  <!-- wp:spacer {"height":"var:preset|spacing|40","style":{"layout":{}}} -->
  42                  <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer">
  43                  </div>
  44                  <!-- /wp:spacer -->
  45  
  46                  <!-- wp:group {"layout":{"type":"default"}} -->
  47                  <div class="wp-block-group">
  48                      <!-- wp:paragraph {"fontSize":"medium"} -->
  49                      <p class="has-medium-font-size"><?php echo esc_html_x( '2. Case studies that celebrate the artistry can fuel curiosity and ignite inspiration.', 'Sample text for the feature area', 'twentytwentyfour' ); ?></p>
  50                      <!-- /wp:paragraph -->
  51  
  52                      <!-- wp:image {"aspectRatio":"9/16","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
  53                      <figure class="wp-block-image size-large is-style-rounded">
  54                          <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/art-gallery.webp" alt="<?php esc_attr_e( 'Art Gallery of Ontario, Toronto, Canada', 'twentytwentyfour' ); ?>" style="aspect-ratio:9/16;object-fit:cover" />
  55                      </figure>
  56                      <!-- /wp:image -->
  57                  </div>
  58                  <!-- /wp:group -->
  59              </div>
  60              <!-- /wp:group -->
  61          </div>
  62          <!-- /wp:column -->
  63      </div>
  64      <!-- /wp:columns -->
  65  </div>
  66  <!-- /wp:group -->


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