diff options
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/pricing-table.liquid | 71 | 
1 files changed, 40 insertions, 31 deletions
| 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 @@  <!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> +<div class="box"> +  <p class="title has-text-centered"> +    Pricing Guide +  </p> +  <table class="table is-fullwidth"> +    <thead> +      <tr> +        <th></th> +        {% for each in site.data.prices %} +        <th> +          {{ each.name }} +        </th> +        {% endfor%} +      </tr> +    </thead> -      <td> -        ${{ each.cost.remote }}/hr -      </td> -    </tr> -  </tbody> -</table> -{% endfor %} +    <tbody> +      <tr> +        <th> +          Remote +        </th> +        {% for each in site.data.prices %} +        <td> +          {% if each.cost.remote %} ${{ each.cost.remote }} per hour {% endif %} +        </td> +        {% endfor %} +      </tr> +      <tr> +        <th> +          In-Person +        </th> +        {% for each in site.data.prices %} +        <td> +          {% if each.cost.inperson %} ${{ each.cost.inperson }} per hour {% +          endif %} +        </td> +        {% endfor %} +      </tr> +    </tbody> +  </table> +</div> |