Update memberships

This commit is contained in:
2023-11-11 10:42:00 +00:00
parent e5fe560671
commit 7270812261
3 changed files with 11 additions and 12 deletions

View File

@@ -1,12 +1,12 @@
# Membership levels, this is used on the website and also presented as JSON for other services to use.
membership_levels:
- name: "Member"
price: "24"
price: 24
description: "Our standard membership that allows usage of the hackspace facilities."
link: "https://pay.gocardless.com/AL00024VQTCKBK"
- name: "Member+"
price: "30"
price: 30
description: "Standard membership with an additional donation."
link: "https://pay.gocardless.com/AL00024VQW2FWQ"
@@ -16,31 +16,30 @@ membership_levels:
link: "https://pay.gocardless.com/AL0002BMN4S3AX"
- name: "Family"
price: "40"
price: 40
description: "A discounted family membership for two adults and two children."
link: "https://pay.gocardless.com/AL000637J3VZP7"
- name: "Day Pass"
price: "5"
period: "per day"
price: 5
period: "daily"
description: "Access to the hackspace's facilities for a day."
link: "mailto:info@leighhack.org?subject=Day%20Pass"
button: "Enquire"
- name: "Patron"
price: "5"
price: 5
description: "Support the hackspace without being a member."
link: "https://pay.gocardless.com/AL000FDGN4Q6AC"
- name: "Business"
price: " POA"
price: 0
description: "Access to the hackspace for a business or community group."
link: "mailto:info@leighhack.org?subject=Corporate%20Membership"
button: "Enquire"
- name: "Creator Pod"
price: " POA"
period: "per month"
price: 0
description: "An enhanced membership which includes a dedicated space for your personal use."
link: "mailto:info@leighhack.org?subject=Artist%20Pod%20Lease"
button: "Enquire"

View File

@@ -7,8 +7,8 @@
<div class="column is-one-quarter">
<div class="box is-large hover-items">
<h3 class="is-size-4 has-text-weight-bold">{{ .name }}</h3>
<div class="is-size-1 has-text-weight-bold pricing-price">£{{ .price }}</div>
<div class="_is-block mt-1 is-size-7 has-text-weight-normal">{{ default "per month" .period }}</div>
<div class="is-size-1 has-text-weight-bold pricing-price">£{{ default " POA" .price }}</div>
<div class="_is-block mt-1 is-size-7 has-text-weight-normal">{{ default "monthly" .period }}</div>
<div class="content mt-5 pricing-description is-size-6">
<p>{{ .description }}</p>
</div>

View File

@@ -2,6 +2,6 @@
{"memberships": [
{{- with $.Site.Data.memberships.membership_levels }}
{{- range $index, $element := . -}}
{ "name": "{{ .name }}", "price": "{{ .price }}", "period": "{{ default "monthly" .period }}", "link": "{{ .link }}"}{{ if ne (add $index 1) $len }},{{ end }}
{ "name": "{{ .name }}", "price": "{{ .price }}", "period": "{{ default "monthly" .period }}", "link": "{{ .link }}", "description": "{{ .description}}"}{{ if ne (add $index 1) $len }},{{ end }}
{{- end }}
{{- end }}]}