feat: tag short-name membri team

This commit is contained in:
2026-07-05 16:33:39 +02:00
parent d5b19f2c39
commit b84463c9df
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -96,7 +96,7 @@ export const prerender = true;
return (
<article class="tcard">
{m.imageAbout && imgOf(m.imageAbout) && <TImg tag={`team.${slug}.image-about`} src={imgOf(m.imageAbout)!} alt={m.name} widths={[300, 500]} sizes="(max-width:767px) 100vw, 33vw" />}
<h3>{m.shortName}</h3>
<T tag={`team.${slug}.short-name`} as="h3" />
<T tag={`team.${slug}.role`} as="p" class="tcard__role" />
<T tag={`team.${slug}.bio`} as="p" />
</article>
@@ -110,7 +110,7 @@ export const prerender = true;
return (
<article class="tcard">
{m.imageAbout && imgOf(m.imageAbout) && <TImg tag={`team.${slug}.image-about`} src={imgOf(m.imageAbout)!} alt={m.name} widths={[300, 500]} sizes="(max-width:767px) 100vw, 33vw" />}
<h3>{m.shortName}</h3>
<T tag={`team.${slug}.short-name`} as="h3" />
<T tag={`team.${slug}.role`} as="p" class="tcard__role" />
<T tag={`team.${slug}.bio`} as="p" />
</article>