Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sections/home.html')
-rw-r--r--layouts/partials/sections/home.html32
1 files changed, 17 insertions, 15 deletions
diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html
index d9f8a72..69ae819 100644
--- a/layouts/partials/sections/home.html
+++ b/layouts/partials/sections/home.html
@@ -21,34 +21,36 @@
{{- end -}}
"
>
- <div class="header-content-inner">
+ <div class="header-content-inner anim-wrapper">
{{ with .title }}
{{/* TODO: use specific class for title? */}}
- <h1>{{ . | markdownify }}</h1>
+ <h1 class="anim zoomIn">{{ . | markdownify }}</h1>
{{ end }}
{{ with .subtitle }}
<h2>{{ . | markdownify }}</h2>
{{ end }}
{{ if .title }}
- <hr class="primary">
+ <hr class="primary anim zoomIn">
{{ end }}
{{ with .text }}
<p>{{ . | markdownify }}</p>
{{ end }}
- {{ if .button_image }}
- <a href="#about" class="btn-image page-scroll">
- <img src={{ .button_image }} />
- </a>
- {{ else if .button_text }}
- <a href="#about" class="btn btn-primary page-scroll">
- {{ .button_text }}<br>
- </a>
- {{ else if .button_icon }}
- {{ with .button_icon }}
- <a href="#about" class="btn-icon btn-primary page-scroll {{ .pack }} {{ .icon }} icon-x6">
+ <div class="anim zoomIn">
+ {{ if .button_image }}
+ <a href="#about" class="btn-image page-scroll">
+ <img src={{ .button_image }} />
</a>
+ {{ else if .button_text }}
+ <a href="#about" class="btn btn-primary page-scroll">
+ {{ .button_text }}<br>
+ </a>
+ {{ else if .button_icon }}
+ {{ with .button_icon }}
+ <a href="#about" class="btn-icon btn-primary page-scroll {{ .pack }} {{ .icon }} icon-x6">
+ </a>
+ {{ end }}
{{ end }}
- {{ end }}
+ </div>
</div>
</div>
</section>