mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 18:32:37 +00:00
Initial commit
This commit is contained in:
31
themes/lhs/layouts/page/home.html
Normal file
31
themes/lhs/layouts/page/home.html
Normal 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 }}
|
||||
36
themes/lhs/layouts/page/membership.html
Normal file
36
themes/lhs/layouts/page/membership.html
Normal 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 }}
|
||||
Reference in New Issue
Block a user