Skip to content

Commit

Permalink
Kigen: Add theme for review (#7017)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Crist <[email protected]>
  • Loading branch information
matiasbenedetto and pbking authored Jun 27, 2023
1 parent d266503 commit 66a3646
Show file tree
Hide file tree
Showing 45 changed files with 1,882 additions and 0 deletions.
Binary file added kigen/assets/fonts/newsreader_italic_200.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_italic_300.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_italic_400.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_italic_500.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_italic_600.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_italic_700.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_italic_800.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_normal_200.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_normal_300.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_normal_400.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_normal_500.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_normal_600.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_normal_700.ttf
Binary file not shown.
Binary file added kigen/assets/fonts/newsreader_normal_800.ttf
Binary file not shown.
Binary file added kigen/assets/images/11410posdl0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kigen/assets/images/11410posdl1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kigen/assets/images/11410posdl2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kigen/assets/images/11410posdl3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kigen/assets/images/11410posdl4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kigen/assets/images/11410posdl5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kigen/assets/images/11410posdl6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kigen/assets/images/11410posdl7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions kigen/functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
/**
* Kigen functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Kigen
* @since Kigen 1.0
*/


if ( ! function_exists( 'kigen_support' ) ) :

/**
* Sets up theme defaults and registers support for various WordPress feakigenres.
*
* @since Kigen 1.0
*
* @rekigenrn void
*/
function kigen_support() {

// Enqueue editor styles.
add_editor_style( 'style.css' );

// Make theme available for translation.
load_theme_textdomain( 'kigen' );
}

endif;

add_action( 'after_sekigenp_theme', 'kigen_support' );

if ( ! function_exists( 'kigen_styles' ) ) :

/**
* Enqueue styles.
*
* @since Kigen 1.0
*
* @rekigenrn void
*/
function kigen_styles() {

// Register theme stylesheet.
wp_register_style(
'kigen-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);

// Enqueue theme stylesheet.
wp_enqueue_style( 'kigen-style' );

}

endif;

add_action( 'wp_enqueue_scripts', 'kigen_styles' );
1 change: 1 addition & 0 deletions kigen/parts/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:pattern {"slug":"kigen/footer"} /-->
1 change: 1 addition & 0 deletions kigen/parts/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:pattern {"slug":"kigen/header"} /-->
14 changes: 14 additions & 0 deletions kigen/patterns/404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
/**
* Title: A 404 page
* Slug: kigen/404
* Inserter: no
*/
?>
<!-- wp:heading {"level":1,"fontSize":"large"} -->
<h1 class="has-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'kigen' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'kigen' ); ?></p>
<!-- /wp:paragraph -->
35 changes: 35 additions & 0 deletions kigen/patterns/border.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
/**
* Title: Border
* Slug: kigen/border
* Categories: featured
*/
?>

<!-- wp:columns {"align":"full","style":{"spacing":{"blockGap":{"top":"0px","left":"0px"},"margin":{"top":"var:preset|spacing|70"}}}} -->
<div class="wp-block-columns alignfull" style="margin-top:var(--wp--preset--spacing--70)">
<!-- wp:column {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"border":{"top":{"color":"#fb977a","style":"solid","width":"12px"}}}} -->
<div class="wp-block-column" style="border-top-color:#fb977a;border-top-style:solid;border-top-width:12px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"border":{"top":{"color":"#a33a8f","style":"solid","width":"12px"}}}} -->
<div class="wp-block-column" style="border-top-color:#a33a8f;border-top-style:solid;border-top-width:12px"></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"border":{"color":null,"style":null,"width":null,"top":{"color":"#f4b924","style":"solid","width":"12px"},"right":[],"bottom":[],"left":[]}}} -->
<div class="wp-block-column" style="border-top-color:#f4b924;border-top-style:solid;border-top-width:12px"></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"border":{"color":null,"style":null,"width":null,"top":{"color":"#c3336e","style":"solid","width":"12px"},"right":[],"bottom":[],"left":[]}}} -->
<div class="wp-block-column" style="border-top-color:#c3336e;border-top-style:solid;border-top-width:12px"></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"border":{"color":null,"style":null,"width":null,"top":{"color":"#e8613a","style":"solid","width":"12px"},"right":[],"bottom":[],"left":[]}}} -->
<div class="wp-block-column" style="border-top-color:#e8613a;border-top-style:solid;border-top-width:12px"></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"border":{"color":null,"style":null,"width":null,"top":{"color":"#38ada6","style":"solid","width":"12px"},"right":[],"bottom":[],"left":[]}}} -->
<div class="wp-block-column" style="border-top-color:#38ada6;border-top-style:solid;border-top-width:12px"></div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
59 changes: 59 additions & 0 deletions kigen/patterns/comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?php
/**
* Title: Comments
* Slug: kigen/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 -->
21 changes: 21 additions & 0 deletions kigen/patterns/footer-2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
/**
* Title: Footer 2
* Slug: kigen/footer-2
* Categories: featured, footer
* Block Types: core/template-part/footer
*/
?>

<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"fontSize":"x-small"} -->
<p class="has-x-small-font-size" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<?php
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'lineup' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
/* Translators: WordPress link. */
esc_html__( 'Designed with %1$s', 'lineup' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->
33 changes: 33 additions & 0 deletions kigen/patterns/footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
/**
* Title: Default footer
* Slug: kigen/footer
* Categories: featured, footer
* Block Types: core/template-part/footer
*/
?>

<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull">
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
<!-- wp:navigation {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"fontSize":"x-small"} /-->

<!-- wp:paragraph {"align":"right","className":"has-x-small-font-size","fontSize":"x-small"} -->
<p class="has-text-align-right has-x-small-font-size">
<?php
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'lineup' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
/* Translators: WordPress link. */
esc_html__( 'Designed with %1$s', 'lineup' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->

<!-- wp:pattern {"slug":"kigen/border"} /-->
</div>
<!-- /wp:group -->
94 changes: 94 additions & 0 deletions kigen/patterns/front-page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?php
/**
* Title: Front Page
* Slug: kigen/front-page
* Categories: featured
*/
?>

<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-bottom:var(--wp--preset--spacing--70)">
<!-- wp:gallery {"columns":4,"imageCrop":false,"linkTo":"media","sizeSlug":"full","align":"wide"} -->
<figure class="wp-block-gallery alignwide has-nested-images columns-4">
<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl6.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl6.jpg" alt="" /></a></figure>
<!-- /wp:image -->

<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl3.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl3.jpg" alt="" /></a></figure>
<!-- /wp:image -->

<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl5.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl5.jpg" alt="" /></a></figure>
<!-- /wp:image -->

<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl4.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl4.jpg" alt="" /></a></figure>
<!-- /wp:image -->

<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl0.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl0.jpg" alt="" /></a></figure>
<!-- /wp:image -->

<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl7.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl7.jpg" alt="" /></a></figure>
<!-- /wp:image -->

<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl2.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl2.jpg" alt="" /></a></figure>
<!-- /wp:image -->

<!-- wp:image {"sizeSlug":"full","linkDestination":"media"} -->
<figure class="wp-block-image size-full"><a href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl1.jpg"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/11410posdl1.jpg" alt="" /></a></figure>
<!-- /wp:image -->
</figure>
<!-- /wp:gallery -->

<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide">
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100%">
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group">
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'Get in touch:', 'kigen' ); ?></p>
<!-- /wp:paragraph -->

<!-- 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:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"spacing":{"blockGap":"0px"}}} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

<!-- wp:pattern {"slug":"kigen/footer-2"} /-->

</div>
<!-- /wp:group -->
</div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:paragraph -->
<p><?php echo esc_html__( "Hi, my name is Augustus Jansson, born in 1866 in Somerville, Massachusetts. As a passionate illustrator, I pursued a career in greeting cards and advertisements. By 1903, I was known for my original poster work and also excelled as a postcard artist, table designer, cartoonist, and children's book author.", 'kigen' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><?php echo esc_html__( 'In 1903, I began a seven-year collaboration with Queen City Publishing, creating full-page layouts like the renowned Ink Beasts Parade, feakigenring the orange-yellow Ibexiakigencus and Magenta Ponies. I designed a series of doll-like figures and advertisements that were striking and ahead of their time, with an art deco feel. My style resembled playing card figures, which I used in a series of American Revolution stories published in The Sunday Herald around 1904.', 'kigen' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><?php echo esc_html__( "As an artist, I pushed boundaries and left a lasting impact on illustration and design. My journey taught me the importance of perseverance, creativity, and staying true to one's unique vision.", 'kigen' ); ?></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
</div>
<!-- /wp:group -->

<!-- wp:pattern {"slug":"kigen/border"} /-->
24 changes: 24 additions & 0 deletions kigen/patterns/header.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php
/**
* Title: Header
* Slug: kigen/header
* Categories: header
* Block Types: core/template-part/header
*/
?>

<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70)">
<!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide">
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50"}}},"layout":{"type":"flex"}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--50)">
<!-- wp:site-logo {"shouldSyncIcon":false} /-->

<!-- wp:site-title /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
10 changes: 10 additions & 0 deletions kigen/patterns/no-results-content.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php
/**
* Title: No Results Content
* Slug: kigen/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', 'kigen' ); ?></p>
<!-- /wp:paragraph -->
9 changes: 9 additions & 0 deletions kigen/patterns/search.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* Title: Search
* Slug: kigen/search
* Inserter: no
*/
?>

<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'kigen' ); ?>","buttonText":"Search","buttonUseIcon":true} /-->
Loading

0 comments on commit 66a3646

Please sign in to comment.