summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-23 20:36:00 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-23 20:36:00 +0100
commit30244bbc9077ac2835540a2228151412f718947f (patch)
tree95ec9345ca55cf176bba8d38b1569dc081cd4082 /src
parenta025b8dbb746b20a434b43d37c4c6855ea73953e (diff)
Nicer committee roles styling
Diffstat (limited to 'src')
-rw-r--r--src/pages/[locale]/index.astro10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro
index b47a045..4a093b7 100644
--- a/src/pages/[locale]/index.astro
+++ b/src/pages/[locale]/index.astro
@@ -52,10 +52,12 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale);
/>
)}
<div class="committee__member__text">
- <h4>{member.name}</h4>
- <p class="italic">
- {member.roles.map((role) => t(tRole, { key: CommitteeRole[role] })).join(', ')}
- </p>
+ <h4>
+ {member.name}
+ <span class="font-weight-lighter">
+ |{member.roles.map((role) => t(tRole, { key: CommitteeRole[role] })).join(', ')}
+ </span>
+ </h4>
{member.bio && <p set:html={member.bio[locale]} />}
</div>
</li>