Saved: 2018-03-06 18:51
Torey Heinz
committed Mar 07, 2018
commit 43ab2d69d50af2cd8919301a11b96bf67be33276
Showing 8
changed files with
75 additions
and 12 deletions
app/views/pages/layouts/application.liquid
+57
-5
| @@ | @@ -48,19 +48,71 @@ is_layout: true |
| {% endblock %} | |
| </div> | |
| - | <footer class="text-center"> |
| - | <div class="top row expanded"> |
| + | <footer> |
| + | <div class="top row expanded text-center"> |
| + | <div class="row text-left"> |
| + | <div class="column medium-3"> |
| + | <p class="lead"> |
| + | Contact us |
| + | </p> |
| + | <p> |
| + | {% include 'phone_number' %}<br> |
| + | |
| + | {% include 'email_address' %}<br> |
| + | </p> |
| + | <p> |
| + | {% include 'formatted_address' %}<br> |
| + | |
| + | </p> |
| + | <p> |
| + | Hours of Operation:<br> |
| + | Monday through Friday, <br> |
| + | 8:00 AM to 5:00 PM <br> |
| + | Saturdays by Appointment<br> |
| + | </p> |
| + | </div> |
| + | <div class="column medium-3"> |
| + | <p class="lead"> |
| + | Services |
| + | </p> |
| + | <ul> |
| + | {% for service in contents.services limit:8 %} |
| + | <li><a href="{% path_to service %}">{{ service.title }}</a></li> |
| + | {% endfor %} |
| + | </ul> |
| + | </div> |
| + | <div class="column medium-3"> |
| + | <p class="lead"> |
| + | Projects |
| + | </p> |
| + | <ul> |
| + | {% for project in contents.projects limit:8 %} |
| + | <li><a href="{% path_to project %}">{{ project.title }}</a></li> |
| + | {% endfor %} |
| + | </ul> |
| + | |
| + | </div> |
| + | <div class="column medium-3"> |
| + | <p class="lead"> |
| + | Testimonial |
| + | </p> |
| + | <p> |
| + | I saw the new top and windows for my '99 sedan bridge today for the first time and was AMAZED!<br> |
| + | -- Kevin Hitney, Chicago Il |
| + | </p> |
| + | </div> |
| + | </div> |
| <p class="lead"> | |
| - | Canvas Innovations<br> |
| + | Canvas Innovations |
| </p> | |
| <p class="cta"> | |
| <a href="#" class="button"><strong>Get a Free Estimate</strong></a> | |
| </p> | |
| </div> | |
| - | <div class="bottom row expanded"> |
| + | <div class="bottom row expanded text-center"> |
| <p> | |
| <small> | |
| - | You've reached the bottom of the page, please feel free to call if you have any questions: 616-393-4400 |
| + | You've reached the bottom of the page, please feel free to call if you have any questions: {% include 'phone_number' %} |
| </small> | |
| </p> | |
| </div> | |
app/views/snippets/email_address.liquid
+1
-0
| @@ | @@ -0,0 +1 @@ |
| + | <a href="mailto:{{ site.metafields.contact_info.email_address }}">{{ site.metafields.contact_info.email_address }}</a> |
app/views/snippets/formatted_address.liquid
+1
-0
| @@ | @@ -0,0 +1 @@ |
| + | {{ site.metafields.contact_info.formatted_address }} |
app/views/snippets/phone_number.liquid
+1
-0
| @@ | @@ -0,0 +1 @@ |
| + | <a href="tel:+1{{ site.metafields.contact_info.phone_number | remove: '-' }}">{{ site.metafields.contact_info.phone_number }}</a> |
config/metafields_schema.yml
+4
-2
| @@ | @@ -4,7 +4,9 @@ contact_info: |
| fields: | |
| phone_number: | |
| type: string | |
| - | address: |
| + | formatted_address: |
| type: string | |
| - | email: |
| + | simple_address: |
| + | type: string |
| + | email_address: |
| type: string | |
config/site.yml
+3
-2
| @@ | @@ -9,6 +9,7 @@ robots_txt: '' |
| metafields: | |
| contact_info: | |
| phone_number: "616-393-4400" | |
| - | address: "11276 E. Lakewood Blvd., Holland, MI 49424" |
| - | email: "sales@canvasinnovations.us" |
| + | simple_address: "11276 E. Lakewood Blvd., Holland, MI 49424" |
| + | formatted_address: "11276 E. Lakewood Blvd.<br>Holland, MI 49424" |
| + | email_address: "Sales@CanvasInnovations.us" |
| metafields_ui: {} | |
public/stylesheets/_footer.scss
+7
-2
| @@ | @@ -1,11 +1,16 @@ |
| footer { | |
| - | .top { |
| + | color: $white; |
| + | a { |
| color: $white; | |
| + | } |
| + | |
| + | .top { |
| + | // color: $white; |
| background: $black; | |
| } | |
| .bottom { | |
| - | color: $white; |
| + | // color: $white; |
| background: $secondary-color; | |
| p { | |
public/stylesheets/_settings.scss
+1
-1
| @@ | @@ -169,7 +169,7 @@ $code-font-weight: $global-weight-normal; |
| $code-background: $light-gray; | |
| $code-border: 1px solid $medium-gray; | |
| $code-padding: rem-calc(2 5 1); | |
| - | $anchor-color: $primary-color; |
| + | $anchor-color: $secondary-color; |
| $anchor-color-hover: scale-color($anchor-color, $lightness: -14%); | |
| $anchor-text-decoration: none; | |
| $anchor-text-decoration-hover: none; | |