mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 10:22:21 +00:00
Initial commit
This commit is contained in:
19
themes/lhs/layouts/shortcodes/facilities.html
Normal file
19
themes/lhs/layouts/shortcodes/facilities.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<style>
|
||||
.box-height { min-height: 180px; }
|
||||
</style>
|
||||
<div class="columns pricing-tiers is-centered is-multiline">
|
||||
{{- range (where .Site.RegularPages "Section" "facilities") }}
|
||||
<div class="column is-one-quarter">
|
||||
<div class="box is-large hover-items">
|
||||
<div class=""><img src="{{ .Params.icon }}" width="32"></div>
|
||||
<h3 class="is-size-4 has-text-weight-bold">{{ .Title }}</h3>
|
||||
<div class="content mt-5 box-height">
|
||||
<p>{{ .Params.subtitle }}</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<a href="{{ .Permalink }}" class="button is-primary is-medium is-fullwidth has-box-shadow ">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
22
themes/lhs/layouts/shortcodes/memberships.html
Normal file
22
themes/lhs/layouts/shortcodes/memberships.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<style>
|
||||
.box-height { min-height: 180px; }
|
||||
</style>
|
||||
<div class="columns pricing-tiers is-centered is-multiline">
|
||||
{{- with .Site.Params.membership }}
|
||||
{{ range . -}}
|
||||
<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 my-5">£{{ .price }}</div>
|
||||
<div class="_is-block mt-1 is-size-6 has-text-weight-normal">per month</div>
|
||||
<div class="content mt-5 box-height">
|
||||
<p>{{ .description }}</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<a href="{{ .link }}" class="button is-primary is-medium is-fullwidth has-box-shadow ">{{ default "Join Today" .button }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
2
themes/lhs/layouts/shortcodes/rawhtml.html
Normal file
2
themes/lhs/layouts/shortcodes/rawhtml.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<!-- raw html -->
|
||||
{{.Inner}}
|
||||
Reference in New Issue
Block a user