-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Dadaist: add theme * Dadaist: fixes readme.txt * Dadaist: fixes theme screenshot * Dadaist: fixes more issues after review * Dadaist: adds updated font credits * Dadaist: fixes 404 and local links * Dadaist: fixes single and page content wrapper * Dadaist: updates style variations * Dadaist: removes unused fonts
- Loading branch information
1 parent
518231b
commit 294d0d6
Showing
60 changed files
with
2,233 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+40.4 KB
dadaist/assets/fonts/overused-grotesk/overused-grotesk-400-italic.woff2
Binary file not shown.
Binary file added
BIN
+37.2 KB
dadaist/assets/fonts/overused-grotesk/overused-grotesk-400-normal.woff2
Binary file not shown.
Binary file added
BIN
+40 KB
dadaist/assets/fonts/overused-grotesk/overused-grotesk-600-italic.woff2
Binary file not shown.
Binary file added
BIN
+36.9 KB
dadaist/assets/fonts/overused-grotesk/overused-grotesk-600-normal.woff2
Binary file not shown.
Binary file added
BIN
+40 KB
dadaist/assets/fonts/overused-grotesk/overused-grotesk-700-italic.woff2
Binary file not shown.
Binary file added
BIN
+37.1 KB
dadaist/assets/fonts/overused-grotesk/overused-grotesk-700-normal.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,60 @@ | ||
<?php | ||
/** | ||
* Dadaist functions and definitions | ||
* | ||
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | ||
* | ||
* @package Dadaist | ||
* @since Dadaist 1.0 | ||
*/ | ||
|
||
|
||
if ( ! function_exists( 'dadaist_support' ) ) : | ||
|
||
/** | ||
* Sets up theme defaults and registers support for various WordPress features. | ||
* | ||
* @since Dadaist 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function dadaist_support() { | ||
|
||
// Enqueue editor styles. | ||
add_editor_style( 'style.css' ); | ||
|
||
// Make theme available for translation. | ||
load_theme_textdomain( 'dadaist' ); | ||
} | ||
|
||
endif; | ||
|
||
add_action( 'after_setup_theme', 'dadaist_support' ); | ||
|
||
if ( ! function_exists( 'dadaist_styles' ) ) : | ||
|
||
/** | ||
* Enqueue styles. | ||
* | ||
* @since Dadaist 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function dadaist_styles() { | ||
|
||
// Register theme stylesheet. | ||
wp_register_style( | ||
'dadaist-style', | ||
get_stylesheet_directory_uri() . '/style.css', | ||
array(), | ||
wp_get_theme()->get( 'Version' ) | ||
); | ||
|
||
// Enqueue theme stylesheet. | ||
wp_enqueue_style( 'dadaist-style' ); | ||
|
||
} | ||
|
||
endif; | ||
|
||
add_action( 'wp_enqueue_scripts', 'dadaist_styles' ); |
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,35 @@ | ||
<!-- wp:comments {"className":"wp-block-comments-query-loop","style":{"spacing":{"margin":{"top":"8vh","bottom":"4vh"}}}} --> | ||
<div class="wp-block-comments wp-block-comments-query-loop" style="margin-top:8vh;margin-bottom:4vh"><!-- wp:comments-title {"showPostTitle":false,"level":3} /--> | ||
|
||
<!-- wp:comment-template --> | ||
<!-- wp:group {"metadata":{"name":"Comment wrapper"},"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|60"}}}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"metadata":{"name":"Comment Author"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group"><!-- wp:avatar {"size":40} /--> | ||
|
||
<!-- wp:group --> | ||
<div class="wp-block-group"><!-- wp:comment-author-name /--> | ||
|
||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}},"layout":{"type":"flex"}} --> | ||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /--> | ||
|
||
<!-- wp:comment-edit-link /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:comment-content /--> | ||
|
||
<!-- wp:comment-reply-link /--></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:comment-template --> | ||
|
||
<!-- wp:comments-pagination --> | ||
<!-- wp:comments-pagination-previous /--> | ||
|
||
<!-- wp:comments-pagination-numbers /--> | ||
|
||
<!-- wp:comments-pagination-next /--> | ||
<!-- /wp:comments-pagination --> | ||
|
||
<!-- wp:post-comments-form /--></div> | ||
<!-- /wp:comments --> |
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 @@ | ||
<!-- wp:pattern {"slug":"dadaist/footer"} /--> |
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 @@ | ||
<!-- wp:pattern {"slug":"dadaist/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"dadaist/post-meta"} /--> |
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,45 @@ | ||
<?php | ||
/** | ||
* Title: 404 | ||
* Slug: dadaist/404 | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:template-part {"slug":"header","tagName":"header","align":"wide"} /--> | ||
|
||
<!-- wp:group {"tagName":"main","metadata":{"name":"Content"},"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|60","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}},"dimensions":{"minHeight":"40vh"}},"layout":{"type":"constrained"}} --> | ||
<main class="wp-block-group alignwide" style="min-height:40vh;margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)"><!-- wp:group {"metadata":{"name":"Section title"},"align":"wide","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"blockGap":"0"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignwide" style="margin-top:0;margin-bottom:0"><!-- wp:heading {"textAlign":"center","style":{"typography":{"textTransform":"uppercase","lineHeight":"0.5"}},"fontSize":"medium","fontFamily":"urw-gothic"} --> | ||
<h2 class="wp-block-heading has-text-align-center has-urw-gothic-font-family has-medium-font-size" style="line-height:0.5;text-transform:uppercase"><?php esc_html_e('Oops! a 404...', 'dadaist');?></h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:group {"metadata":{"name":"Halftone stroke"},"style":{"background":{"backgroundImage":{"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/dada_haltfone-tex_1.png","id":10435,"source":"file","title":"dada_haltfone-tex_1"},"backgroundSize":"720px"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"dimensions":{"minHeight":"10px"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="min-height:10px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"metadata":{"name":"Hero"},"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} --> | ||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"x-large","fontFamily":"urw-gothic"} --> | ||
<h1 class="wp-block-heading has-text-align-center has-urw-gothic-font-family has-x-large-font-size" id="oops-that-page-can-t-be-found" style="text-transform:uppercase"><?php esc_html_e('There is', 'dadaist');?></h1> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700","letterSpacing":"-0.1rem","lineHeight":"0.5","fontSize":"4.5rem"}},"fontFamily":"urw-gothic"} --> | ||
<h1 class="wp-block-heading has-text-align-center has-urw-gothic-font-family" id="oops-that-page-can-t-be-found" style="font-size:4.5rem;font-style:normal;font-weight:700;letter-spacing:-0.1rem;line-height:0.5;text-transform:uppercase"><?php esc_html_e('nothing', 'dadaist');?></h1> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"x-large","fontFamily":"urw-gothic"} --> | ||
<h1 class="wp-block-heading has-text-align-center has-urw-gothic-font-family has-x-large-font-size" id="oops-that-page-can-t-be-found" style="text-transform:uppercase"><?php esc_html_e('here.', 'dadaist');?></h1> | ||
<!-- /wp:heading --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"metadata":{"name":"Search block"},"style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:paragraph {"align":"center"} --> | ||
<p class="has-text-align-center"><?php /* Translators: 1. is a 'br' HTML element */ | ||
echo sprintf( esc_html__( 'It looks like no content was found at this location.%1$sCould you try a search?', 'dadaist' ), '<br>' ); ?></p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:search {"label":"","showLabel":false,"placeholder":"Search","width":100,"widthUnit":"%","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"width":"0px","style":"none"}}} /--></div> | ||
<!-- /wp:group --></main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer","align":"wide"} /--> |
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,74 @@ | ||
<?php | ||
/** | ||
* Title: archive | ||
* Slug: dadaist/archive | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:template-part {"slug":"header","tagName":"header","align":"wide"} /--> | ||
|
||
<!-- wp:group {"tagName":"main","metadata":{"name":"Content"},"align":"wide","style":{"spacing":{"blockGap":"0","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} --> | ||
<main class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)"><!-- wp:group {"metadata":{"name":"Title section"},"align":"wide","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} --> | ||
<div class="wp-block-group alignwide" style="margin-top:0;margin-bottom:0"><!-- wp:query-title {"type":"archive","textAlign":"center","showPrefix":false} /--></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:query {"queryId":3,"query":{"perPage":10,"pages":0,"offset":"1","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true,"taxQuery":null,"parents":[]},"align":"wide","layout":{"type":"constrained"}} --> | ||
<div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|80"}}} --> | ||
<!-- wp:group {"metadata":{"name":"Halftone Wrapper Black"},"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"background":{"backgroundImage":{"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/dada_haltfone-tex_2.png","id":10440,"source":"file","title":"dada_haltfone-tex_2"},"backgroundSize":"720px"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0"}}}} --> | ||
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"50%"} --> | ||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:group {"metadata":{"name":"Query loop copy"},"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|50","padding":{"top":"4vh","right":"var:preset|spacing|50","left":"var:preset|spacing|40","bottom":"4vh"},"margin":{"top":"2vh"}}},"backgroundColor":"base","layout":{"type":"flex","orientation":"vertical"}} --> | ||
<div class="wp-block-group alignwide has-base-background-color has-background" style="margin-top:2vh;padding-top:4vh;padding-right:var(--wp--preset--spacing--50);padding-bottom:4vh;padding-left:var(--wp--preset--spacing--40)"><!-- wp:post-title {"isLink":true} /--> | ||
|
||
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0vh","left":"0vh"},"padding":{"top":"0vh","bottom":"0vh","left":"0vh","right":"0vh"}}}} --> | ||
<div class="wp-block-columns" style="padding-top:0vh;padding-right:0vh;padding-bottom:0vh;padding-left:0vh"><!-- wp:column {"width":"70%"} --> | ||
<div class="wp-block-column" style="flex-basis:70%"><!-- wp:post-excerpt {"textAlign":"left","moreText":"Read more.","showMoreOnNewLine":false,"excerptLength":30} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"width":"30%"} --> | ||
<div class="wp-block-column" style="flex-basis:30%"></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"width":""} --> | ||
<div class="wp-block-column"></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"width":"15%"} --> | ||
<div class="wp-block-column" style="flex-basis:15%"><!-- wp:group {"metadata":{"name":"Post Image and Meta"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained","justifyContent":"left"}} --> | ||
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","style":{"color":{"duotone":"var:preset|duotone|bw"}}} /--> | ||
|
||
<!-- wp:group {"metadata":{"name":"Post Meta Wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|20","padding":{"top":"0.22rem","bottom":"0.22rem"}}},"backgroundColor":"base","layout":{"type":"flex"}} --> | ||
<div class="wp-block-group has-base-background-color has-background" style="padding-top:0.22rem;padding-bottom:0.22rem"><!-- wp:post-date {"format":"M j, Y","isLink":true} /--> | ||
|
||
<!-- wp:paragraph {"fontSize":"x-small"} --> | ||
<p class="has-x-small-font-size"><?php esc_html_e('·', 'dadaist');?></p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:post-terms {"term":"category"} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:query-pagination {"align":"wide"} --> | ||
<!-- wp:query-pagination-previous {"label":"Prev"} /--> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
|
||
<!-- wp:query-pagination-next {"label":"Next"} /--> | ||
<!-- /wp:query-pagination --> | ||
|
||
<!-- wp:query-no-results {"align":"wide"} --> | ||
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} --> | ||
<p><?php esc_html_e('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'dadaist');?></p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --></div> | ||
<!-- /wp:query --></main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer","align":"wide"} /--> |
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,33 @@ | ||
<?php | ||
/** | ||
* Title: footer | ||
* Slug: dadaist/footer | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:group {"metadata":{"name":"Footer wrapper"},"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60","right":"0","left":"0"},"blockGap":"var:preset|spacing|60"},"dimensions":{"minHeight":"10px"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignwide" style="min-height:10px;padding-top:var(--wp--preset--spacing--80);padding-right:0;padding-bottom:var(--wp--preset--spacing--60);padding-left:0"><!-- wp:group {"metadata":{"name":"Social Block"},"style":{"spacing":{"blockGap":"var:preset|spacing|50"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group"><!-- wp:social-links {"iconColor":"secondary","iconColorValue":"#121212e3","size":"has-normal-icon-size","className":"is-style-logos-only","style":{"layout":{"selfStretch":"fill","flexSize":null},"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|30"}}},"layout":{"type":"flex","justifyContent":"center"}} --> | ||
<ul class="wp-block-social-links has-normal-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"wordpress.org","service":"tumblr"} /--> | ||
|
||
<!-- wp:social-link {"url":"wordpress.org","service":"mastodon"} /--> | ||
|
||
<!-- wp:social-link {"url":"wordpress.org","service":"instagram"} /--> | ||
|
||
<!-- wp:social-link {"url":"wordpress.org","service":"linkedin"} /--></ul> | ||
<!-- /wp:social-links --> | ||
|
||
<!-- wp:group {"metadata":{"name":"Halftone stroke"},"style":{"background":{"backgroundImage":{"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/dada_haltfone-tex_1.png","id":10435,"source":"file","title":"dada_haltfone-tex_1"},"backgroundSize":"720px"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"dimensions":{"minHeight":"10px"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="min-height:10px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"metadata":{"name":"Credits"},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"}} --> | ||
<div class="wp-block-group"><!-- wp:paragraph {"align":"left"} --> | ||
<p class="has-text-align-left"><?php /* Translators: 1. is the start of a 'a' HTML element, 2. is the end of a 'a' HTML element */ | ||
echo sprintf( esc_html__( 'Designed with %1$sWordPress%2$s.', 'dadaist' ), '<a href="' . esc_url( 'https://wordpress.org' ) . '" rel="nofollow">', '</a>' ); ?></p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:site-logo {"width":48,"shouldSyncIcon":false,"style":{"color":{"duotone":"var:preset|duotone|bw"}}} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* Title: header | ||
* Slug: dadaist/header | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:group {"metadata":{"name":"Header wrapper"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"0","right":"var:preset|spacing|50","left":"var:preset|spacing|50"}},"dimensions":{"minHeight":"10vh"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="min-height:10vh;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:0;padding-left:var(--wp--preset--spacing--50)"><!-- wp:columns {"verticalAlignment":"center","isStackedOnMobile":false,"align":"wide"} --> | ||
<div class="wp-block-columns alignwide are-vertically-aligned-center is-not-stacked-on-mobile"><!-- wp:column {"verticalAlignment":"center","width":""} --> | ||
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:group {"metadata":{"name":"Branding"},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group"><!-- wp:site-logo {"width":64,"shouldSyncIcon":false,"style":{"color":[]}} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"center","width":"","layout":{"type":"default"}} --> | ||
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"},"layout":{"selfStretch":"fixed","flexSize":"33.3%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group"><!-- wp:navigation {"textColor":"primary","icon":"menu","overlayBackgroundColor":"secondary","overlayTextColor":"primary","style":{"spacing":{"margin":{"top":"0"}},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"}} /--> | ||
|
||
<!-- wp:group {"metadata":{"name":"Halftone stroke"},"style":{"background":{"backgroundImage":{"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/dada_haltfone-tex_1.png","id":10435,"source":"file","title":"dada_haltfone-tex_1"},"backgroundSize":"720px"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"dimensions":{"minHeight":"10px"}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group" style="min-height:10px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --></div> | ||
<!-- /wp:group --> |
Oops, something went wrong.