Browse Source

Replace Barnett with Barnett-2 moving headstart content to home.html

Jason Crist 2 years ago
parent
commit
b8be614916

BIN
barnett-2/assets/images/image-from-rawpixel-id-2257682-jpeg.jpg


+ 43 - 0
barnett-2/patterns/home.php

@@ -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 -->

+ 3 - 3
barnett/readme.txt → barnett-2/readme.txt

@@ -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 ==
 

+ 0 - 0
barnett/screenshot.png → barnett-2/screenshot.png


+ 4 - 4
barnett/style.css → barnett-2/style.css

@@ -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

+ 2 - 0
barnett-2/templates/home.html

@@ -0,0 +1,2 @@
+<!-- wp:pattern {"slug":"barnett/home"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

+ 0 - 0
barnett/theme.json → barnett-2/theme.json