Grammer One: add theme (#7216)

* Initial theme.

* Escape.

* Escape.

* Escape and clean up.

* Remove from categories.

* Escape.

* Clean and use webp.

* Replace image and add credits.
This commit is contained in:
Jeff Ong 2023-07-07 15:38:40 -04:00 committed by GitHub
parent 33a5881dd9
commit 0b5b0c24de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 1203 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

60
grammerone/functions.php Normal file
View file

@ -0,0 +1,60 @@
<?php
/**
* Grammer One functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Grammer One
* @since Grammer One 1.0
*/
if ( ! function_exists( 'grammerone_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Grammer One 1.0
*
* @return void
*/
function grammerone_support() {
// Enqueue editor styles.
add_editor_style( 'style.css' );
// Make theme available for translation.
load_theme_textdomain( 'grammerone' );
}
endif;
add_action( 'after_setup_theme', 'grammerone_support' );
if ( ! function_exists( 'grammerone_styles' ) ) :
/**
* Enqueue styles.
*
* @since Grammer One 1.0
*
* @return void
*/
function grammerone_styles() {
// Register theme stylesheet.
wp_register_style(
'grammerone-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'grammerone-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'grammerone_styles' );

View file

@ -0,0 +1,14 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"3rem","bottom":"3rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:3rem;padding-bottom:3rem"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0rem","right":"0rem","left":"0rem"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"2rem"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="margin-top:0px;margin-bottom:0px;padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem">
<!-- wp:pattern {"slug":"grammerone/designed-with"} /-->
<!-- wp:social-links {"iconColor":"tertiary","iconColorValue":"#f5f5f5","iconBackgroundColor":"primary","iconBackgroundColorValue":"#111111","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"top":"0.5rem","left":"0.5rem"}}},"layout":{"type":"flex","justifyContent":"right"}} -->
<ul class="wp-block-social-links has-small-icon-size has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"tumblr.com","service":"tumblr"} /-->
<!-- wp:social-link {"url":"instagram.com","service":"instagram"} /-->
<!-- wp:social-link {"url":"500px.com","service":"fivehundredpx"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,14 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"3rem","bottom":"6rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:3rem;padding-bottom:6rem"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0rem","right":"0rem","left":"0rem"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"2rem"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="margin-top:0px;margin-bottom:0px;padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem">
<!-- wp:pattern {"slug":"grammerone/designed-with"} /-->
<!-- wp:social-links {"iconColor":"tertiary","iconColorValue":"#f5f5f5","iconBackgroundColor":"primary","iconBackgroundColorValue":"#111111","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"top":"0.5rem","left":"0.5rem"}}},"layout":{"type":"flex","justifyContent":"right"}} -->
<ul class="wp-block-social-links has-small-icon-size has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"tumblr.com","service":"tumblr"} /-->
<!-- wp:social-link {"url":"instagram.com","service":"instagram"} /-->
<!-- wp:social-link {"url":"500px.com","service":"fivehundredpx"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"grammerone/header-2"} /-->

View file

@ -0,0 +1,29 @@
<!-- wp:cover {"dimRatio":0,"overlayColor":"primary","minHeight":8,"minHeightUnit":"rem","align":"full","style":{"spacing":{"margin":{"top":"0rem","bottom":"0rem"},"padding":{"top":"1rem","bottom":"0rem","left":"2rem","right":"2rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull" style="margin-top:0rem;margin-bottom:0rem;padding-top:1rem;padding-right:2rem;padding-bottom:0rem;padding-left:2rem;min-height:8rem"><span aria-hidden="true" class="wp-block-cover__background has-primary-background-color has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"}}}} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column {"verticalAlignment":"center","width":"50%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"><!-- wp:site-title {"style":{"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"uppercase","lineHeight":0.8,"fontSize":"3.6rem"}}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center"} -->
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":{"top":"20px","left":"20px"}}}} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column {"verticalAlignment":"center","width":"","style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"1rem"},"blockGap":"0px"},"border":{"right":{"width":"0px","style":"none"},"left":{"color":"#353840","width":"1px"}}}} -->
<div class="wp-block-column is-vertically-aligned-center" style="border-right-style:none;border-right-width:0px;border-left-color:#353840;border-left-width:1px;padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:1rem"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase","lineHeight":1.1},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"small"} -->
<p class="has-foreground-color has-text-color has-link-color has-small-font-size" style="line-height:1.1;text-transform:uppercase">City<br>St. Louis, USA</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"","style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"1rem"},"blockGap":"0px"},"border":{"right":{"width":"0px","style":"none"},"left":{"color":"#353840","width":"1px"}}}} -->
<div class="wp-block-column is-vertically-aligned-center" style="border-right-style:none;border-right-width:0px;border-left-color:#353840;border-left-width:1px;padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:1rem"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase","lineHeight":1.1},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"small"} -->
<p class="has-foreground-color has-text-color has-link-color has-small-font-size" style="line-height:1.1;text-transform:uppercase">Age<br>30</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"","style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"1rem"},"blockGap":"0px"},"border":{"right":{"width":"0px","style":"none"},"left":{"color":"#353840","width":"1px"}}}} -->
<div class="wp-block-column is-vertically-aligned-center" style="border-right-style:none;border-right-width:0px;border-left-color:#353840;border-left-width:1px;padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:1rem"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase","lineHeight":1.1},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"small"} -->
<p class="has-foreground-color has-text-color has-link-color has-small-font-size" style="line-height:1.1;text-transform:uppercase">Camera<br>Canon EOS R6</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div></div>
<!-- /wp:cover -->

View file

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

View file

@ -0,0 +1,21 @@
<!-- wp:cover {"dimRatio":0,"overlayColor":"primary","minHeight":8,"minHeightUnit":"rem","align":"full","style":{"spacing":{"margin":{"top":"0rem","bottom":"0rem"},"padding":{"top":"1rem","bottom":"0rem","left":"2rem","right":"2rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull" style="margin-top:0rem;margin-bottom:0rem;padding-top:1rem;padding-right:2rem;padding-bottom:0rem;padding-left:2rem;min-height:8rem"><span aria-hidden="true" class="wp-block-cover__background has-primary-background-color has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"center"}} -->
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0.75rem"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group has-foreground-color has-text-color has-link-color"><!-- wp:site-title {"textAlign":"center","style":{"typography":{"letterSpacing":"-0.02rem","fontStyle":"normal","fontWeight":"700","textTransform":"lowercase","lineHeight":1}},"fontSize":"small"} /-->
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1"}}} -->
<p style="line-height:1">@golaj</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:post-date {"style":{"spacing":{"padding":{"top":"0rem","bottom":"0rem"}},"typography":{"lineHeight":"1"}},"fontSize":"small"} /--></div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem","padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:post-navigation-link {"type":"previous","label":"prev","style":{"layout":{"selfStretch":"fixed","flexSize":"80px"},"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"1rem","lineHeight":"1"}}} /-->
<!-- wp:post-navigation-link {"textAlign":"right","label":"next","style":{"layout":{"selfStretch":"fixed","flexSize":"80px"},"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"1rem","lineHeight":"1"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->

View file

@ -0,0 +1 @@
<!-- wp:post-terms {"term":"post_tag"} /-->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"grammerone/simple-header-with-image"} /-->

View file

@ -0,0 +1,35 @@
<?php
/**
* Title: A 404 page
* Slug: grammerone/404
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"6rem","bottom":"6rem"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="padding-top:6rem;padding-bottom:6rem"><!-- wp:columns {"verticalAlignment":"top","align":"wide"} -->
<div class="wp-block-columns alignwide are-vertically-aligned-top"><!-- wp:column {"verticalAlignment":"top"} -->
<div class="wp-block-column is-vertically-aligned-top"><!-- wp:group {"align":"wide","layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"left","level":1,"align":"wide","style":{"typography":{"fontSize":"4rem","lineHeight":1.2},"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
<h1 class="wp-block-heading alignwide has-text-align-left" id="oops-that-page-can-t-be-found" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-size:4rem;line-height:1.2"><?php echo esc_html__( 'Oops! That page', 'grammerone' ); ?><br><?php echo esc_html__( 'cant be found.', 'grammerone' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:spacer {"height":"1rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"top"} -->
<div class="wp-block-column is-vertically-aligned-top"><!-- wp:group {"style":{"spacing":{"padding":{"top":"1rem","right":"0rem","bottom":"2rem","left":"0rem"},"blockGap":"1rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group" style="padding-top:1rem;padding-right:0rem;padding-bottom:2rem;padding-left:0rem"><!-- wp:paragraph {"style":{"typography":{"fontSize":"1.1rem","lineHeight":"1.5"}}} -->
<p style="font-size:1.1rem;line-height:1.5"><?php echo esc_html__( 'It looks like nothing was found at this location.', 'grammerone' ); ?><br><?php echo esc_html__( 'Maybe try a search?', 'grammerone' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:search {"label":"<?php echo esc_html__( 'Search', 'grammerone' ); ?>","showLabel":false,"buttonText":"<?php echo esc_html__( 'Search', 'grammerone' ); ?>","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"0px","width":"0px","style":"none"}},"backgroundColor":"foreground","textColor":"background"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- /wp:group -->

View file

@ -0,0 +1,22 @@
<?php
/**
* Title: Designed with
* Slug: grammerone/designed-with
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:paragraph {"align":"left","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} -->
<p class="has-text-align-left has-foreground-color has-text-color has-link-color">
<?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'grammerone' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'grammerone' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->

View file

@ -0,0 +1,42 @@
<?php
/**
* Title: header-2
* Slug: grammerone/header-2
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:cover {"dimRatio":0,"overlayColor":"primary","minHeight":8,"minHeightUnit":"rem","align":"full","style":{"spacing":{"margin":{"top":"0rem","bottom":"0rem"},"padding":{"top":"1rem","bottom":"0rem","left":"2rem","right":"2rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull" style="margin-top:0rem;margin-bottom:0rem;padding-top:1rem;padding-right:2rem;padding-bottom:0rem;padding-left:2rem;min-height:8rem"><span aria-hidden="true" class="wp-block-cover__background has-primary-background-color has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"full","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"1.5rem","padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"stretch"}} -->
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:image {"id":1221,"width":80,"height":80,"sizeSlug":"full","linkDestination":"custom","style":{"border":{"radius":"4px","width":"1px","color":"#222329"},"color":{"duotone":["#222329","#a5a4b2"]}},"className":"is-style-default"} -->
<figure class="wp-block-image size-full is-resized has-custom-border is-style-default"><a href="/"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/hand-light-photography-photographer-green-lens-595221-pxhere.com_-1.webp" alt="" class="has-border-color wp-image-1221" style="border-color:#222329;border-width:1px;border-radius:4px;width:80px;height:80px" width="80" height="80"/></a></figure>
<!-- /wp:image -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:heading {"level":1,"style":{"typography":{"lineHeight":"1"},"spacing":{"padding":{"top":"0px","bottom":"0px"},"margin":{"top":"0px","bottom":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background","fontSize":"small"} -->
<h1 class="wp-block-heading has-background-color has-text-color has-link-color has-small-font-size" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px;line-height:1"><a href="/" data-type="URL" data-id="/"><?php echo esc_html__( 'Jacob Gola', 'grammerone' ); ?></a></h1>
<!-- /wp:heading -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0rem"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group has-foreground-color has-text-color has-link-color"><!-- wp:paragraph -->
<p><?php echo esc_html__( 'Hello! I\'m Jacob, and I am deeply passionate about two things: food and photography.', 'grammerone' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong><?php echo esc_html__( 'jacobgola.com', 'grammerone' ); ?></strong></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:social-links {"iconColor":"foreground","iconColorValue":"#a5a4b2","iconBackgroundColor":"primary","iconBackgroundColorValue":"#0a0a0a","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"top":"0.5rem","left":"0.5rem"},"padding":{"right":"0rem","left":"0rem"}}},"layout":{"type":"flex","justifyContent":"right"}} -->
<ul class="wp-block-social-links has-small-icon-size has-icon-color has-icon-background-color" style="padding-right:0rem;padding-left:0rem"><!-- wp:social-link {"url":"tumblr.com","service":"tumblr"} /-->
<!-- wp:social-link {"url":"instagram.com","service":"instagram"} /-->
<!-- wp:social-link {"url":"500px.com","service":"fivehundredpx"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->

View file

@ -0,0 +1,42 @@
<?php
/**
* Title: header
* Slug: grammerone/header
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:cover {"dimRatio":0,"overlayColor":"primary","minHeight":8,"minHeightUnit":"rem","align":"full","style":{"spacing":{"margin":{"top":"0rem","bottom":"0rem"},"padding":{"top":"1rem","bottom":"0rem","left":"2rem","right":"2rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull" style="margin-top:0rem;margin-bottom:0rem;padding-top:1rem;padding-right:2rem;padding-bottom:0rem;padding-left:2rem;min-height:8rem"><span aria-hidden="true" class="wp-block-cover__background has-primary-background-color has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:columns {"verticalAlignment":"center","isStackedOnMobile":false,"align":"wide"} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center is-not-stacked-on-mobile"><!-- wp:column {"verticalAlignment":"center","width":""} -->
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"1.5rem","padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left","verticalAlignment":"center","orientation":"horizontal"}} -->
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:image {"id":1221,"width":80,"height":80,"sizeSlug":"full","linkDestination":"custom","style":{"border":{"radius":"4px","width":"1px","color":"#222329"},"color":{"duotone":["#222329","#a5a4b2"]}},"className":"is-style-default"} -->
<figure class="wp-block-image size-full is-resized has-custom-border is-style-default"><a href="https://grammerone.mystagingwebsite.com/"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/hand-light-photography-photographer-green-lens-595221-pxhere.com_-1.webp" alt="" class="has-border-color wp-image-1221" style="border-color:#222329;border-width:1px;border-radius:4px;width:80px;height:80px" width="80" height="80"/></a></figure>
<!-- /wp:image -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:heading {"level":1,"style":{"typography":{"lineHeight":"1"},"spacing":{"padding":{"top":"0px","bottom":"0px"},"margin":{"top":"0px","bottom":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background","fontSize":"small"} -->
<h1 class="wp-block-heading has-background-color has-text-color has-link-color has-small-font-size" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px;line-height:1"><a href="https://grammerone.mystagingwebsite.com/" data-type="URL" data-id="https://grammerone.mystagingwebsite.com/"><?php echo esc_html__( 'Jacob Gola', 'grammerone' ); ?></a></h1>
<!-- /wp:heading -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0rem"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group has-foreground-color has-text-color has-link-color"><!-- wp:paragraph -->
<p><?php echo esc_html__( 'Howdy! My name is Jacob, and I am deeply passionate about two things: food and photography.', 'grammerone' ); ?><strong><?php echo esc_html__( 'jacobgola.com', 'grammerone' ); ?></strong></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%"><!-- wp:social-links {"iconColor":"foreground","iconColorValue":"#a5a4b2","iconBackgroundColor":"primary","iconBackgroundColorValue":"#0a0a0a","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"top":"0.5rem","left":"0.5rem"},"padding":{"right":"0rem","left":"0rem"}}},"layout":{"type":"flex","justifyContent":"right"}} -->
<ul class="wp-block-social-links has-small-icon-size has-icon-color has-icon-background-color" style="padding-right:0rem;padding-left:0rem"><!-- wp:social-link {"url":"tumblr.com","service":"tumblr"} /-->
<!-- wp:social-link {"url":"instagram.com","service":"instagram"} /-->
<!-- wp:social-link {"url":"500px.com","service":"fivehundredpx"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div></div>
<!-- /wp:cover -->

View file

@ -0,0 +1,27 @@
<?php
/**
* Title: simple-header-with-image
* Slug: grammerone/simple-header-with-image
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:group {"align":"full","layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull"><!-- wp:cover {"dimRatio":0,"overlayColor":"primary","minHeight":8,"minHeightUnit":"rem","align":"full","style":{"spacing":{"margin":{"top":"0rem","bottom":"0rem"},"padding":{"top":"1rem","bottom":"0rem","left":"2rem","right":"2rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull" style="margin-top:0rem;margin-bottom:0rem;padding-top:1rem;padding-right:2rem;padding-bottom:0rem;padding-left:2rem;min-height:8rem"><span aria-hidden="true" class="wp-block-cover__background has-primary-background-color has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"center"}} -->
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"0.75rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:site-title {"textAlign":"center","style":{"typography":{"letterSpacing":"-0.02rem","fontStyle":"normal","fontWeight":"700","textTransform":"lowercase","lineHeight":1}},"fontSize":"small"} /-->
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1"}}} -->
<p style="line-height:1">@golaj</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/man-behind-the-camera-scaled.webp","id":1128,"dimRatio":0,"minHeight":50,"minHeightUnit":"vh","align":"full","style":{"color":{"duotone":["#000000","#7f7f7f"]}}} -->
<div class="wp-block-cover alignfull" style="min-height:50vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-1128" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/man-behind-the-camera-scaled.webp" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} -->
<p class="has-text-align-center has-large-font-size"></p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:group -->

45
grammerone/readme.txt Normal file
View file

@ -0,0 +1,45 @@
=== Grammer One ===
Contributors: the WordPress team
Requires at least: 6.0
Tested up to: 6.2
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Bring the Social Media experience to your site and transform it into a repository for your photos and videos. Get Grammer One now.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Grammer One is based on Gramming (https://github.com/wordpress/gramming/), (C) Themes Design, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
Gramming WordPress Theme, (C) 2023 Themes Design
Gramming 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.
This theme bundles the following third party resources:
Manrope Font
Copyright 2019 The Manrope Project Authors (https://github.com/sharanda/manrope)
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
License URL: http://scripts.sil.org/OFL
Source: http://gent.media
-- End of Manrope Font credits --
Hand holding camera lens, https://pxhere.com/en/photo/595221, CC0 https://creativecommons.org/publicdomain/zero/1.0/
Standing holding camera looking down road, https://www.rawpixel.com/image/3336810/free-photo-image-camera-lens-photographer-blur-background, CC0 https://creativecommons.org/publicdomain/zero/1.0/

BIN
grammerone/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

67
grammerone/style.css Normal file
View file

@ -0,0 +1,67 @@
/*
Theme Name: Grammer One
Theme URI: https://wordpress.com/theme/grammerone/
Author: Automattic
Author URI: https://automattic.com
Description: Bring the Social Media experience to your site and transform it into a repository for your photos and videos. Get Gramming now.
Requires at least: 6.0
Tested up to: 6.2.2
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
Text Domain: grammerone
Tags: photography, one-column, three-columns, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-site-editing, full-width-template, post-formats, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready, images, gramming, photo-blog, instagram, tiktok, social-media, grammer, photo-post
*/
/*
* Font smoothing
* https://github.com/WordPress/gutenberg/issues/35934
*/
body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
/*
* 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--secondary);
color: var(--wp--preset--color--background);
border-color: var(--wp--preset--color--secondary);
}
/**
* Currently table styles are only available with 'wp-block-styles'
* theme support (block css) thus the following needs to be included
* since 'wp-block-styles' aren't used for this theme.
* https://github.com/WordPress/gutenberg/issues/45065
*/
.wp-block-table thead {
border-bottom: 3px solid;
}
.wp-block-table tfoot {
border-top: 3px solid;
}
.wp-block-table td,
.wp-block-table th {
padding: var(--wp--preset--spacing--30);
border: 1px solid;
word-break: normal;
}
.wp-block-table figcaption {
font-size: var(--wp--preset--font-size--small);
text-align: center;
}
/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}

View file

@ -0,0 +1,5 @@
<!-- wp:template-part {"slug":"header-2"} /-->
<!-- wp:pattern {"slug":"grammerone/404"} /-->
<!-- wp:template-part {"slug":"footer-centered","area":"footer"} /-->

View file

@ -0,0 +1,53 @@
<!-- wp:template-part {"slug":"header","area":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:query-title {"type":"archive","align":"wide","style":{"typography":{"letterSpacing":"0px"}}} /-->
<!-- wp:spacer {"height":"1.5rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:1.5rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"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 {"align":"wide","layout":{"type":"grid","columnCount":3}} -->
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"400px","align":"wide"} /-->
<!-- wp:post-date {"format":"M j, Y","isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"small"} /-->
<!-- wp:spacer {"height":"0px","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"layout":{"flexSize":"2rem","selfStretch":"fixed"}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:spacer {"height":"2rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:2rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","style":{"typography":{"fontSize":"2rem","letterSpacing":"0px"}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results -->
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"1.5rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"3rem"}}} -->
<h1 class="wp-block-heading alignwide" style="font-size:3rem"> Nothing matched your search terms, sorry.</h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Please try again with some different keywords.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:search {"label":"Search","showLabel":false,"width":50,"widthUnit":"%","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"0px","width":"0px","style":"none"}},"textColor":"background"} /-->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer-centered","area":"footer"} /-->

View file

@ -0,0 +1,11 @@
<!-- wp:template-part {"slug":"header","area":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query {"queryId":8,"query":{"perPage":"12","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":{"category":[5]}},"align":"full","className":"add-remove-space"} -->
<div class="wp-block-query alignfull add-remove-space"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"30vw","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}},"border":{"radius":"4px","width":"1px","color":"#222329"}}} /-->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","area":"footer"} /-->

View file

@ -0,0 +1,13 @@
<!-- wp:template-part {"slug":"minimal","area":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:post-featured-image {"align":"wide","style":{"border":{"width":"1px","radius":"2px"}},"borderColor":"tertiary"} /-->
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"1rem","margin":{"top":"3rem","bottom":"3rem"}}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide" style="margin-top:3rem;margin-bottom:3rem"><!-- wp:post-content /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","area":"footer"} /-->

View file

@ -0,0 +1,53 @@
<!-- wp:template-part {"slug":"header","area":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:query-title {"type":"search","align":"wide"} /-->
<!-- wp:spacer {"height":"1.5rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:1.5rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"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 {"align":"wide","layout":{"type":"grid","columnCount":3}} -->
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"400px","align":"wide"} /-->
<!-- wp:post-date {"format":"M j, Y","isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"small"} /-->
<!-- wp:spacer {"height":"0px","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"layout":{"flexSize":"2rem","selfStretch":"fixed"}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:spacer {"height":"2rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:2rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","style":{"typography":{"fontSize":"2rem","letterSpacing":"0px"}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
<!-- wp:query-pagination-next {"label":"Older Posts"} /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results -->
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"1.5rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"3rem"}}} -->
<h1 class="wp-block-heading alignwide" style="font-size:3rem"> Nothing matched your search terms, sorry.</h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Please try again with some different keywords.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:search {"label":"Search","showLabel":false,"width":75,"widthUnit":"%","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"0px","width":"0px","style":"none"}},"textColor":"background"} /-->
<!-- /wp:query-no-results --></div>
<!-- /wp:query --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","area":"footer"} /-->

View file

@ -0,0 +1,67 @@
<!-- wp:template-part {"slug":"minimal","area":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"align":"wide","style":{"border":{"width":"1px","radius":"2px"}},"borderColor":"tertiary"} /-->
<!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group alignwide"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"1rem","margin":{"top":"3rem","bottom":"3rem"}}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group alignwide" style="margin-top:3rem;margin-bottom:3rem"><!-- wp:post-content /-->
<!-- wp:template-part {"slug":"post-meta","area":"uncategorized"} /--></div>
<!-- /wp:group -->
<!-- wp:comments {"align":"wide","style":{"spacing":{"margin":{"top":"3rem","right":"0rem","bottom":"3rem","left":"0rem"}}}} -->
<div class="wp-block-comments alignwide" style="margin-top:3rem;margin-right:0rem;margin-bottom:3rem;margin-left:0rem"><!-- wp:comments-title {"showPostTitle":false,"textColor":"foreground"} /-->
<!-- wp:comment-template {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":{"top":"1rem","left":"1rem"}}}} -->
<div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"40px"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:40px"><!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"},"color":[]}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center"} -->
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:comment-author-name {"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"small"} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:comment-date {"format":"M j, Y","isLink":false,"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"small"} /-->
<!-- wp:comment-edit-link {"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:comment-content {"style":{"spacing":{"padding":{"top":"0rem","bottom":"0rem"}}}} /-->
<!-- wp:comment-reply-link {"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"0rem","bottom":"0rem"}}},"fontSize":"small"} /--></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:comment-template -->
<!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:comments-pagination -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:spacer {"height":"1.5rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:1.5rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-comments-form {"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} /--></div>
<!-- /wp:comments --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","area":"footer"} /-->

579
grammerone/theme.json Normal file
View file

@ -0,0 +1,579 @@
{
"settings": {
"border": {
"color": true,
"radius": true,
"style": true,
"width": true
},
"color": {
"background": true,
"button": true,
"caption": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"heading": true,
"link": true,
"palette": [
{
"color": "#0a0a0a",
"name": "Primary",
"slug": "primary"
},
{
"color": "#0a0a0a",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#a5a4b2",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#fdfdfd",
"name": "Background",
"slug": "background"
},
{
"color": "#222329",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "720px",
"wideSize": "1128px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"blockGap": true,
"customSpacingSize": true,
"margin": true,
"padding": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/manrope_normal_400.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/manrope_normal_700.ttf"
]
}
],
"fontFamily": "Manrope",
"slug": "manrope"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"lineHeight": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/code": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"radius": "0.25rem",
"style": "solid",
"width": "2px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/comment-author-name": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"core/comment-content": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/heading": {
"spacing": {
"padding": {
"bottom": "0rem",
"top": "1rem"
}
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-content": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.4"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "500",
"lineHeight": "1.4"
}
},
"core/post-excerpt": {
"spacing": {
"margin": {
"bottom": "0px",
"left": "0px",
"right": "0px",
"top": "0px"
},
"padding": {
"bottom": "0px",
"left": "0px",
"right": "0px",
"top": "0px"
}
},
"typography": {
"letterSpacing": "-1px",
"textTransform": "uppercase"
}
},
"core/post-terms": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.4"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"style": "solid",
"width": "1px 0"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "italic"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal"
}
},
"core/search": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
},
"core/spacer": {
"spacing": {
"margin": {
"bottom": "0px",
"top": "0px"
}
}
}
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--tertiary)",
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"h1": {
"typography": {
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-0.04rem",
"lineHeight": "1"
}
},
"h2": {
"typography": {
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-0.05rem",
"lineHeight": "1"
}
},
"h3": {
"typography": {
"fontSize": "1.13rem",
"lineHeight": "1"
}
},
"h4": {
"typography": {
"fontSize": "1.13rem",
"lineHeight": "1"
}
},
"h5": {
"typography": {
"fontSize": "1.13rem",
"lineHeight": "1"
}
},
"h6": {
"typography": {
"fontSize": "1.13rem",
"lineHeight": "1"
}
},
"heading": {
"color": {
"text": "#ffffff"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--rubik)",
"fontWeight": "400",
"letterSpacing": "0rem",
"lineHeight": "1.4",
"textTransform": "none"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--background)"
},
"typography": {
"lineHeight": "1",
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "1rem",
"padding": {
"bottom": "0rem",
"left": "2rem",
"right": "2rem",
"top": "0rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--manrope)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "500",
"lineHeight": "1.4"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}