windhamdavid 3 months ago
parent
commit
efd8af4e6c

+ 26 - 0
functions.php

@@ -0,0 +1,26 @@
+<?php
+
+/***********************************************************
+###################### BrowserSync #########################
+************************************************************/
+
+function add_cors_http_header(){
+	header('Access-Control-Allow-Origin: https://fuf.ovid:333');
+	header('Access-Control-Allow-Credentials: true');
+	header('Access-Control-Allow-Headers: X-WP-Nonce', false );
+}
+add_action('init','add_cors_http_header');
+
+function gwp24_browsersync_save() {
+  $args = [
+    'blocking' => false,
+    'sslverify' => false
+  ];
+  $request = wp_remote_get('https://fuf.ovid:333/__browser_sync__?method=reload', $args);
+}
+add_action('rest_after_insert_page', 'gwp24_browsersync_save', 10, 3);
+add_action('rest_after_insert_post', 'gwp24_browsersync_save', 10, 3);
+add_action('save_post', 'gwp24_browsersync_save', 10, 3);
+add_action('customize_save_after', 'gwp24_browsersync_save', 10, 3);
+add_action('wp_update_nav_menu', 'gwp24_browsersync_save', 10, 3);
+add_action('updated_option', 'gwp24_browsersync_save', 10, 3);

+ 25 - 0
gulpfile.js

@@ -0,0 +1,25 @@
+const gulp = require('gulp'),
+      browserSync = require('browser-sync').create();
+
+function reload(cb) {
+  browserSync.reload();
+  cb();
+}
+
+function run() {
+  browserSync.init({
+    open: 'external',
+    host: 'fuf.ovid',
+    proxy: 'https://fuf.ovid',
+    port: '333',
+    ssl: {
+      key: '/opt/homebrew/etc/httpd/ssl/fuf.ovid-key.pem',
+      cert: '/opt/homebrew/etc/httpd/ssl/fuf.ovid.pem'
+    }
+  });
+
+  gulp.watch(['./*.json','./**/*.html','./**/*.php','./**/*.css','./**/*.js' ]).on('change',browserSync.reload);
+  console.log("🔥 Run");
+}
+
+exports.run = run;  

+ 19 - 0
parts/header.html

@@ -0,0 +1,19 @@
+<!-- wp:group {"style":{"spacing":{"padding":{"top":"25px","bottom":"25px"}}},"layout":{"type":"constrained"}} -->
+<div class="autohide navbar fixed-top wp-block-group has-base-color has-contrast-background-color has-background" style="padding-top:25px;padding-bottom:25px">
+	<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap"}} -->
+	<div class="wp-block-group alignwide container">
+		<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex"}} -->
+		<div class="wp-block-group">
+			<!-- wp:site-logo {"width":50 } /-->
+			<!-- wp:group {"style":{"spacing":{"blockGap":"30"}}} -->
+			<div class="wp-block-group">
+				<!-- wp:site-title {"level":0} /-->
+			</div>
+			<!-- /wp:group -->
+		</div>
+		<!-- /wp:group -->
+		<!-- wp:navigation {"layout":{"type":"flex","justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|40"},"layout":{"selfStretch":"fit","flexSize":null}}} /-->
+	</div>
+	<!-- /wp:group -->
+</div>
+<!-- /wp:group -->

+ 17 - 0
patterns/color-bar.php

@@ -0,0 +1,17 @@
+<?php
+/**
+ * Title: Color Bar
+ * Slug: gwp/color-bar
+ * Categories: design, featured
+ * Keywords: design
+ * Viewport width: 1400
+ */
+?>
+
+<!-- wp:group {"align":"full","layout":{"type":"constrained"}}} -->
+<div class="wp-block-group alignfull">
+	<!-- wp:group {"className":"row","layout":{"type":"flex","flexWrap":"nowrap"}} -->
+
+	<!-- /wp:group -->
+</div>
+<!-- /wp:group -->

+ 41 - 0
patterns/columns-with-images.php

@@ -0,0 +1,41 @@
+<?php
+/**
+ * Title: Columns with Circular images
+ * Slug: gwp/columns-with-images
+ * Categories: featured
+ * Block Types: core/image, core/columns
+ *
+ * @package gwp
+ * @since 1.0.0
+ */
+?>
+<!-- wp:columns {"align":"wide"} -->
+<div class="wp-block-columns alignwide">
+	<!-- wp:column -->
+	<div class="wp-block-column">
+		<!-- wp:image {"align":"center","width":200,"height":200,"scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
+		<figure class="wp-block-image aligncenter size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_theme_file_uri( 'img/_gwp_icon.png' ) ); ?>" alt="" style="object-fit:cover;width:200px;height:200px" width="200" height="200"/></figure>
+		<!-- /wp:image -->
+		<!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center"><?php echo esc_html_x( 'Sample content. Replace the text with your own content.', 'sample content', 'gwp' ); ?></p><!-- /wp:paragraph -->
+	</div>
+	<!-- /wp:column -->
+	<!-- wp:column -->
+	<div class="wp-block-column">
+		<!-- wp:image {"align":"center","width":200,"height":200,"scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
+		<figure class="wp-block-image aligncenter size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_theme_file_uri( 'img/_gwp_icon.png' ) ); ?>" alt="" style="object-fit:cover;width:200px;height:200px" width="200" height="200"/></figure>
+		<!-- /wp:image -->
+		<!-- wp:paragraph {"align":"center"} -->
+				<p class="has-text-align-center"><?php echo esc_html_x( 'Sample content. Replace the text with your own content.', 'sample content', 'gwp' ); ?></p>
+		<!-- /wp:paragraph -->
+	</div>
+	<!-- /wp:column -->
+	<!-- wp:column -->
+	<div class="wp-block-column">
+		<!-- wp:image {"align":"center","width":200,"height":200,"scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
+		<figure class="wp-block-image aligncenter size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_theme_file_uri( 'img/_gwp_icon.png' ) ); ?>" alt="" style="object-fit:cover;width:200px;height:200px" width="200" height="200"/></figure>
+		<!-- /wp:image -->
+		<!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center"><?php echo esc_html_x( 'Sample content. Replace the text with your own content.', 'sample content', 'gwp' ); ?></p><!-- /wp:paragraph -->
+	</div>
+	<!-- /wp:column -->
+</div>
+<!-- /wp:columns -->

+ 105 - 0
patterns/footer.php

@@ -0,0 +1,105 @@
+<?php
+
+/**
+ * Title: Footer
+ * Slug: gwp/footer
+ * Categories: footer
+ * Block Types: core/template-part/footer
+ */
+?>
+
+<!-- wp:group {"align":"full","textColor":"base","backgroundColor":"contrast","layout":{"type":"constrained"}} -->
+<div class="wp-block-group alignfull has-text-color-base has-base-color has-contrast-background-color has-text-color has-background">
+
+	<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|50"}}}} -->
+	<div class="wp-block-group alignwide container" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--50)">
+		
+		<!-- wp:spacer {"height":"var:preset|spacing|50"} -->
+		<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+		
+		<!-- wp:columns {"style":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}} -->
+		<div class="wp-block-columns" style="padding-top:var(--wp--preset--spacing--10)">
+			
+			<!-- wp:column {"width":"50%"} -->
+			<div class="wp-block-column" style="flex-basis:50%">
+				<!-- wp:paragraph -->
+				<p>
+					<i class="bi bi-geo-alt"></i> P.O. Box 49458 Greenwood, SC 29649<br />
+					<i class="bi bi-telephone"></i> Telephone: (864) 377-8110<br />
+					<i class="bi bi-envelope"></i> Email: nherbert@greenwoodpromise.com<br />
+					<i class="bi bi bi-envelope-check-fill"></i> <a class="link-light" target="_blank" href="https://greenwoodpromise.dm.networkforgood.com/forms/email-sign-up">Sign up for our Mailing List</a>
+				</p>
+				<!-- /wp:paragraph -->
+				<!-- wp:paragraph -->
+				<p class="fs-3"> <a class="link-light" href="https://www.linkedin.com/company/the-greenwood-promise?trk=public_post_follow-view-profile" target="_blank"><i class="bi bi-linkedin"></i></a> <a class="link-light" href="https://www.facebook.com/TheGreenwoodPromise/" target="_blank"><i class="bi bi-facebook"></i></a> <a class="link-light" href="https://twitter.com/thegwdpromise" target="_blank"><i class="bi bi-twitter-x"></i></a> <a class="link-light" href="https://www.instagram.com/greenwoodpromise/" target="_blank"><i class="bi bi-instagram"></i></a></p>
+				<!-- /wp:paragraph -->
+				<!-- wp:spacer {"height":"var:preset|spacing|50"} -->
+				<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
+				<!-- /wp:spacer -->
+			</div>
+			<!-- /wp:column -->
+			
+			<!-- wp:column {"width":"50%"} -->
+			<div class="wp-block-column" style="flex-basis:50%">
+				
+				<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"horizontal"}} -->
+				<div class="wp-block-group">
+
+					<!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontSize":"large","fontWeight":"100"}}} -->
+					<h3 class="wp-block-heading has-large-font-size has-text-color-base has-font-weight-100">Power of Promise</h3>
+					<!-- /wp:heading -->
+
+					<!-- wp:image {"align":"right","width":"70px","linkDestination":"none"} -->
+					<figure class="wp-block-image alignright is-resized">
+						<img src="<?php echo esc_url(get_template_directory_uri()); ?>/img/_gwp_logo-2.png" style="width:70px" />
+					</figure>
+					<!-- /wp:image -->
+
+				</div>
+				<!-- /wp:group -->
+
+				<!-- wp:query -->
+				<div class="wp-block-query">
+					<!-- wp:pattern {"slug":"gwp/query-short"} /-->
+				</div>
+				<!-- /wp:query -->
+
+			</div>
+			<!-- /wp:column -->
+
+		</div>
+		<!-- /wp:columns -->
+
+		<!-- wp:spacer {"height":"var:preset|spacing|50"} -->
+		<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+
+		<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","horizontalAlignment":"top"}} -->
+		<div class="wp-block-group">
+
+			<!-- wp:group {"style":{"spacing":{"blockGap":"6px"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
+			<div class="wp-block-group">
+				<!-- wp:paragraph {"fontSize":"small"} -->
+				<p class="has-small-font-size"><?php esc_html_e('&copy;', 'gwp'); ?></p>
+				<!-- /wp:paragraph -->
+				<!-- wp:site-title {"level":0,"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small"} /-->
+			</div>
+			<!-- /wp:group -->
+
+			<!-- wp:paragraph -->
+			<p class="float-end mb-1"><a href="#"><i class="bi bi-arrow-up-circle-fill text-light fs-2"></i></a></p>
+			<!-- /wp:paragraph -->
+
+		</div>
+		<!-- /wp:group -->
+
+	</div>
+	<!-- /wp:group -->
+
+	<!-- wp:spacer {"height":"100px"} -->
+	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+
+</div>
+<!-- /wp:group -->

+ 44 - 0
patterns/header.php

@@ -0,0 +1,44 @@
+<header>
+  <nav class="autohide navbar fixed-top navbar-expand-lg navbar-dark bg-gwp-grey fs-5">
+    <div class="container">
+      <a class="navbar-brand" href="/">
+        <img src="img/_gwp_logo.png" alt="The Greenwood Promise" width="200" class="d-inline-block align-text-top">
+      </a>
+      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+        <span class="navbar-toggler-icon"></span>
+      </button>
+      <div class="collapse navbar-collapse" id="navbarSupportedContent">
+        <ul class="navbar-nav me-auto mb-2 mb-lg-0">
+          <li class="nav-item">
+            <a class="nav-link" aria-current="page" href="about.html">About</a>
+          </li>
+          <li class="nav-item">
+            <a class="nav-link" href="eligibility.html">Eligibility</a>
+          </li>
+          <li class="nav-item">
+            <a class="nav-link" href="news.html">News</a>
+          </li>
+          <li class="nav-item">
+            <a class="nav-link" href="leadership.html">Leadership</a>
+          </li>
+          <li class="nav-item">
+            <a class="nav-link" href="investors.html">Investors</a>
+          </li>
+
+          <li class="nav-item">
+            <a class="nav-link" href="contact.html">Contact</a>
+          </li>
+        </ul>
+        <ul class="navbar-nav ml-auto">
+          <li class="nav-item">
+            <a href="https://greenwoodpromise.networkforgood.com" class="mx-1 btn btn-gwp-blue" role="button">Donate</a>
+          </li>
+        </ul>
+        <!--<form class="d-flex">
+          <input id="SearchCollapse" class="collapse collapse-horizontal form-control me-2" type="search" placeholder="Search" aria-label="Search">
+          <button class="btn btn-gwp-blue-green" type="button" data-bs-toggle="collapse" data-bs-target="#SearchCollapse"><i class="bi bi-search"></i></button>
+        </form>-->
+      </div>
+    </div>
+  </nav>
+</header>

+ 19 - 0
patterns/hidden-404.php

@@ -0,0 +1,19 @@
+<?php
+/**
+ * Title: 404
+ * Slug: gwp/404
+ * Inserter: no
+ *
+ * @package gwp
+ * @since 1.0.0
+ */
+?>
+<!-- wp:heading {"textAlign":"center", "level": 1} -->
+<h1 class="wp-block-heading has-text-align-center">
+	<?php esc_html_e( 'Page not found', 'gwp' ); ?>
+</h1>
+<!-- /wp:heading -->
+<!-- wp:paragraph -->
+<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try a search?', 'gwp' ); ?></p>
+<!-- /wp:paragraph -->
+<!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'Search form label', 'gwp' ); ?>","showLabel":false,"buttonText":"<?php echo esc_html_x( 'Search', 'Search form submit button text', 'gwp' ); ?>"} /-->

+ 21 - 0
patterns/hidden-post-meta.php

@@ -0,0 +1,21 @@
+<?php
+/**
+ * Title: Hidden post meta
+ * Slug: gwp/hidden-post-meta
+ * Inserter: no
+ *
+ * @package gwp
+ * @since 1.0.0
+ */
+?>
+<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}},"layout":{"type":"flex","justifyContent":"left"}} -->
+<div class="wp-block-group">
+	<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
+	<div class="wp-block-group">
+
+	<!-- wp:post-date /-->
+	</div>
+	<!-- /wp:group -->
+
+</div>
+<!-- /wp:group -->

+ 22 - 0
patterns/query-short.php

@@ -0,0 +1,22 @@
+<?php
+/**
+ * Title: Query Short
+ * Slug: gwp/query-short
+ * Categories: posts
+ * Block Types: core/post-content, core/query, core/post-title
+ *
+ * @package gwp
+ * @since 1.0.0
+ */
+?>
+<!-- wp:query {"query":{"perPage":5,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"layout":{"type":"constrained"}} -->
+<div class="wp-block-query">
+	<!-- wp:post-template -->
+		<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"horizontal"}} -->
+		<div class="wp-block-group">
+			<!-- wp:post-title {"level":2,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontSize":"medium","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|tirtiary"}}}},"textColor":"tirtiary"} /-->
+		</div>
+		<!-- /wp:group -->
+	<!-- /wp:post-template -->
+</div>
+<!-- /wp:query -->

+ 30 - 0
patterns/query.php

@@ -0,0 +1,30 @@
+<?php
+/**
+ * Title: Query
+ * Slug: gwp/query
+ * Categories: posts
+ * Block Types: core/post-conent, core/query, core/post-title
+ *
+ * @package gwp
+ * @since 1.0.0
+ */
+?>
+<!-- wp:query {"query":{"perPage":5,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"type":"constrained"}} -->
+<div class="wp-block-query">
+	<!-- wp:post-template -->
+		<!-- wp:post-title {"level":2,"isLink":true} /-->
+		<!-- wp:pattern {"slug":"gwp/hidden-post-meta"} /-->
+		<!-- wp:post-excerpt {"moreText":"Read more"} /-->
+		<!-- wp:spacer {"height":"1rem"} -->
+		<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+	<!-- /wp:post-template -->
+	<!-- wp:query-no-results -->
+	<!-- wp:paragraph --><p><?php esc_html_e( 'No results found.', 'gwp'); ?></p><!-- /wp:paragraph -->
+	<!-- /wp:query-no-results -->
+	<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
+	<!-- wp:query-pagination-previous /-->
+	<!-- wp:query-pagination-next /-->
+	<!-- /wp:query-pagination -->
+</div>
+<!-- /wp:query -->

+ 9 - 0
templates/404.html

@@ -0,0 +1,9 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);">
+	<!-- wp:pattern {"slug":"gwp/404"} /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 11 - 0
templates/archive.html

@@ -0,0 +1,11 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);">
+	<!-- wp:query-title {"type":"archive"} /-->
+	<!-- wp:term-description /-->
+	<!-- wp:pattern {"slug":"gwp/query"} /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 12 - 0
templates/index.html

@@ -0,0 +1,12 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<main class="wp-block-group has-base-background-color has-background" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);">
+	<!-- wp:heading {"level": 1} -->
+	<h1 class="wp-block-heading">News</h1>
+	<!-- /wp:heading -->
+	<!-- wp:pattern {"slug":"gwp/query"} /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 9 - 0
templates/page-no-title-no-padding.html

@@ -0,0 +1,9 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+
+<!-- wp:group {"tagName":"main","className":"no-padding","style":{"spacing":{"padding":{"top":"var:preset|spacing|0","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<main class="wp-block-group no-padding" style="padding-top:var(--wp--preset--spacing--0);padding-bottom:var(--wp--preset--spacing--50);">
+	<!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 9 - 0
templates/page-no-title.html

@@ -0,0 +1,9 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);">
+	<!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 17 - 0
templates/page.html

@@ -0,0 +1,17 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"default"}} -->
+<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)">
+	<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
+	<div class="wp-block-group alignfull">
+		<!-- wp:post-title {"level":1} /-->
+	</div>
+	<!-- /wp:group -->
+	<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
+	<!-- wp:spacer {"height":"1rem"} -->
+	<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 17 - 0
templates/search.html

@@ -0,0 +1,17 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);">
+	<!-- wp:query-title {"type":"search"} /-->
+	<!-- wp:pattern {"slug":"gwp/query"} /-->
+	<!-- wp:separator {"align":"wide","backgroundColor":"secondary"} -->
+	<hr class="wp-block-separator alignwide has-text-color has-secondary-color has-alpha-channel-opacity has-secondary-background-color has-background"/>
+	<!-- /wp:separator -->
+	<!-- wp:search {"label":"Search","showLabel":false,"buttonText":"Search"} /-->
+	<!-- wp:spacer {"height":"1rem"} -->
+	<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 42 - 0
templates/single.html

@@ -0,0 +1,42 @@
+<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /-->
+<!-- wp:spacer {"height":"1rem"} -->
+<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"default"}} -->
+<main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)">
+	<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
+	<div class="wp-block-group alignfull">
+		<!-- wp:post-title {"level":1} /-->
+		<!-- wp:pattern {"slug":"gwp/hidden-post-meta"} /-->
+	</div>
+	<!-- /wp:group -->
+	<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
+	<!-- wp:spacer {"height":"1rem"} -->
+	<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+	<!-- wp:group {"layout":{"type":"constrained"}} -->
+	<div class="wp-block-group">
+		<!-- wp:post-terms {"term":"post_tag","prefix":"Tags: "} /-->
+		<!-- wp:separator {"backgroundColor":"secondary"} -->
+		<hr class="wp-block-separator has-text-color has-secondary-color has-alpha-channel-opacity has-secondary-background-color has-background"/>
+		<!-- /wp:separator -->
+	</div>
+	<!-- wp:spacer {"height":"1rem"} -->
+	<div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+	<!-- /wp:group -->
+	<!-- wp:pattern {"slug":"gwp/comments"} /-->
+	<!-- wp:group {"layout":{"type":"constrained"}} -->
+	<div class="wp-block-group">
+		<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap"}} -->
+		<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
+			<!-- wp:post-navigation-link {"type":"previous","showTitle":true,"linkLabel":true,"arrow":"arrow"} /-->
+			<!-- wp:post-navigation-link {"showTitle":true,"linkLabel":true,"arrow":"arrow"} /-->
+		</div>
+		<!-- /wp:group -->
+	</div>
+	<!-- /wp:group -->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /-->

+ 405 - 0
theme.json

@@ -0,0 +1,405 @@
+{
+	"version": 2,
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
+	"settings": {
+		"appearanceTools": true,
+		"useRootPaddingAwareAlignments": true,
+		"layout": {
+			"contentSize": "960px",
+			"wideSize": "1140px"
+		},
+		"spacing": {
+			"units": [ "px", "em", "rem", "vh", "vw", "%" ]
+		},
+		"color": {
+			"custom": false,
+			"defaultPalette": false,
+			"palette": [
+				{
+					"slug": "base",
+					"color": "#FFFFFF",
+					"name": "Base"
+				},
+				{
+					"slug": "base-shadow",
+					"color": "#D9D5CE",
+					"name": "Base Shadow"
+				},
+				{
+					"slug": "contrast",
+					"color": "#484c57",
+					"name": "Contrast"
+				},
+				{
+					"slug": "primary",
+					"color": "#006837",
+					"name": "Primary"
+				},
+				{
+					"slug": "primary-dark",
+					"color": "#004F2A",
+					"name": "Primary"
+				},
+				{
+					"slug": "secondary",
+					"color": "#2a2d36",
+					"name": "Secondary"
+				},
+				{
+					"slug": "tirtiary",
+					"color": "#5dbd73",
+					"name": "tirtiary"
+				},
+				{
+					"slug": "transparent",
+					"color": "transparent",
+					"name": "Transparent"
+				}
+			],
+			"customGradient": false,
+			"defaultGradients": false,
+			"gradients": [
+				{
+					"slug": "primary-white",
+					"gradient": "linear-gradient(#D2D2D2 49.9%,#fff 50%)",
+					"name": "Primary color to white"
+				},
+				{
+					"slug": "white-primary",
+					"gradient": "linear-gradient(#fff 49.9%,#CBCBCB 50%)",
+					"name": "Horizontal white to Primary color"
+				}
+			],
+			"customDuotone": false,
+			"defaultDuotone": false,
+			"duotone": [
+				{
+					"colors": [ "#006837", "#FFFFFF"],
+					"slug": "secondary-primary",
+					"name": "Secondary and primary"
+				},
+				{
+					"colors": ["#006837", "#000000"],
+					"slug": "primary-contrast",
+					"name": "Primary and Contrast"
+				}
+			]
+		},
+		"typography": {
+			"dropCap": true,
+			"fluid": true,
+			"fontFamilies": [
+				{
+					"name": "System",
+					"slug": "system",
+					"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif"
+				},
+				{
+					"name": "Serif",
+					"slug": "serif",
+					"fontFamily": "\"Times New Roman\",\"New York\",Times,\"Noto Serif\",serif"
+				},
+				{
+					"name": "Monospace",
+					"slug": "monospace",
+					"fontFamily": "Consolas,Menlo,Monaco,\"SF Mono\",\"DejaVu Sans Mono\",\"Roboto Mono\",\"Courier New\",Courier,monospace"
+				},
+				{
+					"name": "Handwriting",
+					"slug": "handwriting",
+					"fontFamily": "\"Comic Sans MS\",Comic-Sans,cursive",
+					"fontFace": [
+						{
+							"src": "url(\"https://fonts.gstatic.com/s/comicsansms/v14/CSZjBXyZ.ttf\") format(\"truetype\")",
+							"fontFamily": "\"Comic Sans MS\"",
+							"fontWeight": "400",
+							"fontStyle": "normal",
+							"fontDisplay": "swap"
+						}
+					]
+				},
+				{
+					"name": "Amatic",
+					"slug": "amatic",
+					"fontFamily": "Amatic",
+					"fontFace": [
+						{
+							"src": "file:./css/fonts/amatic-sc-v22-latin-700.woff2",
+							"fontFamily": "\"Amatic\"",
+							"fontWeight": "400",
+							"fontStyle": "normal",
+							"fontDisplay": "swap"
+						}
+					]
+				},
+				{
+					"name": "Playfair Display",
+					"slug": "playfair",
+					"fontFamily": "playfiar",
+					"fontFace": [
+						{
+							"src": "file:./css/fonts/playfair-display-v36-latin-900.woff2",
+							"fontFamily": "\"Playfair\"",
+							"fontWeight": "900",
+							"fontStyle": "normal",
+							"fontDisplay": "swap"
+						}
+					]
+				}
+			],
+			"fontSizes": [
+				{
+					"slug": "small",
+					"size": "0.9rem",
+					"name": "Small",
+					"fluid": false
+				},
+				{
+					"slug": "medium",
+					"size": "1.2rem",
+					"name": "Medium",
+					"fluid": false
+				},
+				{
+					"slug": "large",
+					"size": "1.6rem",
+					"name": "Large",
+					"fluid": {
+						"min": "1.75rem",
+						"max": "2rem"
+					}
+				},
+				{
+					"slug": "x-large",
+					"size": "2.5rem",
+					"name": "XL",
+					"fluid": {
+						"min": "2rem",
+						"max": "2.75rem"
+					}
+				},
+				{
+					"slug": "xx-large",
+					"size": "3rem",
+					"name": "XXL",
+					"fluid": {
+						"min": "3rem",
+						"max": "3.75rem"
+					}
+				}
+			]
+		}
+	},
+	"styles": {
+		"blocks": {
+			"core/code": {
+				"color": {
+					"text": "var(--wp--preset--color--contrast)"
+				}
+			},
+			"core/navigation": {
+				"css": "& .wp-block-site-title{ margin:0; font-weight:400;}",
+				"elements": {
+					"link": {
+						"color": {
+							"text": "var(--wp--preset--color--contrast)"
+						},
+						"typography": {
+							"textDecoration": "none"
+						},
+						":hover": {
+							"color": {
+								"text": "var(--wp--preset--color--contrast)"
+							},
+							"typography": {
+								"textDecoration": "none"
+							}
+						},
+						":focus": {
+							"color": {
+								"text": "var(--wp--preset--color--contrast)"
+							}
+						},
+						":active": {
+							"color": {
+								"text": "var(--wp--preset--color--contrast)"
+							}
+						}
+					}
+				}
+			},
+			"core/post-author-name": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--small)"
+				}
+			},
+			"core/post-content": {
+				"spacing": {
+					"margin": {
+						"top": "var(--wp--preset--spacing--60)",
+						"bottom": "var(--wp--preset--spacing--60)"
+					}
+				}
+			},
+			"core/post-date": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--small)"
+				}
+			},
+			"core/post-excerpt": {
+				"elements": {
+					"link": {
+						"typography": {
+							"fontSize": "var(--wp--preset--font-size--small)"
+						}
+					}
+				}
+			},
+			"core/post-featured-image": {
+				"spacing": {
+					"margin": {
+						"bottom": "var(--wp--preset--spacing--40)"
+					}
+				}
+			},
+			"core/post-template": {
+				"spacing": {
+					"padding": {
+						"top": "var(--wp--preset--spacing--50)",
+						"bottom": "var(--wp--preset--spacing--50)"
+					}
+				}
+			},
+			"core/post-terms": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--small)"
+				}
+			},
+			"core/query-pagination": {
+				"spacing": {
+					"padding": {
+						"top": "var(--wp--preset--spacing--50)"
+					}
+				}
+			},
+			"core/search": {
+				"css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper{border: none;}",
+				"typography": {
+					"lineHeight": "1"
+				}
+			}
+		},
+		"color": {
+			"background": "var(--wp--preset--color--base)",
+			"text": "var(--wp--preset--color--contrast)"
+		},
+		"elements": {
+			"button": {
+				"spacing": {
+					"padding": {
+						"top": "var(--wp--preset--spacing--20)",
+						"right": "var(--wp--preset--spacing--20)",
+						"bottom": "var(--wp--preset--spacing--20)",
+						"left": "var(--wp--preset--spacing--20)"
+					}
+				},
+				"border": {
+					"color": "var(--wp--preset--color--transparent)",
+					"width": "4px",
+					"style": "solid",
+					"radius": "4px"
+				},
+				"color": {
+					"background": "var(--wp--preset--color--primary)",
+					"text": "var(--wp--preset--color--base)"
+				},
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--small)",
+					"fontWeight": "700"
+				},
+				"shadow": "var(--wp--preset--shadow--natural)",
+				":hover": {
+					"border": {
+						"color": "var(--wp--preset--color--secondary)"
+					}
+				}
+			},
+			"caption": {
+				"color": {
+					"text": "var(--wp--preset--color--secondary)"
+				}
+			},
+			"cite": {
+				"color": {
+					"text": "var(--wp--preset--color--secondary)"
+				}
+			},
+			"link": {
+				"color": {
+					"text": "var(--wp--preset--color--secondary)"
+				},
+				"typography": {
+					"textDecoration": "none"
+				},
+				":hover": {
+					"color": {
+						"text": "var(--wp--preset--color--primary)"
+					},
+					"typography": {
+						"textDecoration": "none"
+					}
+				},
+				":focus": {
+					"color": {
+						"text": "var(--wp--preset--color--secondary)"
+					}
+				},
+				":active": {
+					"color": {
+						"text": "var(--wp--preset--color--contrast)"
+					}
+				}
+			}
+		},
+		"spacing": {
+			"padding": {
+				"right": "var(--wp--preset--spacing--50)",
+				"left": "var(--wp--preset--spacing--50)"
+			}
+		},
+		"typography": {
+			"fontSize": "var(--wp--preset--font-size--medium)",
+			"fontFamily": "var(--wp--preset--font-family--system)",
+			"lineHeight": "1.7"
+		}
+	},
+	"templateParts": [
+		{
+			"name": "header",
+			"title": "Header",
+			"area": "header"
+		},
+		{
+			"name": "footer",
+			"title": "Footer",
+			"area": "footer"
+		}
+	],
+	"customTemplates": [
+		{
+			"name": "no-title",
+			"title": "No title",
+			"postTypes": [ "post","page" ]
+		},
+		{
+			"name": "no-title-no-padding",
+			"title": "No title No Padding",
+			"postTypes": [ "post","page" ]
+		},
+		{
+			"name": "home",
+			"title": "Home",
+			"postTypes": [ "page" ]
+		}
+	]
+}