tweak news pattern

This commit is contained in:
Aadil Ayub 2024-04-26 20:25:06 +05:00
parent 960ba34458
commit 0ed8cab0ff

View File

@ -8,57 +8,35 @@
*/ */
?> ?>
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} --> <!-- wp:query {"queryId":9,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":{"category":[7]}}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:spacer {"height":"14px"} --> <div class="wp-block-query"><!-- wp:post-template -->
<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns --> <!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"100%"} --> <div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"10%"} -->
<div class="wp-block-column" style="flex-basis:100%"><!-- wp:post-title {"style":{"typography":{"fontSize":"30px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /--></div> <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:10%"><!-- wp:post-date {"textAlign":"center","format":"F j, Y","style":{"typography":{"fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"textColor":"primary","fontSize":"medium"} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"80%"} -->
<div class="wp-block-column" style="flex-basis:80%"><!-- wp:post-title /-->
<!-- wp:post-excerpt /-->
<!-- wp:separator {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","className":"is-style-wide"} -->
<hr class="wp-block-separator has-text-color has-primary-color has-alpha-channel-opacity has-primary-background-color has-background is-style-wide" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)" />
<!-- /wp:separator -->
</div>
<!-- /wp:column --> <!-- /wp:column -->
</div> </div>
<!-- /wp:columns --> <!-- /wp:columns -->
<!-- /wp:post-template -->
<!-- wp:query {"queryId":9,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":{"category":[7]}}} --> <!-- wp:query-pagination {"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-query"><!-- wp:post-template --> <!-- wp:query-pagination-previous /-->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"10%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:10%"><!-- wp:post-date {"textAlign":"center","format":"F j, Y","style":{"typography":{"fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"textColor":"primary","fontSize":"medium"} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"80%"} --> <!-- wp:query-pagination-numbers /-->
<div class="wp-block-column" style="flex-basis:80%"><!-- wp:post-title /-->
<!-- wp:post-excerpt /--> <!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:separator {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"backgroundColor":"primary","className":"is-style-wide"} --> <!-- wp:query-no-results /-->
<hr class="wp-block-separator has-text-color has-primary-color has-alpha-channel-opacity has-primary-background-color has-background is-style-wide" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)" />
<!-- /wp:separator -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"layout":{"type":"flex","justifyContent":"center"}} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results -->
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results -->
</div>
<!-- /wp:query -->
<!-- wp:spacer {"height":"63px"} -->
<div style="height:63px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
</div> </div>
<!-- /wp:group --> <!-- /wp:query -->