Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events: Fix landing page image URLs #1114

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space"}}},"className":"wporg-events__footer-organize","layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group wporg-events__footer-organize"
style="padding-top:var(--wp--preset--spacing--edge-space);padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space)">
<!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"70%"}},"fontSize":"heading-4"} -->
<p class="has-heading-4-font-size">If you can't find a WordPress event around your area, you can become an organizer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
<div class="tiled-gallery__row">
<div class="tiled-gallery__col" style="flex-basis:65.48121%">
<figure class="tiled-gallery__item">
<img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-rectangle1.png" data-width="615" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-rectangle1.png" data-amp-layout="responsive" />
<img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/contributors-rectangle1.png" data-width="615" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/contributors-rectangle1.png" data-amp-layout="responsive" />
</figure>
</div>
</div>
<div class="tiled-gallery__row">
<div class="tiled-gallery__col">
<figure class="tiled-gallery__item"><img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-square1.png" data-width="298" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-square1.png" data-amp-layout="responsive" /></figure>
<figure class="tiled-gallery__item"><img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/contributors-square1.png" data-width="298" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/contributors-square1.png" data-amp-layout="responsive" /></figure>
</div>
<div class="tiled-gallery__col">
<figure class="tiled-gallery__item">
<img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-square2.png" data-width="297" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-square2.png" data-amp-layout="responsive" />
<img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/contributors-square2.png" data-width="297" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/contributors-square2.png" data-amp-layout="responsive" />
</figure>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.wporg-events__footer-organize {
@media (--small-only) {
&.is-layout-flex {
display: block;
}

& .wp-block-buttons.is-layout-flex {
display: block;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/* Base */
@import "base/breakpoints.pcss";
@import "base/layout.pcss";
@import "base/footer.pcss";

/* Pages */
@import "page/front-page/cover.pcss";
Expand Down
Loading