import theme from Albatros dev site
BIN
assets/fonts/Lato-Black.ttf
Normal file
BIN
assets/fonts/Lato-BlackItalic.ttf
Normal file
BIN
assets/fonts/Lato-Bold.ttf
Normal file
BIN
assets/fonts/Lato-BoldItalic.ttf
Normal file
BIN
assets/fonts/Lato-Italic.ttf
Normal file
BIN
assets/fonts/Lato-Light.ttf
Normal file
BIN
assets/fonts/Lato-LightItalic.ttf
Normal file
BIN
assets/fonts/Lato-Regular.ttf
Normal file
BIN
assets/fonts/Lato-Thin.ttf
Normal file
BIN
assets/fonts/Lato-ThinItalic.ttf
Normal file
BIN
assets/images/cmt-engineering-logo.png
Normal file
After Width: | Height: | Size: 101 KiB |
BIN
assets/images/footer-contact-address-icon.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
assets/images/footer-contact-email-icon.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
assets/images/footer-contact-telephone-icon.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
assets/images/footer-contact-website-icon.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
assets/images/itf-logo.jpg
Normal file
After Width: | Height: | Size: 16 KiB |
24
functions.php
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
// Exit if accessed directly
|
||||||
|
if ( !defined( 'ABSPATH' ) ) exit;
|
||||||
|
|
||||||
|
// BEGIN ENQUEUE PARENT ACTION
|
||||||
|
// AUTO GENERATED - Do not modify or remove comment markers above or below:
|
||||||
|
|
||||||
|
if ( !function_exists( 'chld_thm_cfg_locale_css' ) ):
|
||||||
|
function chld_thm_cfg_locale_css( $uri ){
|
||||||
|
if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . '/rtl.css' ) )
|
||||||
|
$uri = get_template_directory_uri() . '/rtl.css';
|
||||||
|
return $uri;
|
||||||
|
}
|
||||||
|
endif;
|
||||||
|
add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' );
|
||||||
|
|
||||||
|
if ( !function_exists( 'child_theme_configurator_css' ) ):
|
||||||
|
function child_theme_configurator_css() {
|
||||||
|
wp_enqueue_style( 'chld_thm_cfg_child', trailingslashit( get_stylesheet_directory_uri() ) . 'style.css', array( ) );
|
||||||
|
}
|
||||||
|
endif;
|
||||||
|
add_action( 'wp_enqueue_scripts', 'child_theme_configurator_css', 10 );
|
||||||
|
|
||||||
|
// END ENQUEUE PARENT ACTION
|
1
parts/footer.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!-- wp:template-part {"slug":"new-footer","area":"footer"} /-->
|
1
parts/header.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!-- wp:template-part {"slug":"new-header","tagName":"header","area":"header"} /-->
|
1
parts/new-footer.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!-- wp:pattern {"slug":"/new-footer"} /-->
|
1
parts/new-header.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!-- wp:pattern {"slug":"/new-header"} /-->
|
21
parts/product-list-generator-2.html
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<!-- wp:query {"queryId":16,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
|
||||||
|
<!-- wp:post-title {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"color":{"background":"#12326e"},"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"none"}},"textColor":"base-2","fontSize":"medium"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"160px","height":"150px","linkTarget":"_blank","style":{"border":{"radius":"0px","width":"0px","style":"none"},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"0","left":"var:preset|spacing|50"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:read-more {"content":"View Product","style":{"color":{"background":"#12326e"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"typography":{"fontSize":"20px"},"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"0","bottom":"0","left":"35%","right":"35%"}}},"textColor":"base-2"} /-->
|
||||||
|
|
||||||
|
<!-- wp:buttons -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"textColor":"base-2","width":100,"style":{"color":{"background":"#2e4a7f"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-base-2-color has-text-color has-background has-link-color wp-element-button" style="background-color:#2e4a7f" rel="">View Product</a></div>
|
||||||
|
<!-- /wp:button --></div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
|
<!-- 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 -->
|
21
parts/product-list-generator.html
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<!-- wp:query {"queryId":16,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
|
||||||
|
<!-- wp:post-title {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"color":{"background":"#12326e"},"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"none"}},"textColor":"base-2","fontSize":"medium"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"160px","height":"150px","linkTarget":"_blank","style":{"border":{"radius":"0px","width":"0px","style":"none"},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"0","left":"var:preset|spacing|50"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:read-more {"content":"View Product","style":{"color":{"background":"#12326e"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"typography":{"fontSize":"20px"},"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"0","bottom":"0","left":"35%","right":"35%"}}},"textColor":"base-2"} /-->
|
||||||
|
|
||||||
|
<!-- wp:buttons -->
|
||||||
|
<div class="wp-block-buttons"><!-- wp:button {"textColor":"base-2","width":100,"style":{"color":{"background":"#2e4a7f"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}}}} -->
|
||||||
|
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-base-2-color has-text-color has-background has-link-color wp-element-button" style="background-color:#2e4a7f" rel="">View Product</a></div>
|
||||||
|
<!-- /wp:button --></div>
|
||||||
|
<!-- /wp:buttons -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
|
<!-- 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 -->
|
95
patterns/new-footer.php
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: new-footer
|
||||||
|
* Slug: /new-footer
|
||||||
|
* Categories: hidden
|
||||||
|
* Inserter: no
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<!-- wp:group {"style":{"color":{"background":"#12326e"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}}},"textColor":"base-2","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-2-color has-text-color has-background has-link-color" style="background-color:#12326e"><!-- wp:group {"style":{"color":{"background":"#12326e"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||||
|
<div class="wp-block-group has-background" style="background-color:#12326e"><!-- wp:paragraph {"align":"center","style":{"color":{"background":"#12326e"},"layout":{"selfStretch":"fill","flexSize":null},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}}},"textColor":"base-2","fontSize":"medium"} -->
|
||||||
|
<p class="has-text-align-center has-base-2-color has-text-color has-background has-link-color has-medium-font-size" style="background-color:#12326e">CONTACT US</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:group --></div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"color":{"background":"#12326e"},"spacing":{"padding":{"top":"0","bottom":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"textColor":"base-2","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-2-color has-text-color has-background has-link-color" style="background-color:#12326e;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column {"style":{"color":{"background":"#12326e"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"spacing":{"padding":{"right":"0px","left":"0px","top":"0","bottom":"0"}}},"textColor":"base-2","layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-column has-base-2-color has-text-color has-background has-link-color" style="background-color:#12326e;padding-top:0;padding-right:0px;padding-bottom:0;padding-left:0px"><!-- wp:unapersona/simple-iframe {"iframeWidth":"624"} -->
|
||||||
|
<div class="placeholder">Please fill the Iframe URL</div>
|
||||||
|
<!-- /wp:unapersona/simple-iframe --></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:heading {"textAlign":"left","level":3,"style":{"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"color":{"background":"#12326e"},"typography":{"fontSize":"1rem"},"spacing":{"margin":{"right":"0","left":"0"},"padding":{"top":"var:preset|spacing|10","bottom":"var:preset|spacing|10","left":"0","right":"0"}}},"textColor":"base-2"} -->
|
||||||
|
<h3 class="wp-block-heading has-text-align-left has-base-2-color has-text-color has-background has-link-color" style="background-color:#12326e;margin-right:0;margin-left:0;padding-top:var(--wp--preset--spacing--10);padding-right:0;padding-bottom:var(--wp--preset--spacing--10);padding-left:0;font-size:1rem">Contact Details</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"color":{"background":"#12326e"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}}},"textColor":"base-2","fontSize":"small"} -->
|
||||||
|
<p class="has-base-2-color has-text-color has-background has-link-color has-small-font-size" style="background-color:#12326e">Should you wish to discuss your requirements with us, or enquire about our range of tube fittings and clamps, please don't hesitate to get in touch with us using the details below or by completing the enquiry form on our <a href="https://www.cmt-engineering.co.uk/contact-us/">Contact</a> page.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"top"} -->
|
||||||
|
<div class="wp-block-column is-vertically-aligned-top"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||||
|
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/footer-contact-address-icon.png" alt="" class=""/></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||||
|
<p class="has-small-font-size">CMT Engineering Ltd<br>Corngreaves Road<br>Cradley Heath<br>West Midlands<br>B64 7DG<br>United Kingdom</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||||
|
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/footer-contact-telephone-icon.png" alt="" class=""/></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||||
|
<p class="has-small-font-size">01384 563 200</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:group --></div>
|
||||||
|
<!-- /wp:column --></div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
|
||||||
|
<!-- wp:columns {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"blockGap":{"left":"0"}}}} -->
|
||||||
|
<div class="wp-block-columns" style="padding-top:0;padding-right:var(--wp--preset--spacing--40);padding-bottom:0;padding-left:var(--wp--preset--spacing--40)"><!-- wp:column -->
|
||||||
|
<div class="wp-block-column"><!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-right:0;padding-left:0"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||||
|
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/footer-contact-email-icon.png" alt="" class=""/></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"layout":{"selfStretch":"fit","flexSize":null}},"fontSize":"small"} -->
|
||||||
|
<p class="has-small-font-size">sales@cmt-engineering.co.uk</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||||
|
<div class="wp-block-group"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||||
|
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/footer-contact-website-icon.png" alt="" class=""/></figure>
|
||||||
|
<!-- /wp:image -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||||
|
<p class="has-small-font-size">www.cmt-engineering.co.uk</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||||
|
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/itf-logo.jpg" alt="" class=""/></figure>
|
||||||
|
<!-- /wp:image --></div>
|
||||||
|
<!-- /wp:column --></div>
|
||||||
|
<!-- /wp:columns --></div>
|
||||||
|
<!-- /wp:group --></div>
|
||||||
|
<!-- /wp:group --></div>
|
||||||
|
<!-- /wp:column --></div>
|
||||||
|
<!-- /wp:columns --></div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"color":{"background":"#a80000","text":"#cccccc"},"elements":{"link":{"color":{"text":"#cccccc"}}},"spacing":{"margin":{"right":"0","left":"0","top":"0","bottom":"0"}}},"fontSize":"small"} -->
|
||||||
|
<p class="has-text-align-center has-text-color has-background has-link-color has-small-font-size" style="color:#cccccc;background-color:#a80000;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0">©2024 CMT Engineering Ltd | Company No. 09920464 | <a href="https://www.cmt-engineering.co.uk/privacy-policy/">Privacy Policy</a> | <a href="https://www.cmt-engineering.co.uk/sitemap/">Sitemap</a> | Website by <a href="http://www.wonkeydonkeycreative.co.uk">Wonkey Donkey Creative</a></p>
|
||||||
|
<!-- /wp:paragraph -->
|
53
patterns/new-header.php
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: new-header
|
||||||
|
* Slug: /new-header
|
||||||
|
* Categories: hidden
|
||||||
|
* Inserter: no
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<!-- wp:paragraph {"style":{"color":{"background":"#12326e"},"spacing":{"padding":{"left":"0","right":"0","top":"0px","bottom":"5px"},"margin":{"top":"0","bottom":"0"}}},"fontSize":"small"} -->
|
||||||
|
<p class="has-background has-small-font-size" style="background-color:#12326e;margin-top:0;margin-bottom:0;padding-top:0px;padding-right:0;padding-bottom:5px;padding-left:0"></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:group {"backgroundColor":"base-2","layout":{"type":"constrained","contentSize":"1300px","wideSize":"1300px"}} -->
|
||||||
|
<div class="wp-block-group has-base-2-background-color has-background"><!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column {"width":"25%"} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:25%"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||||
|
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cmt-engineering-logo.png" alt="" class=""/></figure>
|
||||||
|
<!-- /wp:image --></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"width":"50%"} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:50%"></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"width":"25%"} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:25%"><!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column {"layout":{"type":"constrained","justifyContent":"right"}} -->
|
||||||
|
<div class="wp-block-column"><!-- wp:paragraph {"align":"right","style":{"color":{"text":"#344c81"},"elements":{"link":{"color":{"text":"#344c81"}}}},"fontSize":"large"} -->
|
||||||
|
<p class="has-text-align-right has-text-color has-link-color has-large-font-size" style="color:#344c81">Call 01384 563 200</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"right","style":{"color":{"text":"#777777"},"elements":{"link":{"color":{"text":"#777777"}}},"typography":{"fontSize":"0.9rem"}}} -->
|
||||||
|
<p class="has-text-align-right has-text-color has-link-color" style="color:#777777;font-size:0.9rem">CMT Engineering Ltd, Corngreaves Road<br>Cradley Heath, West Midlands<br>B64 7DG, United Kingdom</p>
|
||||||
|
<!-- /wp:paragraph --></div>
|
||||||
|
<!-- /wp:column --></div>
|
||||||
|
<!-- /wp:columns --></div>
|
||||||
|
<!-- /wp:column --></div>
|
||||||
|
<!-- /wp:columns --></div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"backgroundColor":"base-2","className":"main-navigation","layout":{"type":"constrained","wideSize":"1300px","contentSize":"1300px"}} -->
|
||||||
|
<div class="wp-block-group main-navigation has-base-2-background-color has-background"><!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||||
|
<div class="wp-block-group alignwide"><!-- wp:navigation {"textColor":"base-2","customBackgroundColor":"#12326e","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left"},"style":{"layout":{"selfStretch":"fit","flexSize":null},"typography":{"fontSize":"0.9rem"}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"color":{"background":"#12326e"},"spacing":{"padding":{"right":"0","left":"0"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex","flexWrap":"nowrap","orientation":"horizontal","justifyContent":"right"}} -->
|
||||||
|
<div class="wp-block-group has-background" style="background-color:#12326e;margin-top:0px;margin-bottom:0px;padding-right:0;padding-left:0"><!-- wp:search {"label":"Search","showLabel":false,"width":220,"widthUnit":"px","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"color":{"background":"#12326e"}}} /--></div>
|
||||||
|
<!-- /wp:group --></div>
|
||||||
|
<!-- /wp:group --></div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph -->
|
||||||
|
<p></p>
|
||||||
|
<!-- /wp:paragraph -->
|
BIN
screenshot.png
Normal file
After Width: | Height: | Size: 934 KiB |
8
style.css
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/*
|
||||||
|
Theme Name: CMT Engineering
|
||||||
|
Author: Autonomic Co-op
|
||||||
|
Author URI: https://autonomic.zone
|
||||||
|
Description: Modern block theme for CMT Engineering
|
||||||
|
Version: 0.1
|
||||||
|
*/
|
||||||
|
|
7
templates/page.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<!-- wp:cover {"customOverlayColor":"#f2f2f2","isUserOverlayColor":true,"isDark":false,"style":{"elements":{"heading":{"color":{"text":"#f2f2f2","background":"#f2f2f2"}}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-cover is-light"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim" style="background-color:#f2f2f2"></span><div class="wp-block-cover__inner-container"><!-- wp:template-part {"slug":"header","tagName":"header","area":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-content {"backgroundColor":"base-2"} /-->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer","area":"footer"} /--></div></div>
|
||||||
|
<!-- /wp:cover -->
|
19
templates/single-post.html
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header","area":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
|
||||||
|
<main class="wp-block-group alignfull"><!-- wp:spacer {"height":"var:preset|spacing|40"} -->
|
||||||
|
<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
|
||||||
|
<!-- wp:post-featured-image {"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||||
|
<div class="wp-block-group alignwide"></div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:spacer {"height":"var:preset|spacing|40"} -->
|
||||||
|
<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer --></main>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer","area":"footer"} /-->
|
15
templates/single.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header","area":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:heading -->
|
||||||
|
<h2 class="wp-block-heading"></h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:post-content /-->
|
||||||
|
|
||||||
|
<!-- wp:query {"queryId":70,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||||
|
<div class="wp-block-query"><!-- wp:post-template -->
|
||||||
|
<!-- wp:post-featured-image /-->
|
||||||
|
<!-- /wp:post-template --></div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer","area":"footer"} /-->
|
166
theme.json
Normal file
@ -0,0 +1,166 @@
|
|||||||
|
{
|
||||||
|
"settings": {
|
||||||
|
"layout": {
|
||||||
|
"contentSize": "1300px",
|
||||||
|
"wideSize": "1400px"
|
||||||
|
},
|
||||||
|
"typography": {
|
||||||
|
"fontFamilies": [
|
||||||
|
{
|
||||||
|
"fontFace": [
|
||||||
|
{
|
||||||
|
"fontFamily": "Inter",
|
||||||
|
"fontStretch": "normal",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "300 900",
|
||||||
|
"src": [
|
||||||
|
"file:./assets/fonts/inter/Inter-VariableFont_slnt,wght.woff2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fontFamily": "\"Inter\", sans-serif",
|
||||||
|
"name": "Inter",
|
||||||
|
"slug": "body"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFace": [
|
||||||
|
{
|
||||||
|
"fontFamily": "Cardo",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "400",
|
||||||
|
"src": [
|
||||||
|
"file:./assets/fonts/cardo/cardo_normal_400.woff2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Cardo",
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"fontWeight": "400",
|
||||||
|
"src": [
|
||||||
|
"file:./assets/fonts/cardo/cardo_italic_400.woff2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Cardo",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "700",
|
||||||
|
"src": [
|
||||||
|
"file:./assets/fonts/cardo/cardo_normal_700.woff2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fontFamily": "Cardo",
|
||||||
|
"name": "Cardo",
|
||||||
|
"slug": "heading"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",
|
||||||
|
"name": "System Sans-serif",
|
||||||
|
"slug": "system-sans-serif"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",
|
||||||
|
"name": "System Serif",
|
||||||
|
"slug": "system-Serif"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Lato",
|
||||||
|
"slug": "lato",
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontFace": [
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "900",
|
||||||
|
"src": "file:./assets/fonts/Lato-Black.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"fontWeight": "900",
|
||||||
|
"src": "file:./assets/fonts/Lato-BlackItalic.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "700",
|
||||||
|
"src": "file:./assets/fonts/Lato-Bold.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"fontWeight": "700",
|
||||||
|
"src": "file:./assets/fonts/Lato-BoldItalic.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"fontWeight": "400",
|
||||||
|
"src": "file:./assets/fonts/Lato-Italic.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"fontWeight": "300",
|
||||||
|
"src": "file:./assets/fonts/Lato-LightItalic.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"fontWeight": "250",
|
||||||
|
"src": "file:./assets/fonts/Lato-ThinItalic.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "300",
|
||||||
|
"src": "file:./assets/fonts/Lato-Light.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "400",
|
||||||
|
"src": "file:./assets/fonts/Lato-Regular.ttf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fontFamily": "Lato",
|
||||||
|
"fontStyle": "normal",
|
||||||
|
"fontWeight": "250",
|
||||||
|
"src": "file:./assets/fonts/Lato-Thin.ttf"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"styles": {
|
||||||
|
"css": "",
|
||||||
|
"elements": {
|
||||||
|
"button": {
|
||||||
|
"typography": {
|
||||||
|
"fontFamily": "var(--wp--preset--font-family--lato)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"caption": {
|
||||||
|
"typography": {
|
||||||
|
"fontFamily": "var(--wp--preset--font-family--lato)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"heading": {
|
||||||
|
"typography": {
|
||||||
|
"fontFamily": "var(--wp--preset--font-family--lato)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"link": {
|
||||||
|
"typography": {
|
||||||
|
"fontFamily": "var(--wp--preset--font-family--lato)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"typography": {
|
||||||
|
"fontFamily": "var(--wp--preset--font-family--lato)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"version": 2,
|
||||||
|
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
|
||||||
|
}
|