Optimismo: add theme for review (#7018)
Co-authored-by: Takashi Irie <takashi@automattic.com> Co-authored-by: Jason Crist <jcrist@pbking.com>
BIN
optimismo/assets/fonts/commissioner_italic_100.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_italic_200.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_italic_300.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_italic_400.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_italic_500.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_italic_600.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_italic_700.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_italic_800.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_italic_900.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_normal_100.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_normal_200.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_normal_300.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_normal_400.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_normal_500.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_normal_700.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_normal_800.otf
Normal file
BIN
optimismo/assets/fonts/commissioner_normal_900.otf
Normal file
BIN
optimismo/assets/images/11410posdl0.jpg
Normal file
After Width: | Height: | Size: 405 KiB |
BIN
optimismo/assets/images/11410posdl1.jpg
Normal file
After Width: | Height: | Size: 361 KiB |
BIN
optimismo/assets/images/11410posdl2.jpg
Normal file
After Width: | Height: | Size: 198 KiB |
BIN
optimismo/assets/images/11410posdl3.jpg
Normal file
After Width: | Height: | Size: 308 KiB |
BIN
optimismo/assets/images/11410posdl4.jpg
Normal file
After Width: | Height: | Size: 248 KiB |
BIN
optimismo/assets/images/11410posdl5.jpg
Normal file
After Width: | Height: | Size: 304 KiB |
BIN
optimismo/assets/images/11410posdl6.jpg
Normal file
After Width: | Height: | Size: 204 KiB |
BIN
optimismo/assets/images/11410posdl7.jpg
Normal file
After Width: | Height: | Size: 263 KiB |
60
optimismo/functions.php
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
/**
|
||||
* Optimismo functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package Optimismo
|
||||
* @since Optimismo 1.0
|
||||
*/
|
||||
|
||||
|
||||
if ( ! function_exists( 'optimismo_support' ) ) :
|
||||
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress feaoptimismores.
|
||||
*
|
||||
* @since Optimismo 1.0
|
||||
*
|
||||
* @reoptimismorn void
|
||||
*/
|
||||
function optimismo_support() {
|
||||
|
||||
// Enqueue editor styles.
|
||||
add_editor_style( 'style.css' );
|
||||
|
||||
// Make theme available for translation.
|
||||
load_theme_textdomain( 'optimismo' );
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'after_seoptimismop_theme', 'optimismo_support' );
|
||||
|
||||
if ( ! function_exists( 'optimismo_styles' ) ) :
|
||||
|
||||
/**
|
||||
* Enqueue styles.
|
||||
*
|
||||
* @since Optimismo 1.0
|
||||
*
|
||||
* @reoptimismorn void
|
||||
*/
|
||||
function optimismo_styles() {
|
||||
|
||||
// Register theme stylesheet.
|
||||
wp_register_style(
|
||||
'optimismo-style',
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
array(),
|
||||
wp_get_theme()->get( 'Version' )
|
||||
);
|
||||
|
||||
// Enqueue theme stylesheet.
|
||||
wp_enqueue_style( 'optimismo-style' );
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'optimismo_styles' );
|
2
optimismo/parts/footer.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<!-- wp:pattern {"slug":"optimismo/footer"} /-->
|
||||
|
1
optimismo/parts/header.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"optimismo/header"} /-->
|
14
optimismo/patterns/404.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: A 404 page
|
||||
* Slug: optimismo/404
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"large","anchor":"oops-that-page-can-t-be-found"} -->
|
||||
<h1 class="wp-block-heading has-text-align-center has-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can’t be found.', 'optimismo' ); ?></h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center"><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'optimismo' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
58
optimismo/patterns/comments.php
Normal file
|
@ -0,0 +1,58 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Comments
|
||||
* Slug: optimismo/comments
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
|
||||
<div class="wp-block-comments wp-block-comments-query-loop">
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:comments-title {"level":3} /-->
|
||||
|
||||
<!-- wp:comment-template {"style":{"spacing":{"padding":{"left":"0px"}}}} -->
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"1.5rem"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:0;margin-bottom:1.5rem">
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5em"}},"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 {"paginationArrow":"chevron","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:comments-pagination-previous /-->
|
||||
|
||||
<!-- wp:comments-pagination-next /-->
|
||||
<!-- /wp:comments-pagination -->
|
||||
|
||||
<!-- wp:post-comments-form /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:comments -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
24
optimismo/patterns/footer.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Default footer
|
||||
* Slug: optimismo/footer
|
||||
* Categories: featured, footer
|
||||
* Block Types: core/template-part/footer
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="padding-top:0;padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
|
||||
<!-- wp:navigation {"overlayMenu":"never","align":"wide","layout":{"type":"flex","justifyContent":"center"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"},"typography":{"fontStyle":"normal","fontWeight":"500","fontSize":"0.69rem"}}} /-->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}},"typography":{"fontSize":"0.69rem"}}} -->
|
||||
<p class="has-text-align-center" style="margin-top:var(--wp--preset--spacing--40);font-size:0.69rem"><?php
|
||||
/* Translators: WordPress link. */
|
||||
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'lineup' ) ) . '" rel="nofollow">WordPress</a>';
|
||||
echo sprintf(
|
||||
esc_html__( 'Designed with %1$s', 'lineup' ),
|
||||
$wordpress_link
|
||||
);?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
16
optimismo/patterns/header.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Header
|
||||
* Slug: optimismo/header
|
||||
* Categories: header
|
||||
* Block Types: core/template-part/header
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"},"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:site-logo {"shouldSyncIcon":false,"align":"center"} /-->
|
||||
|
||||
<!-- wp:site-title {"textAlign":"center"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
10
optimismo/patterns/no-results-content.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: No Results Content
|
||||
* Slug: optimismo/no-results-content
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'optimismo' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
9
optimismo/patterns/search.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Search
|
||||
* Slug: optimismo/search
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'optimismo' ); ?>","buttonText":"Search","buttonUseIcon":true} /-->
|
32
optimismo/readme.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
=== Optimismo ===
|
||||
Contributors: Automattic
|
||||
Requires at least: 5.8
|
||||
Tested up to: 5.9
|
||||
Requires PHP: 5.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
== Description ==
|
||||
|
||||
Optimismo is a bold blog theme that allows you to have a big bold message at the front.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.0.1 =
|
||||
* Initial release
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Optimismo WordPress Theme, (C) 2023 Automattic
|
||||
Optimismo is distributed under the terms of the GNU GPL.
|
||||
Optimismo is based on Kigen (https://wordpress.com/theme/kigen), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
|
||||
|
||||
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.
|
BIN
optimismo/screenshot.png
Normal file
After Width: | Height: | Size: 90 KiB |
55
optimismo/style.css
Normal file
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
Theme Name: Optimismo
|
||||
Theme URI: https://wordpress.com/theme/optimismo/
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com/
|
||||
Description: Optimismo is a bold blog theme that allows you to have a big bold message at the front.
|
||||
Requires at least: 5.8
|
||||
Tested up to: 6.1.1
|
||||
Requires PHP: 5.7
|
||||
Version: 1.0.0
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Template:
|
||||
Text Domain: optimismo
|
||||
Tags: blog, news, one-column, wide-blocks, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready
|
||||
*/
|
||||
|
||||
/*
|
||||
* 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--primary);
|
||||
border-color: var(--wp--preset--color--primary);
|
||||
color: var(--wp--preset--color--base);
|
||||
}
|
||||
|
||||
/*
|
||||
* Link styles
|
||||
* https://github.com/WordPress/gutenberg/issues/42319
|
||||
*/
|
||||
a {
|
||||
text-decoration-thickness: 1px !important;
|
||||
text-underline-offset: 1.5px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Avatar Block
|
||||
* Fix border radius setting for the avatar block
|
||||
* https://github.com/WordPress/gutenberg/issues/48253
|
||||
*/
|
||||
.wp-block-avatar a,
|
||||
.wp-block-avatar img {
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
/*
|
||||
* Pull quote Block
|
||||
* Reset the browser default margins for blockquote element
|
||||
* https://github.com/WordPress/gutenberg/issues/44129
|
||||
*/
|
||||
.wp-block-pullquote blockquote {
|
||||
margin: 0;
|
||||
}
|
11
optimismo/templates/404.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:pattern {"slug":"optimismo/404"} /-->
|
||||
|
||||
<!-- wp:pattern {"slug":"optimismo/search"} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
45
optimismo/templates/archive.html
Normal file
|
@ -0,0 +1,45 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:query-title {"type":"archive","textAlign":"center","showPrefix":false,"style":{"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--30)">
|
||||
<!-- wp:term-description {"textAlign":"center","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query {"queryId":2,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|80"}}}} -->
|
||||
<div class="wp-block-group" style="padding-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:post-title {"textAlign":"center","isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"textAlign":"center","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:0px">
|
||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
36
optimismo/templates/index.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
|
||||
<!-- wp:spacer {"height":"1px"} -->
|
||||
<div style="height:1px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull">
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header","align":"full"} /-->
|
||||
|
||||
<!-- wp:group {"align":"full","layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignfull">
|
||||
<!-- wp:heading {"textAlign":"center","level":1,"style":{"typography":{"textTransform":"uppercase","lineHeight":"0.8","letterSpacing":"0.25em","fontStyle":"normal","fontWeight":"800"},"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"fontSize":"huge"} -->
|
||||
<h1 class="wp-block-heading has-text-align-center has-huge-font-size" style="margin-top:0px;margin-bottom:0px;font-style:normal;font-weight:800;letter-spacing:0.25em;line-height:0.8;text-transform:uppercase">HappierWorld</h1>
|
||||
<!-- /wp:heading -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:0">
|
||||
<!-- wp:query {"query":{"perPage":"5","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template {"className":"home-post-template"} -->
|
||||
<!-- wp:post-title {"textAlign":"center","isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"fontSize":"small"} /-->
|
||||
<!-- /wp:post-template -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer","align":"full"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
27
optimismo/templates/page.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|80"}}}} -->
|
||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title {"textAlign":"center"} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:post-featured-image /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"optimismo/comments"} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
43
optimismo/templates/search.html
Normal file
|
@ -0,0 +1,43 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:search {"label":"","showLabel":false,"placeholder":"Search...","buttonText":"Search","buttonUseIcon":true} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query {"queryId":6,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|80"}}}} -->
|
||||
<div class="wp-block-group" style="padding-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:post-title {"textAlign":"center","isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"textAlign":"center","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:0px">
|
||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query-no-results -->
|
||||
<!-- wp:pattern {"slug":"optimismo/no-results-content"} /-->
|
||||
<!-- /wp:query-no-results -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
49
optimismo/templates/single.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|80"}}}} -->
|
||||
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title {"textAlign":"center","style":{"typography":{"fontStyle":"normal","fontWeight":"600"}}} /-->
|
||||
|
||||
<!-- wp:post-date {"textAlign":"center","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:post-featured-image /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|80"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-navigation-link {"type":"previous","label":"Previous Post","arrow":"arrow"} /-->
|
||||
|
||||
<!-- wp:post-navigation-link {"textAlign":"right","label":"Next Post","arrow":"arrow"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"optimismo/comments"} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|