summaryrefslogtreecommitdiff
path: root/build-member.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-24 00:01:14 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-24 00:01:14 +0100
commit9eef07b4d64d46947d56ad6e2a83af0414e2845b (patch)
tree7beb0779add10888f2402e5dfc615bca80938e90 /build-member.sh
parent9869ff0a920450bfef9e20b26ff8c1c5f1456507 (diff)
parenta8ce5a48853ec51216d20aa382233448fd8e4cfe (diff)
downloadquatuorbellefeuille.com-9eef07b4d64d46947d56ad6e2a83af0414e2845b.tar.xz
Merge branch 'bio-individuelle-instrument'
Diffstat (limited to 'build-member.sh')
-rwxr-xr-xbuild-member.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/build-member.sh b/build-member.sh
index 3dea3fd..329be0e 100755
--- a/build-member.sh
+++ b/build-member.sh
@@ -27,14 +27,18 @@ EOF
generate-main ()
{
read fullname
- read h1
- read dt
+ read instrument
+ read emph1
+ read emph2
local -r name=$(firstname "${fullname}")
cat <<EOF
-<main>
- <h1 style="${h1}">${fullname}</h1>
- <div id="bio" style="${dt}">
+<main style="--emph1-color: ${emph1}; --emph2-color: ${emph2}">
+ <div class="bio-title">
+ <h1 class="name">${fullname}</h1>
+ <h2 class="instrument">${instrument}</h2>
+ </div>
+ <div class="bio">
EOF
while read line