mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-13 21:32:23 +00:00
Update hero
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
title: Welcome!
|
||||
subtitle: Leigh Hackspace is a social enterprise created for the benefit of our members and the wider Leigh community.
|
||||
layout: home
|
||||
hero_image: /images/rose_logo.svg
|
||||
---
|
||||
|
||||
{{< rawhtml >}}
|
||||
|
||||
@@ -162,7 +162,8 @@ address {
|
||||
min-height: 240px;
|
||||
|
||||
&-img {
|
||||
margin-bottom: -4.5rem;
|
||||
//margin-bottom: -4.5rem;
|
||||
max-height: 300px;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
|
||||
@@ -18,24 +18,21 @@
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="columns _is-centered is-vcentered">
|
||||
<div class="column is-four-fifths">
|
||||
<div class="column">
|
||||
<div class="columns is-vcentered has-text-centered-mobile">
|
||||
|
||||
<div class="column is-half">
|
||||
<div class="column">
|
||||
{{ block "hero-content" . }}
|
||||
<h1 class="title is-1 has-text-white">{{ .Title }}</h1>
|
||||
<p class="subtitle has-text-white">{{ .Params.subtitle }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<div class="column">
|
||||
{{ if .Params.hero_image }}
|
||||
<div class="column is-half">
|
||||
{{ block "hero-image" . }}
|
||||
{{ if .Params.hero_image }}
|
||||
<img class="hero-img" src="{{ .Params.hero_image }}">
|
||||
{{ end }}
|
||||
<img class="image hero-img" src="{{ .Params.hero_image }}">
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
|
||||
<div id="navbar" class="navbar-menu has-text-centered-touch is-size-5-touch">
|
||||
<div class="navbar-start is-half ">
|
||||
<div class="navbar-start is-half">
|
||||
|
||||
{{- range site.Menus.main }}
|
||||
<a href="{{ .URL }}" class="active navbar-item has-shadow is-size-5">{{ .Name }}</a>
|
||||
|
||||
Reference in New Issue
Block a user