first commit

This commit is contained in:
Robert Austin 2019-02-17 16:55:16 +10:00
commit dcdde20b7c
179 changed files with 16070 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{{$currentNode := .}}
<div class="docs-menu">
<h4>Docs</h4>
<ul>
{{ range (where .Site.Pages "Section" "docs") sort .Site.Pages ".Weight" }}
<li class="{{ if eq .UniqueID $currentNode.UniqueID }}active {{ end }}">
<a href="{{ .URL }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
</div>

View file

@ -0,0 +1,14 @@
<div class="footer">
<div class="container">
<div class="row">
<div class="col-12">
<div class="footer-inner">
<ul class="footer-menu">
<li><a href="{{ .Site.BaseURL }}">Home</a></li>
<li><a href="{{ .Site.BaseURL }}contact">Contact</a></li>
<li class="copyright">© {{ now.Format "2006" }} {{.Site.Title}}</li>
</ul>
</div>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
{{- if .Site.IsServer -}}
<!-- Dont add Google analytics to localhost -->
{{ else }}
{{ $gid := (getenv "HUGO_GOOGLE_ANALYTICS_ID") }}
{{ if $gid }}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{- $gid -}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{- $gid -}}');
</script>
{{ else }}
{{ if .Site.Params.google_analytics_id }}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{- .Site.Params.google_analytics_id -}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{- .Site.Params.google_analytics_id -}}');
</script>
{{ end }}
{{ end}}
{{ end }}

View file

@ -0,0 +1,5 @@
<button id="toggle-main-menu-mobile" class="hamburger hamburger--slider" type="button">
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</button>

View file

@ -0,0 +1,12 @@
<div class='header'>
<div class="container">
<div class="logo">
<a href="{{ .Site.BaseURL }}"><img alt="Figurit Homepage" src="{{ .Site.BaseURL }}images/logo.svg" /></a>
</div>
<div class="logo-mobile">
<a href="{{ .Site.BaseURL }}"><img alt="Figurit Homepage" src="{{ .Site.BaseURL }}images/logo-mobile.svg" /></a>
</div>
{{ partial "main-menu.html" . }}
{{ partial "hamburger.html" . }}
</div>
</div>

View file

@ -0,0 +1,13 @@
<div id="main-menu-mobile" class="main-menu-mobile">
<ul>
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li class="menu-item-{{ .Name | lower }}{{ if $currentPage.IsMenuCurrent "main" . }} active{{ end }}">
<a href="{{.URL}}">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
</li>
{{end}}
</ul>
</div>

View file

@ -0,0 +1,13 @@
<div id="main-menu" class="main-menu">
<ul>
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li class="menu-item-{{ .Name | lower }}{{ if $currentPage.IsMenuCurrent "main" . }} active{{ end }}">
<a href="{{.URL}}">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
</li>
{{end}}
</ul>
</div>

View file

@ -0,0 +1,18 @@
<div class="sub-footer">
<div class="container">
<div class="row">
<div class="col-12">
<div class="sub-footer-inner">
<ul>
<li><strong>Phone: </strong>{{ .Site.Data.contact.phone }}</li>
<li><strong>Email: </strong><a href="mailto:{{ .Site.Data.contact.email }}">
{{ .Site.Data.contact.email }}</a></li>
</ul>
<ul>
<li class="zerostatic"><a href="https://www.zerostatic.io">www.zerostatic.io</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>