Initial commit: Add telonma homepage

This commit is contained in:
2024-12-19 13:52:17 +01:00
commit eabd1921ab
222 changed files with 27012 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<section class="col-6 col-12-narrower">
<h3>{{ .header | default "Get In Touch" }}</h3>
<form method="POST" action="{{ .action }}">
<div class="row gtr-50">
<div class="col-6 col-12-mobilep">
<input type="text" name="name" id="name" placeholder="{{ T "contact_name" }}" />
</div>
<div class="col-6 col-12-mobilep">
<input type="email" name="email" id="email" placeholder="{{ T "contact_email" }}" />
</div>
<div class="col-12">
<textarea name="message" id="message" placeholder="{{ T "contact_message" }}" rows="5"></textarea>
</div>
<div class="col-12">
<ul class="actions">
<li><input type="submit" class="button alt" value="{{ T "contact_submit" }}" />
</ul>
</div>
</div>
</form>
</section>

View File

@@ -0,0 +1,47 @@
<div id="footer">
<div class="container">
<div class="row">
{{- if gt (len .Site.Params.footer.links) 0 }}
{{- $link_cols := div (cond .Site.Params.footer.contact_form.enabled 6 12) (len .Site.Params.footer.links) }}
{{- range .Site.Params.footer.links }}
<section class="col-{{ $link_cols }} col-6-narrower col-12-mobilep">
<h3>{{ .header }}</h3>
<ul class="links">
{{- range .links }}
{{- if .pageref -}}
<li><a href="{{ (site.GetPage .pageref).Permalink }}">{{ .title }}</a>
{{- else -}}
<li><a href="{{ .url }}">{{ .title }}</a>
{{- end -}}
{{- end }}
</ul>
</section>
{{- end }}
{{ end }}
{{- if .Site.Params.footer.contact_form.enabled }}
{{- partial "footer/contact.html" .Site.Params.footer.contact_form }}
{{- end }}
</div>
</div>
<ul class="icons">
{{- range .Site.Params.social }}
<li><a href="{{ .url }}" class="{{ if .icon }}icon brands {{ .icon }}{{ end }}">
<span class="label">{{ .title }}</span>
</a>
{{- end }}
</ul>
<div class="copyright">
<ul class="menu">
{{ if .Site.Copyright }}
<li>{{ replace .Site.Copyright "{currentYear}" now.Year }}
{{ end }}
{{- if .Site.Params.attribution | default true }}
<li>Design: <a href="https://html5up.net">HTML5 UP</a>
<li><a href="https://github.com/half-duplex/hugo-arcana">Theme</a>
{{- end }}
</ul>
</div>
</div>