forked from markus/AMPERION_Webpage
Refactor SCSS and HTML for improved layout, typography, and call-to-action sections
This commit is contained in:
parent
b62687cac4
commit
5083ef7e3c
6 changed files with 328 additions and 35 deletions
|
|
@ -1,27 +0,0 @@
|
|||
{{ $impressum := site.GetPage "page" "impressum" }}
|
||||
|
||||
{{ with site.GetPage "/" }}
|
||||
{{ with .Params.cta }}
|
||||
<section class="call-to-action bg-1 section-sm overly" style="background-image: url('{{ .bg_image | relURL }}'); position: relative; background-attachment: fixed; background-size: cover;">
|
||||
<div class="overlay-dark"></div> <!-- DAS NEUE OVERLAY -->
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="block" style="position: relative; z-index: 1;">
|
||||
{{ with .title }}<h2>{{ . | markdownify }}</h2>{{ end }}
|
||||
{{ with .content }}<p>{{ . | markdownify }}</p>{{ end }}
|
||||
{{ with .button }}
|
||||
{{ if .enable }}
|
||||
<a class="btn btn-main btn-solid-border" href="mailto:{{ $impressum.Params.email }}">E-mail</a>
|
||||
|
||||
<br>
|
||||
<a class="btn btn-main btn-solid-border" href="tel:{{ index $impressum.Params.telefon }}">TELEFON</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue