Initial commit

This commit is contained in:
2023-11-05 12:12:07 +00:00
commit 4db9a3fc16
130 changed files with 3504 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{{ define "hero-content" }}
<div class="columns _is-centered is-vcentered has-text-white has-text-centered-mobile">
<div class="column is-full-tablet _is-offset-one-quarter-tablet is-half-desktop">
<h1 class="title is-1 has-text-white">{{ .Title }}</h1>
<p class="subtitle"></p>
<p>{{ .Params.subtitle }}</p>
<p></p>
<div class="columns _is-desktop">
<div class="column is-mobile is-multiline is-fullwidth-mobile is-half-tablet">
<a class="button is-primary is-medium is-fullwidth has-box-shadow" href="/about">Learn more</a>
</div>
<div class="column is-mobile is-multiline is-fullwidth-mobile is-half-tablet">
<a class="button is-primary is-medium is-fullwidth has-box-shadow is-inverted _is-outlined"
href="/membership">Become a member</a>
</div>
</div>
</div>
</div>
{{ end }}
{{ define "content" }}
{{ .Content }}
{{ end }}
{{ define "cta" }}
{{ partial "design/bigcta.html" . }}
{{ end }}

View File

@@ -0,0 +1,36 @@
{{ define "hero" }}
<section id="hero">
<div class="hero has-primary-gradient">
<div class="hero-body">
<div class="container">
<div class="columns is-centered ">
<div class="column is-four-fifths">
<div class="columns is-vcentered has-text-centered-mobile">
<div class="column is-half">
<h1 class="title is-1 has-text-white">{{ .Title }}</h1>
<p class="subtitle has-text-white">{{ .Params.subtitle }}</p>
</div>
<div class="column">
<img class="hero-img" src="/images/hero-img.svg"
onerror="this.onerror=null; this.src= '/user/themes/leighhack/images/hero-img@2x.png'">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{{ end }}
{{ define "content" }}
{{ .Content }}
{{ end }}
{{ define "cta" }}
<p></p>
{{ end }}