-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iotix theme updates (Beafialho playground changes) (#7945)
* Changes from WordPress Playground * Fix patterns. * Use esc_html_e to translate strings in patterns * Update translation functions in home.php and startup.php * Try to address feedback. * Try to fix Search and 404. * Update search and 404 again. * Adds css rule for heading color inside cover blocks to match default paragraph text color --------- Co-authored-by: Beatriz Fialho <[email protected]> Co-authored-by: Sarah Norris <[email protected]> Co-authored-by: Grant Kinney <[email protected]>
- Loading branch information
1 parent
4c3fecc
commit 5e0efe7
Showing
22 changed files
with
421 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1 @@ | ||
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","right":"0","bottom":"var:preset|spacing|60","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> | ||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--70);padding-right:0;padding-bottom:var(--wp--preset--spacing--60);padding-left:0"><!-- wp:site-title /--> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:navigation {"layout":{"type":"flex","justifyContent":"left","orientation":"horizontal"}} /--> | ||
|
||
<!-- wp:buttons --> | ||
<div class="wp-block-buttons"><!-- wp:button {"fontSize":"small"} --> | ||
<div class="wp-block-button has-custom-font-size has-small-font-size"><a class="wp-block-button__link wp-element-button">Sign In</a></div> | ||
<!-- /wp:button --></div> | ||
<!-- /wp:buttons --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
<!-- wp:pattern {"slug":"iotix/header"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,68 @@ | ||
<?php | ||
/** | ||
* Title: Default footer | ||
* Title: footer | ||
* Slug: iotix/footer | ||
* Categories: footer | ||
* Block Types: core/template-part/footer | ||
* Categories: hidden | ||
* Inserter: no | ||
*/ | ||
?> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"5vh","right":"5vw","bottom":"10vh","left":"5vw"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="padding-top:5vh;padding-right:5vw;padding-bottom:10vh;padding-left:5vw"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"80px","bottom":"0px"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group alignwide" style="padding-top:80px;padding-bottom:0px"><!-- wp:columns {"verticalAlignment":"top","align":"wide"} --> | ||
<div class="wp-block-columns alignwide are-vertically-aligned-top"><!-- wp:column {"width":"30%"} --> | ||
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:site-title {"textColor":"primary"} /--> | ||
<div class="wp-block-group alignwide" style="padding-top:80px;padding-bottom:0px"><!-- wp:group {"style":{"spacing":{"blockGap":"3em"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} --> | ||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0.6em"},"layout":{"selfStretch":"fixed","flexSize":"320px"}},"layout":{"type":"flex","orientation":"vertical"}} --> | ||
<div class="wp-block-group"><!-- wp:site-title {"textColor":"primary"} /--> | ||
|
||
<!-- wp:site-tagline /--></div> | ||
<!-- /wp:column --> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:column {"width":"10%"} --> | ||
<div class="wp-block-column" style="flex-basis:10%"></div> | ||
<!-- /wp:column --> | ||
<!-- wp:spacer {"width":"16px","style":{"layout":{"flexSize":"16px","selfStretch":"fixed"}}} --> | ||
<div style="height:100px;width:16px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:column {"verticalAlignment":"top"} --> | ||
<!-- wp:columns {"verticalAlignment":"top","isStackedOnMobile":false,"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}}} --> | ||
<div class="wp-block-columns alignwide are-vertically-aligned-top is-not-stacked-on-mobile"><!-- wp:column {"verticalAlignment":"top"} --> | ||
<div class="wp-block-column is-vertically-aligned-top"><!-- wp:heading {"level":4,"fontSize":"medium"} --> | ||
<h4 class="wp-block-heading has-medium-font-size"><strong><?php echo esc_html__( 'Product', 'iotix' ); ?></strong></h4> | ||
<h4 class="wp-block-heading has-medium-font-size"><?php esc_html_e( 'Product', 'iotix' ); ?></h4> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:navigation {"overlayMenu":"never","align":"wide","layout":{"type":"flex","flexWrap":"wrap","orientation":"vertical"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}}} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"top"} --> | ||
<div class="wp-block-column is-vertically-aligned-top"><!-- wp:heading {"level":4,"fontSize":"medium"} --> | ||
<h4 class="wp-block-heading has-medium-font-size"><strong><?php echo esc_html__( 'Company', 'iotix' ); ?></strong></h4> | ||
<h4 class="wp-block-heading has-medium-font-size"><?php esc_html_e('Company', 'iotix'); ?></h4> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:navigation {"overlayMenu":"never","align":"wide","layout":{"type":"flex","flexWrap":"wrap","orientation":"vertical"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}}} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"top"} --> | ||
<div class="wp-block-column is-vertically-aligned-top"><!-- wp:heading {"level":4,"fontSize":"medium"} --> | ||
<h4 class="wp-block-heading has-medium-font-size"><strong><?php echo esc_html__( 'Resources', 'iotix' ); ?></strong></h4> | ||
<h4 class="wp-block-heading has-medium-font-size"><?php esc_html_e('Resources', 'iotix'); ?></h4> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:navigation {"overlayMenu":"never","align":"wide","layout":{"type":"flex","flexWrap":"wrap","orientation":"vertical"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}}} /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
<!-- /wp:columns --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:spacer {"height":"14vh"} --> | ||
<div style="height:14vh" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:group {"align":"full","style":{"typography":{"fontSize":"0.8rem"},"spacing":{"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"top"}} --> | ||
<!-- wp:group {"align":"full","style":{"typography":{"fontSize":"0.8rem"},"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} --> | ||
<div class="wp-block-group alignfull" style="font-size:0.8rem"><!-- wp:paragraph {"align":"left","style":{"typography":{"fontSize":"0.8rem"}}} --> | ||
<p class="has-text-align-left" style="font-size:0.8rem"><?php | ||
/* Translators: WordPress link. */ | ||
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'adventurer' ) ) . '" rel="nofollow">WordPress</a>'; | ||
echo sprintf( | ||
esc_html__( 'Designed with %1$s', 'adventurer' ), | ||
$wordpress_link | ||
); | ||
/* Translators: WordPress link. */ | ||
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'iotix' ) ) . '" rel="nofollow">WordPress</a>'; | ||
echo sprintf( | ||
esc_html__( 'Designed with %1$s', 'iotix' ), | ||
$wordpress_link | ||
); | ||
?></p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"horizontal"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}}} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/** | ||
* Title: header | ||
* Slug: iotix/header | ||
* Categories: hidden | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|70","right":"5vw","left":"5vw"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="padding-right:5vw;padding-bottom:var(--wp--preset--spacing--70);padding-left:5vw"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","right":"0","bottom":"40px","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> | ||
<div class="wp-block-group alignwide" style="padding-top:40px;padding-right:0;padding-bottom:40px;padding-left:0"><!-- wp:site-title /--> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:navigation {"layout":{"type":"flex","justifyContent":"left","orientation":"horizontal"}} /--> | ||
|
||
<!-- wp:buttons --> | ||
<div class="wp-block-buttons"><!-- wp:button {"fontSize":"small"} --> | ||
<div class="wp-block-button has-custom-font-size has-small-font-size"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'Sign In', 'iotix' ); ?></a></div> | ||
<!-- /wp:button --></div> | ||
<!-- /wp:buttons --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> |
Oops, something went wrong.