Fixing issues commented by the reviewer

This commit is contained in:
Henrique 'Foca' Iamarino 2024-06-12 10:31:16 +02:00
parent de77f89853
commit 5fce4a3035
28 changed files with 1539 additions and 0 deletions

Binary file not shown.

Binary file not shown.

63
vitrum/functions.php Normal file
View file

@ -0,0 +1,63 @@
<?php
/**
* Vitrum functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package WordPress
* @since Vitrum 1.0
*/
if ( ! function_exists( 'vitrum_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Vitrum 1.0
*
* @return void
*/
function vitrum_support() {
// Add support for block styles.
add_theme_support( 'wp-block-styles' );
// Enqueue editor styles.
add_editor_style( 'style.css' );
}
endif;
add_action( 'after_setup_theme', 'vitrum_support' );
if ( ! function_exists( 'vitrum_styles' ) ) :
/**
* Enqueue styles.
*
* @since Vitrum 1.0
*
* @return void
*/
function vitrum_styles() {
// Register theme stylesheet.
$theme_version = wp_get_theme()->get( 'Version' );
$version_string = is_string( $theme_version ) ? $theme_version : false;
wp_register_style(
'vitrum-style',
get_template_directory_uri() . '/style.css',
array(),
$version_string
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'vitrum-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'vitrum_styles' );

1
vitrum/parts/footer.html Normal file
View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"vitrum/footer"} /-->

15
vitrum/parts/header.html Normal file
View file

@ -0,0 +1,15 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}},"border":{"bottom":{"width":"1px"},"top":[],"right":[],"left":[]}},"layout":{"type":"constrained","contentSize":""}} -->
<div class="wp-block-group" style="border-bottom-width:1px;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"spacing":{"blockGap":{"top":"0"}}}} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"50%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"><!-- wp:site-title {"style":{"layout":{"selfStretch":"fit","flexSize":null}}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"50%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:site-tagline {"textAlign":"left","style":{"layout":{"selfStretch":"fill","flexSize":null}}} /-->
<!-- wp:navigation {"icon":"menu","overlayBackgroundColor":"foreground","overlayTextColor":"background","layout":{"type":"flex","justifyContent":"right"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->

31
vitrum/patterns/404.php Normal file
View file

@ -0,0 +1,31 @@
<?php
/**
* Title: 404
* Slug: vitrum/404
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"10vh","bottom":"15vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:10vh;padding-bottom:15vh"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:70%"><!-- wp:heading {"textAlign":"left","level":1,"align":"wide","className":"has-text-align-center"} -->
<h1 class="wp-block-heading alignwide has-text-align-left has-text-align-center"><?php echo __('Ops, this page could not be found. Maybe try a search?', 'vitrum');?></h1>
<!-- /wp:heading -->
<!-- wp:search {"label":"Search","showLabel":false,"width":100,"widthUnit":"%","buttonText":"Search","buttonUseIcon":true,"align":"center"} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"5%"} -->
<div class="wp-block-column" style="flex-basis:5%"></div>
<!-- /wp:column -->
<!-- wp:column {"width":"25%"} -->
<div class="wp-block-column" style="flex-basis:25%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

49
vitrum/patterns/about.php Normal file
View file

@ -0,0 +1,49 @@
<?php
/**
* Title: A layout for a creative practice description
* Slug: vitrum/about
* Inserter: no
*/
?>
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"left","level":1,"style":{"typography":{"lineHeight":"1.1","fontStyle":"normal","fontWeight":"600","letterSpacing":"-3px","fontSize":"4rem"},"spacing":{"padding":{"top":"0px","bottom":"0px"},"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
<h1 class="wp-block-heading has-text-align-left alignwide" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-bottom:0px;font-size:4rem;font-style:normal;font-weight:600;letter-spacing:-3px;line-height:1.1"><?php echo esc_html__( 'United Architects Collab is a studio focused on sustainable design, interiors and landscapes.', 'vitrum' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:spacer {"height":"32px"} -->
<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"100%"} -->
<div class="wp-block-column" style="flex-basis:100%"><!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"500","lineHeight":"1.4"}},"fontSize":"small"} -->
<p class="has-small-font-size" style="font-style:normal;font-weight:500;line-height:1.4"><?php echo esc_html__( 'Working as a full-service firm, UA — C delivers contemporary projects, from our client-oriented creative process to the latest building methodologies and construction techniques applied to building sites. And we are proud to achieve that through close collaboration within team members, consultants, contractors and trades.', 'vitrum' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:spacer {"height":"45px","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:45px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"left"},"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"20px"}}} -->
<div class="wp-block-buttons" style="margin-top:0px;margin-bottom:0px"><!-- wp:button {"style":{"typography":{"textTransform":"uppercase","fontSize":"0.8rem","lineHeight":1.4,"fontStyle":"normal","fontWeight":"600"},"spacing":{"padding":{"right":"40px","left":"40px","top":"16px","bottom":"16px"}},"border":{"radius":"4px"}}} -->
<div class="wp-block-button has-custom-font-size" style="font-size:0.8rem;font-style:normal;font-weight:600;line-height:1.4;text-transform:uppercase"><a class="wp-block-button__link wp-element-button" style="border-radius:4px;padding-top:16px;padding-right:40px;padding-bottom:16px;padding-left:40px"><?php echo esc_html__( 'Get started', 'vitrum' ); ?></a></div>
<!-- /wp:button -->
<!-- wp:button {"style":{"typography":{"textTransform":"uppercase","fontSize":"0.8rem","lineHeight":1.4,"fontStyle":"normal","fontWeight":"600"},"spacing":{"padding":{"right":"40px","left":"40px","top":"15px","bottom":"15px"}},"border":{"radius":"4px"}},"className":"is-style-outline"} -->
<div class="wp-block-button has-custom-font-size is-style-outline" style="font-size:0.8rem;font-style:normal;font-weight:600;line-height:1.4;text-transform:uppercase"><a class="wp-block-button__link wp-element-button" style="border-radius:4px;padding-top:15px;padding-right:40px;padding-bottom:15px;padding-left:40px"><?php echo esc_html__( 'Dismiss', 'vitrum' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"100%"} -->
<div class="wp-block-column" style="flex-basis:100%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"90px"} -->
<div style="height:90px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

View file

@ -0,0 +1,43 @@
<?php
/**
* Title: archive
* Slug: vitrum/archive
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"5vh","bottom":"10vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:5vh;padding-bottom:10vh"><!-- wp:query {"queryId":30,"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-query alignwide"><!-- wp:query-title {"type":"archive","align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
<!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":4}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"","height":""} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:0"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->
<!-- wp:post-date /--></div>
<!-- /wp:group -->
<!-- wp:post-terms {"term":"category","separator":" × ","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results {"align":"wide"} -->
<!-- wp:paragraph -->
<p><?php echo __('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'vitrum');?></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,23 @@
<?php
/**
* Title: footer
* Slug: vitrum/footer
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:group {"style":{"border":{"top":{"width":"1px"},"right":[],"bottom":[],"left":[]}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="border-top-width:1px"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"3vh","bottom":"60px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="padding-top:3vh;padding-bottom:60px"><!-- wp:group {"style":{"spacing":{"blockGap":"5px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><?php echo __('©', 'vitrum');?></p>
<!-- /wp:paragraph -->
<!-- wp:site-title {"fontSize":"small"} /--></div>
<!-- /wp:group -->
<!-- wp:paragraph {"lock":{"move":false,"remove":true}} -->
<p><?php echo __('Designed with <a rel="noreferrer noopener" href="http://wordpress.org" data-type="URL" data-id="wordpress.org" target="_blank">WordPress.</a>', 'vitrum');?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,85 @@
<?php
/**
* Title: front-page
* Slug: vitrum/front-page
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"5vh","bottom":"5vh"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:5vh;padding-bottom:5vh"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0"}}}} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"90%"} -->
<div class="wp-block-column" style="flex-basis:90%"><!-- wp:heading {"textAlign":"left","level":1,"className":"alignwide"} -->
<h1 class="wp-block-heading has-text-align-left alignwide"><?php echo __('GlassBenders Guild is an atelier engaged in sustainable design and communal landscapes.', 'vitrum');?></h1>
<!-- /wp:heading --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"10%"} -->
<div class="wp-block-column" style="flex-basis:10%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":"var:preset|spacing|50"} -->
<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"50%"} -->
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:paragraph -->
<p><?php echo __('As a full-service firm, the Guild delivers contemporary projects, from the client-oriented creative process to the latest building methodologies and construction techniques applied to building sites. We are proud to achieve that through close collaboration with team members, consultants, contractors, and trades.', 'vitrum');?></p>
<!-- /wp:paragraph -->
<!-- wp:spacer {"height":"var:preset|spacing|20","style":{"layout":[]}} -->
<div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-buttons"><!-- wp:button {"style":{"border":{"radius":"4px"}}} -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" style="border-radius:4px"><?php echo __('Get started', 'vitrum');?></a></div>
<!-- /wp:button -->
<!-- wp:button {"style":{"border":{"radius":"4px"}},"className":"is-style-outline"} -->
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" style="border-radius:4px"><?php echo __('Dismiss', 'vitrum');?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"50%"} -->
<div class="wp-block-column" style="flex-basis:50%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"var:preset|spacing|70"} -->
<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:query {"queryId":0,"query":{"perPage":"2","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"only","inherit":false},"align":"wide"} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"grid","columnCount":2}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/4","style":{"color":[]}} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40)"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->
<!-- wp:post-terms {"term":"category","separator":" × "} /--></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query -->
<!-- wp:query {"queryId":1,"query":{"perPage":"8","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"align":"wide"} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"grid","columnCount":4}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"","height":""} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40)"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->
<!-- wp:post-terms {"term":"category","separator":" × "} /--></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,32 @@
<?php
/**
* Title: A 404 page
* Slug: vitrum/404
* Inserter: no
*/
?>
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"160px","bottom":"0px"},"blockGap":"0px","margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:160px;padding-bottom:0px"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0px","padding":{"top":"0px","bottom":"0px"},"margin":{"top":"0px","bottom":"0px"}}}} -->
<div class="wp-block-group alignwide" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px"><!-- wp:heading {"textAlign":"left","align":"wide","style":{"typography":{"fontWeight":"600","lineHeight":"1","fontStyle":"normal","fontSize":"8rem"}},"className":"has-text-align-center"} -->
<h2 class="alignwide has-text-align-left has-text-align-center" style="font-size:8rem;font-style:normal;font-weight:600;line-height:1"><?php echo esc_html__( 'Oops...', 'vitrum' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:spacer {"height":"90px"} -->
<div style="height:90px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","bottom":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"20px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px"><!-- wp:paragraph {"align":"left","style":{"typography":{"fontStyle":"normal","fontWeight":"500","lineHeight":1.4}},"fontSize":"small"} -->
<p class="has-text-align-left has-small-font-size" style="font-style:normal;font-weight:500;line-height:1.4"><?php echo esc_html__( 'This page could not be found.', 'vitrum' ); ?><br><?php echo esc_html__( 'Maybe try a search?', 'vitrum' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:search {"label":"<?php echo esc_html__( 'Search', 'vitrum' ); ?>","showLabel":false,"width":100,"widthUnit":"%","buttonText":"<?php echo esc_html__( 'Search', 'vitrum' ); ?>","buttonUseIcon":true,"align":"center","style":{"border":{"radius":"4px","width":"1px"}},"backgroundColor":"foreground","textColor":"background"} /--></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"90px"} -->
<div style="height:90px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group --></main>
<!-- /wp:group -->

41
vitrum/patterns/index.php Normal file
View file

@ -0,0 +1,41 @@
<?php
/**
* Title: index
* Slug: vitrum/index
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"5vh","bottom":"10vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:5vh;padding-bottom:10vh"><!-- wp:query {"queryId":30,"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"grid","columnCount":4}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"","height":""} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:0"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->
<!-- wp:post-date /--></div>
<!-- /wp:group -->
<!-- wp:post-terms {"term":"category","separator":" × ","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
<!-- /wp:post-template -->
<!-- wp:query-pagination -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results -->
<!-- wp:paragraph -->
<p><?php echo __('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'vitrum');?></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,53 @@
<?php
/**
* Title: search
* Slug: vitrum/search
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"5vh","bottom":"10vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:5vh;padding-bottom:10vh"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"75%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:75%"><!-- wp:search {"label":"Search","showLabel":false,"width":100,"widthUnit":"%","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true} /-->
<!-- wp:query-title {"type":"search","showSearchTerm":false,"fontFamily":"inter"} /-->
<!-- wp:query {"queryId":30,"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"type":"default"}} -->
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"","height":""} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:0"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->
<!-- wp:post-date /--></div>
<!-- /wp:group -->
<!-- wp:post-terms {"term":"category","separator":" × ","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
<!-- /wp:post-template -->
<!-- wp:query-pagination -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results -->
<!-- wp:paragraph -->
<p><?php echo __('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'vitrum');?></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"25%"} -->
<div class="wp-block-column" style="flex-basis:25%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

113
vitrum/patterns/single.php Normal file
View file

@ -0,0 +1,113 @@
<?php
/**
* Title: single
* Slug: vitrum/single
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"2.5vh","bottom":"15vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:2.5vh;padding-bottom:15vh"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0"}}}} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"90%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:90%"><!-- wp:post-excerpt {"fontSize":"small"} /-->
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|20","margin":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20)"><!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size"><?php echo __('Written by', 'vitrum');?></p>
<!-- /wp:paragraph -->
<!-- wp:post-author {"showAvatar":false,"showBio":false,"style":{"typography":{"textDecoration":"underline"}},"fontSize":"small"} /-->
<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size"><?php echo __('— ', 'vitrum');?></p>
<!-- /wp:paragraph -->
<!-- wp:post-date {"fontSize":"small"} /-->
<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size"><?php echo __('×', 'vitrum');?></p>
<!-- /wp:paragraph -->
<!-- wp:post-terms {"term":"post_tag","fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"10%"} -->
<div class="wp-block-column" style="flex-basis:10%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":"var:preset|spacing|70"} -->
<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0"}}}} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"90%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:90%"><!-- wp:post-title {"level":1,"isLink":true,"align":"wide"} /-->
<!-- 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-content {"align":"wide","layout":{"type":"default"}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"10%"} -->
<div class="wp-block-column" style="flex-basis:10%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:post-featured-image {"align":"full","style":{"border":{"bottom":{"width":"1px"}},"spacing":{"margin":{"top":"10vh","bottom":"5vh"}}}} /-->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:70%"><!-- wp:comments -->
<div class="wp-block-comments"><!-- wp:comments-title /-->
<!-- wp:comment-template -->
<!-- wp:columns {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"40px","left":"0px"}}}} -->
<div class="wp-block-columns" style="padding-top:0px;padding-right:0px;padding-bottom:40px;padding-left:0px"><!-- wp:column {"width":"40px"} -->
<div class="wp-block-column" style="flex-basis:40px"><!-- wp:avatar {"size":48,"isLink":true,"style":{"color":[]}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"0px"}}} -->
<div class="wp-block-column" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:comment-author-name /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"padding":{"top":"5px","right":"0px","bottom":"5px","left":"0px"},"blockGap":"30px"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px"><!-- wp:comment-date {"format":"M j","isLink":false} /-->
<!-- wp:comment-edit-link /--></div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link {"style":{"spacing":{"margin":{"bottom":"0px"}}}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /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 --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"5%"} -->
<div class="wp-block-column" style="flex-basis:5%"></div>
<!-- /wp:column -->
<!-- wp:column {"width":"25%"} -->
<div class="wp-block-column" style="flex-basis:25%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

60
vitrum/readme.txt Normal file
View file

@ -0,0 +1,60 @@
== Vitrum ==
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Vitrum was designed to be a portfolio theme and is composed of wide-width layouts with the impact of generous imagery and typography. Its simple pages are aligned left with fair right paddings and large content blocks to grant viewers focus on visuals and short paragraphs.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Vitrum WordPress Theme, (C) 2024 Automattic.
Vitrum is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Vitrum is based on Vetro (https://wordpress.com/themes/vetro/), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
== Fonts ==
Inter
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
Source: https://rsms.me/
License: This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
== Images ==
https://www.rawpixel.com/image/5962245/free-public-domain-cc0-photo
https://www.rawpixel.com/image/5911592/image-public-domain-tree-plant
https://www.rawpixel.com/image/5904176/photo-image-clouds-public-domain-trees
https://www.rawpixel.com/image/3282428/free-photo-image-architecture-abstract-geometric
https://www.rawpixel.com/image/3282421/free-photo-image-abstract-architecture-bridge
https://www.rawpixel.com/image/6032707/photo-image-public-domain-glass-window
https://www.rawpixel.com/image/3282322/free-photo-image-building-glass-office-architecture-buildings
https://www.rawpixel.com/image/6043443/bicycle-lane-free-public-domain-cc0-photo
https://www.rawpixel.com/image/430542/free-photo-image-garden-greenhouse-ecology
https://www.rawpixel.com/image/3372149/free-photo-image-banister-cc0-corridor

BIN
vitrum/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

69
vitrum/style.css Normal file
View file

@ -0,0 +1,69 @@
/*
Theme Name: Vitrum
Theme URI:
Author: Automattic
Author URI: https://wordpress.org
Description: Vitrum was designed to be a portfolio theme and is composed of wide-width layouts with the impact of generous imagery and typography. Its simple pages are aligned left with fair right paddings and large content blocks to grant viewers focus on visuals and short paragraphs.
Requires at least:
Tested up to: 6.5
Requires PHP:
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vitrum
Tags: blog, entertainment, portfolio, four-columns, two-columns, block-patterns, block-styles, custom-colors, custom-header, custom-menu, editor-style, full-site-editing, full-width-template, rtl-language-support, sticky-post, style-variations, template-editing, theme-options, threaded-comments, translation-ready
/*
* Font smoothing.
* This is a niche setting that will not be available via Global Styles.
* https://github.com/WordPress/gutenberg/issues/35934
*/
/*
* Font smoothing.
* This is a niche setting that will not be available via Global Styles.
* https://github.com/WordPress/gutenberg/issues/35934
*/
body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
/*
* Text and navigation link styles.
* Necessary until the following issue is resolved in Gutenberg:
* https://github.com/WordPress/gutenberg/issues/27075
*/
a {
text-decoration-thickness: 1px;
text-underline-offset: 0.25ch;
}
a:hover,
a:focus {
text-decoration-style: dashed;
}
a:active {
text-decoration: none;
}
.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
text-decoration: underline;
text-decoration-style: dashed;
}
/*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline
> .wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--foreground);
color: var(--wp--preset--color--background);
border-color: var(--wp--preset--color--foreground);
}

View file

@ -0,0 +1,35 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#39021a",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#ede550",
"name": "Background",
"slug": "background"
}
]
}
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--lemon)"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--lemon)"
}
}
}
},
"title": "Lemoneggplant",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -0,0 +1,35 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#001472",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#da90bd",
"name": "Background",
"slug": "background"
}
]
}
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--pink)"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--pink)"
}
}
}
},
"title": "Pinkorchid",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -0,0 +1,35 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#051c2e",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#d6d7de",
"name": "Background",
"slug": "background"
}
]
}
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--neutral)"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--neutral)"
}
}
}
},
"title": "Silverlights",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

23
vitrum/templates/404.html Normal file
View file

@ -0,0 +1,23 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"10vh","bottom":"15vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:10vh;padding-bottom:15vh"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:70%"><!-- wp:heading {"textAlign":"left","level":1,"align":"wide","className":"has-text-align-center"} -->
<h1 class="wp-block-heading alignwide has-text-align-left has-text-align-center">Ops, this page could not be found. Maybe try a search?</h1>
<!-- /wp:heading -->
<!-- wp:search {"label":"Search","showLabel":false,"width":100,"widthUnit":"%","buttonText":"Search","buttonUseIcon":true,"align":"center"} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"5%"} -->
<div class="wp-block-column" style="flex-basis:5%"></div>
<!-- /wp:column -->
<!-- wp:column {"width":"25%"} -->
<div class="wp-block-column" style="flex-basis:25%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,35 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"5vh","bottom":"10vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:5vh;padding-bottom:10vh"><!-- wp:query {"queryId":30,"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-query alignwide"><!-- wp:query-title {"type":"archive","align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
<!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":4}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"","height":""} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:0"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->
<!-- wp:post-date /--></div>
<!-- /wp:group -->
<!-- wp:post-terms {"term":"category","separator":" × ","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results {"align":"wide"} -->
<!-- wp:paragraph -->
<p>Sorry, but nothing matched your search terms. Please try again with some different keywords.</p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"vitrum/front-page"} /-->

View file

@ -0,0 +1,33 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"5vh","bottom":"10vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:5vh;padding-bottom:10vh"><!-- wp:query {"queryId":30,"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"grid","columnCount":4}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"","height":""} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:0"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->
<!-- wp:post-date /--></div>
<!-- /wp:group -->
<!-- wp:post-terms {"term":"category","separator":" × ","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
<!-- /wp:post-template -->
<!-- wp:query-pagination -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results -->
<!-- wp:paragraph -->
<p>Sorry, but nothing matched your search terms. Please try again with some different keywords.</p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,11 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"5vh","bottom":"15vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:5vh;padding-bottom:15vh"><!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:post-title {"level":1,"isLink":true,"align":"wide"} /-->
<!-- wp:post-content {"align":"wide","layout":{"type":"default"}} /--></div>
<!-- /wp:group --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,45 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"5vh","bottom":"10vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:5vh;padding-bottom:10vh"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"75%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:75%"><!-- wp:search {"label":"Search","showLabel":false,"width":100,"widthUnit":"%","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true} /-->
<!-- wp:query-title {"type":"search","showSearchTerm":false,"fontFamily":"inter"} /-->
<!-- wp:query {"queryId":30,"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"type":"default"}} -->
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"","height":""} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:0"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->
<!-- wp:post-date /--></div>
<!-- /wp:group -->
<!-- wp:post-terms {"term":"category","separator":" × ","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
<!-- /wp:post-template -->
<!-- wp:query-pagination -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results -->
<!-- wp:paragraph -->
<p>Sorry, but nothing matched your search terms. Please try again with some different keywords.</p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"25%"} -->
<div class="wp-block-column" style="flex-basis:25%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,105 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"2.5vh","bottom":"15vh"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:2.5vh;padding-bottom:15vh"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0"}}}} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"90%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:90%"><!-- wp:post-excerpt {"fontSize":"small"} /-->
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|20","margin":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20)"><!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size">Written by</p>
<!-- /wp:paragraph -->
<!-- wp:post-author {"showAvatar":false,"showBio":false,"style":{"typography":{"textDecoration":"underline"}},"fontSize":"small"} /-->
<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size"></p>
<!-- /wp:paragraph -->
<!-- wp:post-date {"fontSize":"small"} /-->
<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size">×</p>
<!-- /wp:paragraph -->
<!-- wp:post-terms {"term":"post_tag","fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"10%"} -->
<div class="wp-block-column" style="flex-basis:10%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":"var:preset|spacing|70"} -->
<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0"}}}} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"90%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:90%"><!-- wp:post-title {"level":1,"isLink":true,"align":"wide"} /-->
<!-- 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-content {"align":"wide","layout":{"type":"default"}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"10%"} -->
<div class="wp-block-column" style="flex-basis:10%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:post-featured-image {"align":"full","style":{"border":{"bottom":{"width":"1px"}},"spacing":{"margin":{"top":"10vh","bottom":"5vh"}}}} /-->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column" style="padding-right:0;flex-basis:70%"><!-- wp:comments -->
<div class="wp-block-comments"><!-- wp:comments-title /-->
<!-- wp:comment-template -->
<!-- wp:columns {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"40px","left":"0px"}}}} -->
<div class="wp-block-columns" style="padding-top:0px;padding-right:0px;padding-bottom:40px;padding-left:0px"><!-- wp:column {"width":"40px"} -->
<div class="wp-block-column" style="flex-basis:40px"><!-- wp:avatar {"size":48,"isLink":true,"style":{"color":[]}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"0px"}}} -->
<div class="wp-block-column" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:comment-author-name /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"padding":{"top":"5px","right":"0px","bottom":"5px","left":"0px"},"blockGap":"30px"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px"><!-- wp:comment-date {"format":"M j","isLink":false} /-->
<!-- wp:comment-edit-link /--></div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link {"style":{"spacing":{"margin":{"bottom":"0px"}}}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /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 --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"5%"} -->
<div class="wp-block-column" style="flex-basis:5%"></div>
<!-- /wp:column -->
<!-- wp:column {"width":"25%"} -->
<div class="wp-block-column" style="flex-basis:25%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

503
vitrum/theme.json Normal file
View file

@ -0,0 +1,503 @@
{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"duotone": [
{
"colors": [
"#063559",
"#62FF88"
],
"name": "Default",
"slug": "default"
},
{
"colors": [
"#051C2E",
"#D6D7DE"
],
"name": "Neutral",
"slug": "neutral"
},
{
"colors": [
"#39021a",
"#EDE550"
],
"name": "Lemon",
"slug": "lemon"
},
{
"colors": [
"#001472",
"#DA90BD"
],
"name": "Pink",
"slug": "pink"
}
],
"palette": [
{
"color": "#62ff88",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#063559",
"name": "Background",
"slug": "background"
}
]
},
"layout": {
"contentSize": "900px",
"wideSize": "1200px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"defaultFontSizes": false,
"fontFamilies": [
{
"fontFace": [],
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/inter_normal_400.ttf"
]
},
{
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/inter_normal_600.ttf"
]
}
],
"fontFamily": "Inter",
"slug": "inter"
}
],
"fontSizes": [
{
"size": "1rem",
"slug": "small"
},
{
"size": "1.125rem",
"slug": "medium"
},
{
"size": "clamp(1.75rem, 3vw, 2rem)",
"slug": "large"
},
{
"size": "clamp(2.5rem, 3vw, 4rem)",
"slug": "x-large"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/avatar": {
"border": {
"bottom": {
"style": "solid",
"width": "1px"
},
"color": null,
"left": {
"style": "solid",
"width": "1px"
},
"radius": "48px",
"right": {
"style": "solid",
"width": "1px"
},
"style": null,
"top": {
"style": "solid",
"width": "1px"
},
"width": null
},
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
}
},
"core/button": {
"border": {
"radius": "3px"
},
"color": {
"background": "var(--wp--preset--color--foreground)",
"text": "var(--wp--preset--color--background)"
},
"spacing": {
"padding": {
"bottom": "16px",
"left": "40px",
"right": "40px",
"top": "16px"
}
},
"typography": {
"fontSize": "0.8rem",
"letterSpacing": "0.03rem",
"textTransform": "uppercase"
},
"variations": {
"outline": {
"spacing": {
"padding": {
"bottom": "16px",
"left": "40px",
"right": "40px",
"top": "16px"
}
}
}
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"core/comment-content": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "0.8rem",
"letterSpacing": "0.02rem"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "0.8rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0.02rem"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "0.8rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0.02rem"
}
},
"core/comments-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
}
},
"core/image": {
"border": {
"radius": "4px"
},
"elements": {
"caption": {
"color": {
"text": {
"ref": "styles.color.text"
}
}
}
},
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
}
},
"core/navigation": {
"spacing": {
"blockGap": "var(--wp--preset--spacing--60)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase"
}
},
"core/post-comments": {
"spacing": {
"padding": {
"top": "var(--wp--custom--spacing--small)"
}
}
},
"core/post-content": {
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/post-date": {
"typography": {
"fontSize": "0.8rem"
}
},
"core/post-featured-image": {
"border": {
"radius": "4px"
},
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
}
},
"core/post-terms": {
"typography": {
"fontSize": "0.88rem",
"letterSpacing": "0.01rem"
}
},
"core/pullquote": {
"border": {
"width": "1px 0"
}
},
"core/query-pagination": {
"typography": {
"fontSize": "2rem",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"core/query-title": {
"spacing": {
"padding": {
"top": "0"
}
}
},
"core/quote": {
"border": {
"width": "1px"
}
},
"core/search": {
"border": {
"radius": "2px"
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "0.88rem",
"lineHeight": "1.3"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter-display)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "-0.03rem",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"textTransform": "uppercase"
}
},
"core/spacer": {
"spacing": {
"margin": {
"bottom": "0",
"top": "0"
}
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "underline"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
}
},
"color": {
"background": "var(--wp--preset--color--foreground)",
"text": "var(--wp--preset--color--background)"
},
"typography": {
"fontFamily": "Inter",
"fontSize": "1rem",
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": "1",
"textDecoration": "none"
}
},
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter)",
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontStyle": "normal",
"letterSpacing": "-0.05rem",
"lineHeight": "1.1"
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter)",
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"letterSpacing": "-0.02rem",
"lineHeight": "1.1"
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter-display)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"letterSpacing": "0rem",
"lineHeight": "1.5"
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter-display)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"letterSpacing": "0rem",
"lineHeight": "1.5"
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter-display)",
"fontSize": "1rem",
"fontStyle": "normal",
"letterSpacing": "0rem",
"lineHeight": "1.5",
"textTransform": "uppercase"
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter-display)",
"fontSize": "1rem",
"fontStyle": "normal",
"letterSpacing": "0.02rem",
"lineHeight": "1.5",
"textTransform": "uppercase"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.5"
}
},
"templateParts": [
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
}
],
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}