create homepage pattern

This commit is contained in:
Aadil Ayub 2024-04-25 20:40:26 +05:00
parent 9704b87ba4
commit f0ff2dc946

View File

@ -1,24 +1,15 @@
<?php
/**
* Title: Landing Page
* Slug: cmt/home
* Description: Default content for the Home page
* Categories: cmt
*/
?>
<!-- wp:group {"layout":{"type":"constrained"}} --> <!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:image {"id":47,"metadata":{"name":"Hero"},"style":{"color":{}}} --> <div class="wp-block-group"><!-- wp:image {"id":47,"metadata":{"name":"Hero"},"style":{"color":[]}} -->
<figure class="wp-block-image"><img src="https://cmt.lotusopt.com/wp-content/uploads/2018/07/cmt-engineering-home-banner.jpg" alt="" class="wp-image-47" /></figure> <figure class="wp-block-image"><img src="https://cmt.lotusopt.com/wp-content/uploads/2018/07/cmt-engineering-home-banner.jpg" alt="" class="wp-image-47" /></figure>
<!-- /wp:image --> <!-- /wp:image -->
<!-- wp:columns {"verticalAlignment":null,"metadata":{"name":"Products"}} --> <!-- wp:columns {"metadata":{"name":"Products"}} -->
<div class="wp-block-columns"><!-- wp:column {"width":"33%","style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"backgroundColor":"primary","textColor":"white"} --> <div class="wp-block-columns"><!-- wp:column {"width":"33%","style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"backgroundColor":"primary","textColor":"white"} -->
<div class="wp-block-column has-white-color has-primary-background-color has-text-color has-background has-link-color" style="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);flex-basis:33%"><!-- wp:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} --> <div class="wp-block-column has-white-color has-primary-background-color has-text-color has-background has-link-color" style="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);flex-basis:33%"><!-- wp:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
<h2 class="wp-block-heading has-medium-font-size" style="text-transform:uppercase">Tubes &amp; Fittings</h2> <h2 class="wp-block-heading has-medium-font-size" style="text-transform:uppercase">Tubes &amp; Fittings</h2>
<!-- /wp:heading --> <!-- /wp:heading -->
<!-- wp:columns {"verticalAlignment":null,"isStackedOnMobile":false} --> <!-- wp:columns {"isStackedOnMobile":false} -->
<div class="wp-block-columns is-not-stacked-on-mobile"><!-- wp:column --> <div class="wp-block-columns is-not-stacked-on-mobile"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:image {"sizeSlug":"large"} --> <div class="wp-block-column"><!-- wp:image {"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://www.cmt-engineering.co.uk/wp-content/themes/cmtengineering/images/home-tubes-and-fittings.png" alt="" /></figure> <figure class="wp-block-image size-large"><img src="https://www.cmt-engineering.co.uk/wp-content/themes/cmtengineering/images/home-tubes-and-fittings.png" alt="" /></figure>
@ -119,8 +110,8 @@
</div> </div>
<!-- /wp:group --> <!-- /wp:group -->
<!-- wp:columns --> <!-- wp:columns {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-columns"><!-- wp:column {"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"backgroundColor":"primary","textColor":"white"} --> <div class="wp-block-columns" style="margin-bottom:var(--wp--preset--spacing--50)"><!-- wp:column {"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"backgroundColor":"primary","textColor":"white"} -->
<div class="wp-block-column has-white-color has-primary-background-color has-text-color has-background has-link-color" style="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:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} --> <div class="wp-block-column has-white-color has-primary-background-color has-text-color has-background has-link-color" style="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:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
<h2 class="wp-block-heading has-medium-font-size" style="text-transform:uppercase">Our Team</h2> <h2 class="wp-block-heading has-medium-font-size" style="text-transform:uppercase">Our Team</h2>
<!-- /wp:heading --> <!-- /wp:heading -->