summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php')
-rw-r--r--wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php57
1 files changed, 57 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php b/wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php
new file mode 100644
index 0000000..9981065
--- /dev/null
+++ b/wp-content/themes/twentytwentyfour/patterns/cta-rsvp.php
@@ -0,0 +1,57 @@
+<?php
+/**
+ * Title: RSVP
+ * Slug: twentytwentyfour/cta-rsvp
+ * Categories: call-to-action, featured
+ * Viewport width: 1100
+ */
+?>
+
+<!-- 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"}} -->
+<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)">
+ <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|30"}}}} -->
+ <div class="wp-block-columns alignwide">
+ <!-- wp:column {"verticalAlignment":"stretch","width":"40%"} -->
+ <div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:40%">
+ <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
+ <div class="wp-block-group" style="min-height:100%">
+
+ <!-- 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)"}}}} -->
+ <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>
+ <!-- /wp:heading -->
+
+ <!-- wp:group {"layout":{"type":"constrained","contentSize":"300px","justifyContent":"left"}} -->
+ <div class="wp-block-group">
+ <!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} -->
+ <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>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:buttons -->
+ <div class="wp-block-buttons">
+ <!-- wp:button -->
+ <div class="wp-block-button">
+ <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>
+ </div>
+ <!-- /wp:button -->
+ </div>
+ <!-- /wp:buttons -->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"verticalAlignment":"top","width":"60%"} -->
+ <div class="wp-block-column is-vertically-aligned-top" style="flex-basis:60%">
+ <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"large","linkDestination":"none","style":{"color":{"duotone":"var:preset|duotone|duotone-5"}},"className":"is-style-rounded"} -->
+ <figure class="wp-block-image size-large is-style-rounded">
+ <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" />
+ </figure>
+ <!-- /wp:image -->
+ </div>
+ <!-- /wp:column -->
+ </div>
+ <!-- /wp:columns -->
+</div>
+<!-- /wp:group -->