Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Barnett with Barnett-2 #6833

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions barnett-2/patterns/home.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
/**
* Title: Home Pattern
* slug: barnett/home
* inserter: no
*/

?>

<!-- wp:cover {"dimRatio":0,"overlayColor":"background","minHeight":90,"minHeightUnit":"vh","isDark":false,"align":"full"} -->
<div class="wp-block-cover alignfull is-light" style="min-height:90vh;"><span aria-hidden="true" class="wp-block-cover__background has-background-background-color has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"contentSize":"620px"}} -->
<div class="wp-block-group"><!-- wp:image {"align":"center","id":11,"width":142,"height":142,"sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image aligncenter size-large is-resized is-style-rounded"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ) . '/assets/images/image-from-rawpixel-id-2257682-jpeg.jpg'; ?>" alt="" width="142" height="142" /></figure>

<!-- /wp:image -->

<!-- wp:heading {"textAlign":"center","level":1} -->
<h1 class="has-text-align-center" id="antonio-barnett"><strong>Antonio Barnett</strong></h1>
<!-- /wp:heading -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center","orientation":"vertical"}} -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"foreground","width":100,"style":{"border":{"radius":"100px"}}} -->
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-foreground-background-color has-background wp-element-button" style="border-radius:100px;">Watch my tutorials</a></div>
<!-- /wp:button -->

<!-- wp:button {"backgroundColor":"foreground","width":100,"style":{"border":{"radius":"100px"}}} -->
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-foreground-background-color has-background wp-element-button" style="border-radius:100px;">Buy prints of my work</a></div>
<!-- /wp:button -->

<!-- wp:button {"backgroundColor":"foreground","width":100,"style":{"border":{"radius":"100px"}}} -->
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-foreground-background-color has-background wp-element-button" style="border-radius:100px;">My wish list</a></div>
<!-- /wp:button -->

<!-- wp:button {"backgroundColor":"foreground","width":100,"style":{"border":{"radius":"100px"}}} -->
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-foreground-background-color has-background wp-element-button" style="border-radius:100px;">Instagram</a></div>
<!-- /wp:button -->

<!-- wp:button {"backgroundColor":"foreground","width":100,"style":{"border":{"radius":"100px"}}} -->
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-foreground-background-color has-background wp-element-button" style="border-radius:100px;">Twitter</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->
6 changes: 3 additions & 3 deletions barnett/readme.txt → barnett-2/readme.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
=== Barnett ===
=== Barnett 2 ===
Contributors: Automattic
Requires at least: 5.8
Tested up to: 5.8
Tested up to: 6.1
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

== Description ==

Barnett is a minimalist theme, designed for single-page websites.
Barnett 2 is a minimalist theme, designed for single-page websites.

== Changelog ==

Expand Down
File renamed without changes
8 changes: 4 additions & 4 deletions barnett/style.css → barnett-2/style.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
Theme Name: Barnett
Theme Name: Barnett 2
Theme URI: https://wordpress.com/theme/barnett
Author: Automattic
Author URI: https://automattic.com/
Description: Barnett is a minimalist theme, designed for single-page websites.
Requires at least: 5.8
Tested up to: 5.8
Tested up to: 6.1
Requires PHP: 5.7
Version: 1.0.1
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
Template: blockbase
Text Domain: barnett
Text Domain: barnett-2
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage

Barnett WordPress Theme, (C) 2021 Automattic
Expand Down
2 changes: 2 additions & 0 deletions barnett-2/templates/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- wp:pattern {"slug":"barnett/home"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->
File renamed without changes.