feat: tag short-name membri team
This commit is contained in:
@@ -20,7 +20,7 @@ const imgOf = (name: string) => Object.entries(images).find(([p]) => p.includes(
|
||||
return (
|
||||
<figure class="tteam__card" data-reveal style={`--reveal-delay:${i * 0.12}s`}>
|
||||
<TImg tag={`team.${slug}.image`} src={imgOf(m.image!)!} alt={t(`team.${slug}.name`)} widths={[300, 500]} sizes="(max-width: 767px) 50vw, 25vw" />
|
||||
<figcaption>{m.shortName}</figcaption>
|
||||
<T tag={`team.${slug}.short-name`} as="figcaption" />
|
||||
</figure>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user