Browse Source

templates

windhamdavid 5 months ago
parent
commit
49714feb09
3 changed files with 27 additions and 39 deletions
  1. 1 1
      parts/header.html
  2. 22 29
      patterns/footer.php
  3. 4 9
      theme.json

+ 1 - 1
parts/header.html

@@ -23,6 +23,6 @@
 <!-- /wp:group -->
 <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"20px","bottom":"20px"}}},"className":"has-contrast-light-color has-contrast-background-color has-background","layout":{"type":"constrained","justifyContent":"center"}} -->
 	<div class="wp-block-group alignwide has-contrast-light-color has-contrast-background-color has-background" style="padding-top:20px;padding-bottom:20px">
-		<!-- 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}}} /-->
+		<!-- wp:navigation {"ref":5,"layout":{"type":"flex","justifyContent":"left","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|50"},"layout":{"selfStretch":"fit","flexSize":null}}} /-->
 	</div>
 <!-- /wp:group -->

+ 22 - 29
patterns/footer.php

@@ -17,8 +17,8 @@
 		<!-- 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":"25%"} -->
-			<div class="wp-block-column" style="flex-basis:25%">
+			<!-- wp:column {"width":"33%"} -->
+			<div class="wp-block-column" style="flex-basis:33%">
 				<!-- wp:heading {"level":4} -->
 				<h4	class="wp-block-heading">Our Location</h4>
 				<!-- /wp:heading -->
@@ -34,52 +34,45 @@
 				<!-- wp:paragraph {"style":{"typography":{"lineHeight":"0","font-size":"1.2rem"}}} -->
 				<p style="font-size:1.2rem;line-height:0">(864)223-0505</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 {"height":"var:preset|spacing|10"} -->
+				<div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div>
 				<!-- /wp:spacer -->
-
 				<!-- wp:buttons -->
 				<div class="wp-block-buttons">
-				<!-- wp:button -->
-				<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://lps.ovid/contact/">Contact Us</a></div>
-				<!-- /wp:button -->
+					<!-- wp:button -->
+					<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://lps.ovid/contact/">Contact Us</a></div>
+					<!-- /wp:button -->
 				</div>
 				<!-- /wp:buttons -->
+				<!-- wp:heading {"level":4} -->
+				<h4	class="wp-block-heading">Follow Us</h4>
+				<!-- /wp:heading -->
+				<!-- wp:social-links {"openInNewTab":true,"className":"is-style-default","layout":{"type":"flex","orientation":"horizontal"}} -->
+				<ul class="wp-block-social-links is-style-default">
+					<!-- wp:social-link {"url":"https://www.facebook.com/PiedmontPlasticSurgery","service":"facebook"} /-->
+					<!-- wp:social-link {"url":"/blog","service":"feed"} /-->
+				</ul>
+				<!-- /wp:social-links -->
 			</div>
 			<!-- /wp:column -->
 		
-			<!-- wp:column {"width":"25%"} -->
-			<div class="wp-block-column" style="flex-basis:25%">
+			<!-- wp:column {"width":"33%"} -->
+			<div class="wp-block-column" style="flex-basis:33%">
 				<!-- wp:heading {"level":4} -->
 				<h4	class="wp-block-heading">Map &amp; Directions</h4>
 				<!-- /wp:heading -->
-					<!-- wp:html -->
-				<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d6601.838437110322!2d-82.16639533638954!3d34.173982965027726!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x88f8018e9e905425%3A0x1f21eac20dd0358e!2sLakelands%20Plastic%20Surgery!5e0!3m2!1sen!2sus!4v1720354612446!5m2!1sen!2sus" width="100%" height="300" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
+				<!-- wp:html -->
+				<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d13203.676868748915!2d-82.157383!3d34.173983!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x88f8018e9e905425%3A0x1f21eac20dd0358e!2sLakelands%20Plastic%20Surgery!5e0!3m2!1sen!2sus!4v1721670522794!5m2!1sen!2sus" width="100%" height="300" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
 				<!-- /wp:html -->
 			</div>
 			<!-- /wp:column -->
 
-				<!-- wp:column {"width":"25%"} -->
-				<div class="wp-block-column" style="flex-basis:25%">
-				<!-- wp:heading {"level":4} -->
-				<h4	class="wp-block-heading">Follow Us</h4>
-				<!-- /wp:heading -->
-				<!-- wp:social-links {"openInNewTab":true,"className":"is-style-default","layout":{"type":"flex","orientation":"vertical"}} -->
-				<ul class="wp-block-social-links is-style-default">
-				<!-- wp:social-link {"url":"https://www.facebook.com/PiedmontPlasticSurgery","service":"facebook"} /-->
-				<!-- wp:social-link {"url":"/blog","service":"feed"} /--></ul>
-				<!-- /wp:social-links -->
-
-			</div>
-			<!-- /wp:column -->
-
-			<!-- wp:column {"width":"25%"} -->
+			<!-- wp:column {"width":"33%"} -->
 			<div class="wp-block-column" style="flex-basis:33%">
 				<!-- wp:heading {"level":4} -->
 				<h4	class="wp-block-heading">Navigation</h4>
 				<!-- /wp:heading -->
-				<!-- wp:navigation {"ref":413,"layout":{"type":"flex","orientation":"vertical"},"style":{"spacing":{"blockGap":"0"}},"fontSize":"medium"} /--></div>
+				<!-- wp:navigation {"ref":413,"layout":{"type":"flex","orientation":"vertical"},"style":{"spacing":{"blockGap":"0"}},"fontSize":"medium"} /-->
 			</div>
 			<!-- /wp:column -->
 

+ 4 - 9
theme.json

@@ -16,18 +16,18 @@
 			"defaultPalette": false,
 			"palette": [
 				{
-					"slug": "base",
+					"slug": "white",
 					"color": "#FFFFFF",
 					"name": "Base"
 				},
         {
 					"slug": "black",
 					"color": "#000000",
-					"name": "Base"
+					"name": "White"
 				},
 				{
 					"slug": "contrast",
-					"color": "#5D6168",
+					"color": "#001A40",
 					"name": "Contrast"
 				},
 				{
@@ -37,7 +37,7 @@
 				},
 				{
 					"slug": "primary",
-					"color": "#009C9F",
+					"color": "#19448c",
 					"name": "Primary"
 				},
 				{
@@ -55,11 +55,6 @@
 					"color": "#19448c",
 					"name": "Secondary Dark"
 				},
-				{
-					"slug": "highlight",
-					"color": "#faa819",
-					"name": "Highlight"
-				},
 				{
 					"slug": "transparent",
 					"color": "transparent",