Browse Source

templates, parts, patterns

windhamdavid 5 months ago
parent
commit
c1f412b4b0
5 changed files with 32 additions and 4 deletions
  1. 10 0
      parts/header.html
  2. 1 1
      patterns/footer.php
  3. 18 0
      patterns/hidden-post-meta.php
  4. 1 1
      templates/single.html
  5. 2 2
      theme.json

+ 10 - 0
parts/header.html

@@ -7,6 +7,16 @@
 			<!-- wp:site-logo {"width":400} /-->
 		</div>
 		<!-- /wp:group -->
+		<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
+			<div class="wp-block-group">
+				<!-- wp:paragraph {"fontSize":"small"} -->
+				<p class="has-small-font-size">305 W Alexander Ave #A | Greenwood, SC 29646</p>
+				<!-- /wp:paragraph -->
+				<!-- wp:paragraph {"fontSize":"medium"} -->
+				<p class="has-medium-font-size">864-223-0505</p>
+				<!-- /wp:paragraph -->
+			</div>
+	<!-- /wp:group -->
 	<!-- wp:navigation {"ref":5,"layout":{"type":"flex","justifyContent":"left","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|40"},"layout":{"selfStretch":"fit","flexSize":null}}} /-->
 	</div>
 	<!-- /wp:group -->

+ 1 - 1
patterns/footer.php

@@ -24,7 +24,7 @@
 			<!-- wp:column {"width":"50%"} -->
 			<div class="wp-block-column" style="flex-basis:50%">
 
-				<!-- wp:image {"id":385,"width":"160px","height":"auto","sizeSlug":"full","linkDestination":"none"} -->
+				<!-- wp:image {"id":385,"width":"300px","height":"auto","sizeSlug":"full","linkDestination":"none"} -->
 				<figure class="wp-block-image size-full is-resized"><img src="https://lps.ovid/wp-content/uploads/lps_logo.png" alt="" class="wp-image-385" style="width:300px;height:auto"/></figure>
 				<!-- /wp:image -->
 

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

@@ -0,0 +1,18 @@
+<?php
+/**
+ * Title: Post meta
+ * Slug: lps/hidden-post-meta
+ * Inserter: no
+ */
+?>
+
+<!-- wp:group {"layout":{"type":"constrained"}} -->
+<div class="wp-block-group">
+	<!-- wp:group {"style":{"spacing":{"blockGap":"0.3em"}},"layout":{"type":"flex","justifyContent":"left"}} -->
+	<div class="wp-block-group">
+		<!-- wp:post-date {"format":"M j, Y","isLink":true} /-->
+
+	</div>
+	<!-- /wp:group -->
+</div>
+<!-- /wp:group -->

+ 1 - 1
templates/single.html

@@ -7,7 +7,7 @@
 	<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
 	<div class="wp-block-group alignfull">
 		<!-- wp:post-title {"level":1,"className":"has-secondary-color"} /-->
-		<!-- wp:pattern {"slug":"gwp/hidden-post-meta"} /-->
+		<!-- wp:pattern {"slug":"lps/hidden-post-meta"} /-->
 	</div>
 	<!-- /wp:group -->
 	<!-- wp:post-content {"layout":{"type":"constrained"}} /-->

+ 2 - 2
theme.json

@@ -135,10 +135,10 @@
 				},
 				{
 					"slug": "large",
-					"size": "1.5rem",
+					"size": "1.3rem",
 					"name": "Large",
 					"fluid": {
-						"min": "1.75rem",
+						"min": "1.3rem",
 						"max": "2rem"
 					}
 				},