Saved: 2018-03-13 09:37
Torey Heinz
committed Mar 13, 2018
commit f1aeeb8a799cf4cb378ae064d3d9e5604558a2ee
Showing 5
changed files with
66 additions
and 12 deletions
app/views/pages/contact.liquid
+52
-0
| @@ | @@ -0,0 +1,52 @@ |
| + | --- |
| + | title: Contact Us |
| + | handle: contact-us |
| + | slug: contact |
| + | listed: true |
| + | published: true |
| + | is_layout: false |
| + | editable_elements: |
| + | "main/heading": "Contact a Real Person, Who Really Cares." |
| + | "main/content": "Wheither you are ready to get start or still have some questions, feel free to reach out, and we'll assist you anyway we can." |
| + | --- |
| + | {% extends 'layouts/page' %} |
| + | {% block 'main' %} |
| + | {% include 'page_header' %} |
| + | <section class="row page {{ page.slug }}"> |
| + | <div class="column medium-8 small-centered"> |
| + | <div class="callout"> |
| + | <h2 class="text-center">{% editable_text "heading", line_break: false, format: 'raw', rows: 1 %}Heading{% endeditable_text %}</h2> |
| + | {% editable_text content %}Lorem ipsum{% endeditable_text %} |
| + | <hr> |
| + | <div class="row"> |
| + | <div class="column medium-6"> |
| + | <p> |
| + | <strong>Phone:</strong> {% include 'phone_number' %}<br> |
| + | |
| + | <strong>Email:</strong> {% include 'email_address' %}<br> |
| + | </p> |
| + | <p> |
| + | <strong>Addresss:</strong><br> |
| + | {% include 'formatted_address' %}<br> |
| + | |
| + | </p> |
| + | <p> |
| + | {% include 'hours' %} |
| + | </p> |
| + | <div class="responsive-embed"> |
| + | <iframe width="600" height="450" frameborder="0" style="border:0" |
| + | src="https://www.google.com/maps/embed/v1/place?q=place_id:ChIJ9ydA7dCSGYgR9gOaaCWfa1k&key=AIzaSyA0ffMEjozfU9dLu6LV1okQqylnrGHCSok" allowfullscreen> |
| + | </iframe> |
| + | </div> |
| + | |
| + | </div> |
| + | <div class="column medium-6"> |
| + | </div> |
| + | <hr> |
| + | </div> |
| + | {% include 'random_testimonial' %} |
| + | </div> |
| + | </div> |
| + | </div> |
| + | </section> |
| + | {% endblock %} |
app/views/pages/estimate.liquid
+1
-1
| @@ | @@ -2,7 +2,7 @@ |
| title: Estimate | |
| handle: estimate | |
| slug: get-a-free-estimate | |
| - | listed: true |
| + | listed: false |
| published: true | |
| is_layout: false | |
| editable_elements: | |
app/views/pages/layouts/application.liquid
+2
-11
| @@ | @@ -65,10 +65,7 @@ is_layout: true |
| </p> | |
| <p> | |
| - | Hours of Operation:<br> |
| - | Monday through Friday, <br> |
| - | 8:00 AM to 5:00 PM <br> |
| - | Saturdays by Appointment<br> |
| + | {% include 'hours' %} |
| </p> | |
| </div> | |
| <div class="column medium-4 large-3 hide-for-small-only"> | |
| @@ | @@ -96,13 +93,7 @@ Saturdays by Appointment<br> |
| <p class="lead"> | |
| <a href="/testimonials"><u>Testimonials</u></a> | |
| </p> | |
| - | {% assign testimonial_number = contents.testimonials.size | random %} |
| - | <p> |
| - | {% for testimonial in contents.testimonials offset:testimonial_number limit:1 %} |
| - | {{ testimonial.content | truncate: 250 }}<br> |
| - | -- {{ testimonial.who }} |
| - | {% endfor %} |
| - | </p> |
| + | {% include 'random_testimonial' %} |
| </div> | |
| </div> | |
| <p class="lead"> | |
app/views/snippets/hours.liquid
+4
-0
| @@ | @@ -0,0 +1,4 @@ |
| + | <strong>Hours of Operation:</strong><br> |
| + | Monday through Friday,<br> |
| + | 8:00 AM to 5:00 PM <br> |
| + | Saturdays by Appointment<br> |
app/views/snippets/random_testimonial.liquid
+7
-0
| @@ | @@ -0,0 +1,7 @@ |
| + | {% assign testimonial_number = contents.testimonials.size | random %} |
| + | <p> |
| + | {% for testimonial in contents.testimonials offset:testimonial_number limit:1 %} |
| + | {{ testimonial.content | truncate: 250 }}<br> |
| + | -- {{ testimonial.who }} |
| + | {% endfor %} |
| + | </p> |