Selaa lähdekoodia

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>
vlebert 3 vuotta sitten
vanhempi
commit
9004e7c423
2 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 3 0
      layouts/partials/sections/home.html
  2. 1 1
      static/css/sections/home.css

+ 3 - 0
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>

+ 1 - 1
static/css/sections/home.css

@@ -45,7 +45,7 @@
   margin-bottom: 10px;
 }
 
-.home .greeting {
+.home .greeting, .home .greeting-subtitle {
   color: #f9fafc;
 }