[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/patterns/ -> cta-rsvp.php (source)

   1  <?php
   2  /**
   3   * Title: RSVP
   4   * Slug: twentytwentyfour/cta-rsvp
   5   * Categories: call-to-action, featured
   6   * Viewport width: 1100
   7   */
   8  ?>
   9  
  10  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'RSVP', 'Name of RSVP pattern', 'twentytwentyfour' ); ?>"},"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"backgroundColor":"accent-5","layout":{"type":"constrained"}} -->
  11  <div class="wp-block-group alignfull has-accent-5-background-color has-background" 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|30"}}}} -->
  13      <div class="wp-block-columns alignwide">
  14          <!-- wp:column {"verticalAlignment":"stretch","width":"40%"} -->
  15          <div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:40%">
  16              <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
  17              <div class="wp-block-group" style="min-height:100%">
  18  
  19                  <!-- wp:heading {"textAlign":"right","level":2,"style":{"typography":{"fontSize":"12rem","writingMode":"vertical-rl","lineHeight":"1"},"spacing":{"margin":{"right":"0","left":"calc( var(--wp--preset--spacing--20) * -1)"}}}} -->
  20                      <h2 class="wp-block-heading has-text-align-right" style="margin-right:0;margin-left:calc( var(--wp--preset--spacing--20) * -1);font-size:12rem;line-height:1;writing-mode:vertical-rl"><?php echo esc_html_x( 'RSVP', 'Initials for ´please respond´', 'twentytwentyfour' ); ?></h2>
  21                  <!-- /wp:heading -->
  22  
  23                  <!-- wp:group {"layout":{"type":"constrained","contentSize":"300px","justifyContent":"left"}} -->
  24                  <div class="wp-block-group">
  25                      <!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} -->
  26                      <p><?php echo esc_html_x( 'Experience the fusion of imagination and expertise with Études Arch Summit, February 2025.', 'RSVP call to action description', 'twentytwentyfour' ); ?></p>
  27                      <!-- /wp:paragraph -->
  28  
  29                      <!-- wp:buttons -->
  30                      <div class="wp-block-buttons">
  31                          <!-- wp:button -->
  32                          <div class="wp-block-button">
  33                              <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Reserve your spot', 'Call to action button text for the reservation button', 'twentytwentyfour' ); ?></a>
  34                          </div>
  35                          <!-- /wp:button -->
  36                      </div>
  37                      <!-- /wp:buttons -->
  38                  </div>
  39                  <!-- /wp:group -->
  40              </div>
  41              <!-- /wp:group -->
  42          </div>
  43          <!-- /wp:column -->
  44  
  45          <!-- wp:column {"verticalAlignment":"top","width":"60%"} -->
  46          <div class="wp-block-column is-vertically-aligned-top" style="flex-basis:60%">
  47              <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"large","linkDestination":"none","style":{"color":{"duotone":"var:preset|duotone|duotone-5"}},"className":"is-style-rounded"} -->
  48              <figure class="wp-block-image size-large is-style-rounded">
  49                  <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/museum.webp" alt="<?php esc_attr_e( 'A ramp along a curved wall in the Kiasma Museu, Helsinki, Finland', 'twentytwentyfour' ); ?>" style="aspect-ratio:3/4;object-fit:cover" />
  50              </figure>
  51              <!-- /wp:image -->
  52          </div>
  53          <!-- /wp:column -->
  54      </div>
  55      <!-- /wp:columns -->
  56  </div>
  57  <!-- /wp:group -->


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