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

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlebert <49779177+vlebert@users.noreply.github.com>2021-06-16 22:14:22 +0300
committerGitHub <noreply@github.com>2021-06-16 22:14:22 +0300
commit9004e7c423befaa4a6007561797c99b738a57313 (patch)
treee4cd784aa79d590357292725c5e45c02da45a1dc
parent61e5a341710b18934198cb05efa50992a033cfb1 (diff)
Add greeting subtitle (#350)
* resize skillcards by CSS instead of JS * Revert "resize skillcards by CSS instead of JS" This reverts commit 169e0599e9ff771c1cf58c03fb799c42aac65092. * french translation * add an optionnal greeting subtitle Co-authored-by: vlebert <vlebert@tactis.fr>
-rw-r--r--layouts/partials/sections/home.html3
-rw-r--r--static/css/sections/home.css2
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html
index 4420c85..27ddd31 100644
--- a/layouts/partials/sections/home.html
+++ b/layouts/partials/sections/home.html
@@ -110,6 +110,9 @@
alt="Author Image"
/>
<h1 class="greeting"> {{ $author.greeting }} {{ $name }}</h1>
+ {{ if $author.subtitle }}
+ <h2 class="greeting-subtitle">{{ $author.subtitle }}</h2>
+ {{ end }}
<div class="typing-carousel">
<span id="ityped" class="ityped"></span>
<span class="ityped-cursor"></span>
diff --git a/static/css/sections/home.css b/static/css/sections/home.css
index 893ee3d..b108556 100644
--- a/static/css/sections/home.css
+++ b/static/css/sections/home.css
@@ -45,7 +45,7 @@
margin-bottom: 10px;
}
-.home .greeting {
+.home .greeting, .home .greeting-subtitle {
color: #f9fafc;
}