summaryrefslogtreecommitdiff
path: root/_includes/pricing-table.liquid
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-06-26 17:22:38 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-06-26 17:22:38 -0400
commit27f1e57bfbadbb3557d7649567e49a1e89927012 (patch)
tree1bd6e7bbc936ac00098c877489cda54ce3da3927 /_includes/pricing-table.liquid
parent4b174be0ce1412a810996103147f99ecdba11ce2 (diff)
downloadcarpentertutoring-27f1e57bfbadbb3557d7649567e49a1e89927012.tar.xz
carpentertutoring-27f1e57bfbadbb3557d7649567e49a1e89927012.zip
working on new pricing table and blogging system
Diffstat (limited to '_includes/pricing-table.liquid')
-rw-r--r--_includes/pricing-table.liquid33
1 files changed, 33 insertions, 0 deletions
diff --git a/_includes/pricing-table.liquid b/_includes/pricing-table.liquid
new file mode 100644
index 0000000..3772847
--- /dev/null
+++ b/_includes/pricing-table.liquid
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+{% for each in site.data.prices %}
+<table class="table is-striped is-bordered">
+ <thead>
+ <tr>
+ <th colspan="3" class="has-text-centered">
+ {{ each.name }}
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ {% if each.cost.inperson != each.cost.remote %}
+ <tr>
+ <th style="text-align: right;">
+ In-Person
+ </th>
+ <td>
+ ${{ each.cost.inperson}}/hr
+ </td>
+ </tr>
+ {% endif %}
+ <tr>
+ <th style="text-align: right;">
+ Remote
+ </th>
+
+ <td>
+ ${{ each.cost.remote }}/hr
+ </td>
+ </tr>
+ </tbody>
+</table>
+{% endfor %}