From e0d597b51c2893f1a35630fa07cc2ccef181511c Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 28 Jun 2020 14:07:17 -0400 Subject: updated pricing table --- _data/prices.yml | 4 +-- _includes/pricing-table.liquid | 71 ++++++++++++++++++++++++------------------ _layouts/index.liquid | 12 ++++--- styles/main.scss | 1 + 4 files changed, 51 insertions(+), 37 deletions(-) diff --git a/_data/prices.yml b/_data/prices.yml index 66777c3..e1aafa4 100644 --- a/_data/prices.yml +++ b/_data/prices.yml @@ -1,4 +1,4 @@ -- name: "Subject, Time Management, and Study Skills Tutoring" +- name: "Subject, Time Management, Study Skills Tutoring" cost: inperson: 60 remote: 50 @@ -12,5 +12,5 @@ remote: 25 - name: "Group Webinars" cost: - inperson: 30 + inperson: remote: 30 diff --git a/_includes/pricing-table.liquid b/_includes/pricing-table.liquid index 3772847..5ea6253 100644 --- a/_includes/pricing-table.liquid +++ b/_includes/pricing-table.liquid @@ -1,33 +1,42 @@ -{% for each in site.data.prices %} - - - - - - - - {% if each.cost.inperson != each.cost.remote %} - - - - - {% endif %} - - +
+

+ Pricing Guide +

+
- {{ each.name }} -
- In-Person - - ${{ each.cost.inperson}}/hr -
- Remote -
+ + + + {% for each in site.data.prices %} + + {% endfor%} + + - - - -
+ {{ each.name }} +
- ${{ each.cost.remote }}/hr -
-{% endfor %} + + + + Remote + + {% for each in site.data.prices %} + + {% if each.cost.remote %} ${{ each.cost.remote }} per hour {% endif %} + + {% endfor %} + + + + In-Person + + {% for each in site.data.prices %} + + {% if each.cost.inperson %} ${{ each.cost.inperson }} per hour {% + endif %} + + {% endfor %} + + + + diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 2c944b8..1bb3562 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -34,7 +34,7 @@ - +
@@ -45,9 +45,6 @@

{{ line }}

{% endfor %}
-
- - {% include "pricing-table.liquid" %}
@@ -89,6 +86,13 @@
+ +
+
+ {% include "pricing-table.liquid" %} +
+
+ {% for offering in site.data.offerings %}