[ 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   */
   8  ?>
   9  
  10  <!-- 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"}} -->
  11  <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)">
  12      <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|60"}}}} -->
  13      <div class="wp-block-columns alignwide">
  14          <!-- wp:column {"verticalAlignment":"stretch","width":"60%","style":{"spacing":{"padding":{"right":"0"}}}} -->
  15          <div class="wp-block-column is-vertically-aligned-stretch" style="padding-right:0;flex-basis:60%">
  16              <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","justifyContent":"stretch"}} -->
  17              <div class="wp-block-group" style="min-height:100%">
  18                  <!-- wp:image {"aspectRatio":"9/16","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
  19                  <figure class="wp-block-image size-large is-style-rounded">
  20                      <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" />
  21                  </figure>
  22                  <!-- /wp:image -->
  23  
  24                  <!-- wp:paragraph {"fontSize":"medium"} -->
  25                  <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>
  26                  <!-- /wp:paragraph -->
  27              </div>
  28              <!-- /wp:group -->
  29          </div>
  30          <!-- /wp:column -->
  31  
  32          <!-- wp:column {"width":"40%"} -->
  33          <div class="wp-block-column" style="flex-basis:40%">
  34              <!-- wp:group {"layout":{"type":"constrained"}} -->
  35              <div class="wp-block-group">
  36                  <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2","fontStyle":"normal","fontWeight":"500"}},"fontSize":"large"} -->
  37                  <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>
  38                  <!-- /wp:paragraph -->
  39  
  40                  <!-- wp:spacer {"height":"var:preset|spacing|40","style":{"layout":{}}} -->
  41                  <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer">
  42                  </div>
  43                  <!-- /wp:spacer -->
  44  
  45                  <!-- wp:group {"layout":{"type":"default"}} -->
  46                  <div class="wp-block-group">
  47                      <!-- wp:paragraph {"fontSize":"medium"} -->
  48                      <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>
  49                      <!-- /wp:paragraph -->
  50  
  51                      <!-- wp:image {"aspectRatio":"9/16","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
  52                      <figure class="wp-block-image size-large is-style-rounded">
  53                          <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" />
  54                      </figure>
  55                      <!-- /wp:image -->
  56                  </div>
  57                  <!-- /wp:group -->
  58              </div>
  59              <!-- /wp:group -->
  60          </div>
  61          <!-- /wp:column -->
  62      </div>
  63      <!-- /wp:columns -->
  64  </div>
  65  <!-- /wp:group -->


Generated : Wed May 1 08:20:02 2024 Cross-referenced by PHPXref