Skip to content

Commit

Permalink
Dossier: adjusts templates and removes unused settings
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueiamarino committed Oct 1, 2024
1 parent 491466c commit 8ba9354
Show file tree
Hide file tree
Showing 20 changed files with 326 additions and 314 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 2 additions & 10 deletions dossier/parts/comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
<!-- /wp:spacer -->

<!-- wp:comment-template -->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"25.2%","style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-column" style="flex-basis:25.2%"></div>
<!-- /wp:column -->

<!-- wp:column {"width":""} -->
<div class="wp-block-column"><!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"2.5vh"}}},"layout":{"type":"default"}} -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"2.5vh"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:2.5vh"><!-- wp:group {"style":{"spacing":{"blockGap":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:avatar {"size":48,"style":{"border":{"radius":"48px"},"color":{"duotone":["#706b6d","#fcfcf8"]}}} /-->

Expand All @@ -30,9 +24,7 @@
<!-- wp:comment-content /-->

<!-- wp:comment-reply-link /--></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:group -->
<!-- /wp:comment-template -->

<!-- wp:comments-pagination {"layout":{"type":"flex","justifyContent":"left"}} -->
Expand Down
17 changes: 0 additions & 17 deletions dossier/parts/header-minimal.html

This file was deleted.

18 changes: 5 additions & 13 deletions dossier/parts/post-meta.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:post-date {"isLink":true} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"0","margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"><!-- wp:post-date {"format":"M j, Y","isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"textColor":"secondary","fontSize":"small"} /-->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.8rem"}}} -->
<p style="font-size:0.8rem"></p>
<!-- /wp:paragraph -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:post-terms {"term":"category","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"none"}},"textColor":"secondary","fontSize":"small"} /-->

<!-- wp:post-terms {"term":"category"} /-->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.8rem"}}} -->
<p style="font-size:0.8rem">·</p>
<!-- /wp:paragraph -->

<!-- wp:post-terms {"term":"post_tag"} /--></div>
<!-- wp:post-terms {"term":"post_tag","prefix":"· ","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"none"}},"textColor":"secondary","fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
1 change: 1 addition & 0 deletions dossier/parts/wording.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:pattern {"slug":"dossier/wording"} /-->
2 changes: 1 addition & 1 deletion dossier/patterns/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<p><?php esc_html_e('It looks like nothing was found at this location. Maybe try a search?', 'dossier');?></p>
<!-- /wp:paragraph -->

<!-- wp:search {"showLabel":false,"placeholder":" Search","width":100,"widthUnit":"%","buttonText":"","buttonPosition":"button-inside","buttonUseIcon":true} /--></div>
<!-- wp:search {"showLabel":false,"placeholder":" Search","width":100,"widthUnit":"%","buttonText":"","buttonPosition":"button-inside","buttonUseIcon":true} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
Expand Down
62 changes: 14 additions & 48 deletions dossier/patterns/archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,56 +8,18 @@
<!-- wp:template-part {"slug":"header","area":"header"} /-->

<!-- wp:group {"tagName":"main","align":"wide","layout":{"type":"constrained"}} -->
<main class="wp-block-group alignwide"><!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"25%","style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-column" style="flex-basis:25%"><!-- wp:group {"align":"wide","style":{"typography":{"textTransform":"uppercase","fontSize":"6.4rem","lineHeight":"0.9"},"spacing":{"blockGap":"0.5rem","padding":{"top":"0.3rem"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group alignwide" style="padding-top:0.3rem;font-size:6.4rem;line-height:0.9;text-transform:uppercase"><!-- wp:site-title {"level":0,"fontSize":"medium"} /-->

<!-- wp:heading {"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"textColor":"secondary","fontSize":"medium"} -->
<h2 class="wp-block-heading alignwide has-secondary-color has-text-color has-link-color has-medium-font-size"><?php esc_html_e('&lt;em&gt;Chef&lt;/em&gt; de Cuisine', 'dossier');?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3","fontStyle":"normal","fontWeight":"700"}},"fontSize":"small"} -->
<p class="has-small-font-size" style="font-style:normal;font-weight:700;line-height:1.3"><?php esc_html_e('Chef Kirsten builds her very own World of Flavors, with each dish as an art piece crafted to entice the senses and delight the palates.', 'dossier');?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

<!-- wp:spacer {"height":"var:preset|spacing|60"} -->
<div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<main class="wp-block-group alignwide"><!-- wp:template-part {"slug":"wording","align":"wide"} /-->

<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"5vh"}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group alignwide"><!-- wp:query {"queryId":8,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","enhancedPagination":true,"align":"wide","layout":{"type":"constrained"}} -->
<main class="wp-block-query alignwide"><!-- wp:query-title {"type":"archive","align":"wide"} /-->

<!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"grid","columnCount":4}} -->
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|70"},"blockGap":"var:preset|spacing|30"}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"typography":{"textTransform":"uppercase","letterSpacing":"0.02rem","lineHeight":"1.3"}},"fontSize":"x-small"} /--></div>
<!-- /wp:group -->

<!-- wp:post-excerpt {"showMoreOnNewLine":false,"excerptLength":32} /--></div>
<!-- /wp:group -->

<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","width":"","height":"","style":{"border":{"radius":"2px"},"spacing":{"margin":{"top":"1.5rem"}}}} /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","width":"","height":"","style":{"border":{"radius":"2px"}}} /-->

<!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:post-terms {"term":"category","prefix":""} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"typography":{"textTransform":"none","lineHeight":"1.3","fontStyle":"normal","fontWeight":"400"}},"fontSize":"medium"} /-->

<!-- wp:post-date {"format":"M j, Y","isLink":true} /--></div>
<!-- /wp:group --></div>
Expand All @@ -73,15 +35,19 @@
<!-- /wp:query-pagination -->

<!-- wp:query-no-results {"align":"wide"} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"large"} -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"large"} -->
<h2 class="wp-block-heading has-large-font-size" style="text-transform:uppercase"><?php esc_html_e('No results.', 'dossier');?></h2>
<!-- /wp:heading -->
<!-- /wp:heading --></div>
<!-- /wp:column -->

<!-- wp:paragraph -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p><?php esc_html_e('Sorry, but nothing matched your search terms. Please try again using some different keywords or publish your first post.', 'dossier');?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:query-no-results --></main>
<!-- /wp:query --></div>
<!-- /wp:group --></main>
Expand Down
40 changes: 25 additions & 15 deletions dossier/patterns/footer-minimal.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,42 @@
*/
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--80)"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"25%"} -->
<div class="wp-block-column" style="flex-basis:25%"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"level":3,"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"uppercase"}},"textColor":"secondary"} -->
<h3 class="wp-block-heading alignwide has-secondary-color has-text-color has-link-color" style="text-transform:uppercase"><?php esc_html_e('Tumblr', 'dossier');?></h3>
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"30%"} -->
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"className":"no-underline","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"uppercase"}},"textColor":"secondary","fontSize":"medium"} -->
<h2 class="wp-block-heading no-underline has-secondary-color has-text-color has-link-color has-medium-font-size" style="text-transform:uppercase"><?php esc_html_e('Tumblr', 'dossier');?></h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3,"align":"wide","style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"textColor":"secondary"} -->
<h3 class="wp-block-heading alignwide has-secondary-color has-text-color has-link-color" style="text-transform:uppercase"><?php esc_html_e('Linkedn', 'dossier');?></h3>
<!-- wp:heading {"align":"wide","className":"no-underline","style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"textColor":"secondary","fontSize":"medium"} -->
<h2 class="wp-block-heading alignwide no-underline has-secondary-color has-text-color has-link-color has-medium-font-size" style="text-transform:uppercase"><?php esc_html_e('LinkEdIn', 'dossier');?></h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3,"align":"wide","style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"textColor":"secondary"} -->
<h3 class="wp-block-heading alignwide has-secondary-color has-text-color has-link-color" style="text-transform:uppercase"><?php esc_html_e('Instagr', 'dossier');?></h3>
<!-- wp:heading {"align":"wide","className":"no-underline","style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"textColor":"secondary","fontSize":"medium"} -->
<h2 class="wp-block-heading alignwide no-underline has-secondary-color has-text-color has-link-color has-medium-font-size" style="text-transform:uppercase"><?php esc_html_e('Instagr', 'dossier');?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"width":"75%"} -->
<div class="wp-block-column" style="flex-basis:75%"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"}},"fontSize":"medium"} -->
<p class="has-medium-font-size" style="line-height:1.3"><?php esc_html_e('Chef Suavis\'s cuisine encapsulates her profound dedication to heritage and willingness to welcome other cultures. As she crafts each recipe, the chef weaves together her passions, producing a cuisine that tells stories and has a purpose.', 'dossier');?></p>
<!-- wp:column {"width":"5%"} -->
<div class="wp-block-column" style="flex-basis:5%"></div>
<!-- /wp:column -->

<!-- wp:column {"width":"65%","layout":{"type":"default"}} -->
<div class="wp-block-column" style="flex-basis:65%"><!-- wp:quote {"className":"is-style-plain","style":{"spacing":{"padding":{"right":"0","left":"0"},"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} -->
<blockquote class="wp-block-quote is-style-plain" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70);padding-right:0;padding-left:0"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"0"}},"fontSize":"x-large","fontFamily":"ibarra-real-nova"} -->
<p class="has-ibarra-real-nova-font-family has-x-large-font-size" style="line-height:0"><?php esc_html_e('', 'dossier');?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><?php esc_html_e('My cuisine encapsulates my profound dedication to heritage and willingness to embrace other cultures. In every recipe, presented as food for the palates and minds. I weave together my passions to produce stories and purpose.', 'dossier');?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"x-small"} -->
<p class="has-x-small-font-size" style="text-transform:uppercase"><?php esc_html_e('More about Kirsten', 'dossier');?></p>
<!-- /wp:paragraph --></div>
<p class="has-x-small-font-size" style="text-transform:uppercase"><?php esc_html_e('Kirsten Suavis', 'dossier');?></p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

Expand Down
Loading

0 comments on commit 8ba9354

Please sign in to comment.