[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: RSVP landing
   4   * Slug: twentytwentyfour/page-rsvp-landing
   5   * Categories: twentytwentyfour_page
   6   * Keywords: starter
   7   * Block Types: core/post-content
   8   * Post Types: page, wp_template
   9   * Viewport width: 1100
  10   * Description: A large RSVP heading sideways, a description, and a CTA button.
  11   */
  12  ?>
  13  
  14  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'RSVP Landing Page', 'Name of RSVP landing page 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"}},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"accent-4","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center","justifyContent":"center","flexWrap":"nowrap"}} -->
  15  <div class="wp-block-group alignfull has-accent-4-background-color has-background" 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)">
  16      <!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"}}}} -->
  17      <div class="wp-block-columns alignwide are-vertically-aligned-center">
  18          <!-- wp:column {"verticalAlignment":"center","width":"40%"} -->
  19          <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:40%">
  20              <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"0","bottom":"0"},"padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
  21              <div class="wp-block-group" style="min-height:100%;margin-top:0;margin-bottom:0;padding-right:0;padding-left:0">
  22                  <!-- wp:heading {"textAlign":"right","level":1,"style":{"typography":{"fontSize":"12rem","writingMode":"vertical-rl","lineHeight":"1"},"spacing":{"margin":{"right":"0","left":"calc( var(--wp--preset--spacing--20) * -1)"}}}} -->
  23                      <h1 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' ); ?></h1>
  24                  <!-- /wp:heading -->
  25                  <!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"constrained","contentSize":"300px","justifyContent":"left"}} -->
  26                  <div class="wp-block-group" style="padding-right:0;padding-left:0">
  27                      <!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} -->
  28                          <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>
  29                      <!-- /wp:paragraph -->
  30                      <!-- wp:buttons -->
  31                      <div class="wp-block-buttons">
  32                          <!-- wp:button -->
  33                          <div class="wp-block-button">
  34                              <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>
  35                          </div>
  36                          <!-- /wp:button -->
  37                      </div>
  38                      <!-- /wp:buttons -->
  39                  </div>
  40                  <!-- /wp:group -->
  41              </div>
  42              <!-- /wp:group -->
  43          </div>
  44          <!-- /wp:column -->
  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","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/green-staircase.webp" alt="<?php esc_attr_e( 'Green staircase at Western University, London, Canada', '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 : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref